|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CalculatedFieldAlgorithm
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 |
---|
boolean isSuitableFor(Datatype dataType)
dataType
- The target datatype.
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
.Iterator getTriggerWidgets()
CalculatedField
value must be recalculated.
WidgetFinder
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |