org.apache.cocoon.forms.formmodel.algorithms
Class AbstractBaseAlgorithm
java.lang.Object
org.apache.cocoon.forms.formmodel.algorithms.AbstractBaseAlgorithm
- All Implemented Interfaces:
- CalculatedFieldAlgorithm
- Direct Known Subclasses:
- SimpleFormula
- public abstract class AbstractBaseAlgorithm
- extends Object
- implements CalculatedFieldAlgorithm
Abstract base class for algorithms.
This class implements the getTriggerWidgets method and holds the triggers list.
- Version:
- $Id: AbstractBaseAlgorithm.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
triggers
protected List triggers
AbstractBaseAlgorithm
public AbstractBaseAlgorithm()
getTriggerWidgets
public Iterator getTriggerWidgets()
- Description copied from interface:
CalculatedFieldAlgorithm
- Returns an iterator on trigger widget paths. When the value of a trigger widget changes,
then the
CalculatedField
value must be recalculated.
- Specified by:
getTriggerWidgets
in interface CalculatedFieldAlgorithm
- Returns:
- An iterator of Strings representing widget paths as interpreted by
WidgetFinder
.
addTrigger
public void addTrigger(String widget)
clearTriggers
public void clearTriggers()
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.