Package org.zkoss.pivot.impl
Class AbstractCalculator<C extends Context<C>>
- java.lang.Object
-
- org.zkoss.pivot.impl.AbstractCalculator<C>
-
- All Implemented Interfaces:
Calculator,ContextualCalculator<C>
public abstract class AbstractCalculator<C extends Context<C>> extends Object implements ContextualCalculator<C>
The skeleton to implementContextualCalculator.- Author:
- simonpai
-
-
Constructor Summary
Constructors Constructor Description AbstractCalculator(String label, String labelKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabel()StringgetLabelKey()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.zkoss.pivot.impl.calc.ContextualCalculator
getContextType, getResult
-
-
-
-
Method Detail
-
getLabel
public String getLabel()
- Specified by:
getLabelin interfaceCalculator
-
getLabelKey
public String getLabelKey()
- Specified by:
getLabelKeyin interfaceCalculator
-
-