|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Common interface for an algorithm to calculate the value of a
CalculatedField
.
Method Summary | |
Object |
calculate(Form form,
Widget parent,
Datatype datatype)
Performs the actual calculation. |
Iterator |
getTriggerWidgets()
Returns an iterator on trigger widget paths. |
boolean |
isSuitableFor(Datatype dataType)
Checks wether this algorithm is able to return the given datatype. |
Method Detail |
public boolean isSuitableFor(Datatype dataType)
dataType
- The target datatype.
public Object calculate(Form form, Widget parent, Datatype datatype)
form
- The form.parent
- The parent widget of the CalculatedField
widget (may be the same as form)datatype
- The target datatype.
CalculatedField
.public Iterator getTriggerWidgets()
CalculatedField
value must be recalculated.
WidgetFinder
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |