edu.washington.cs.supple.render.utility
Class BooleanFactor
java.lang.Object
edu.washington.cs.supple.render.utility.Factor
edu.washington.cs.supple.render.utility.BooleanFactor
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class BooleanFactor
- extends Factor
- Author:
- kgajos
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BooleanFactor
public BooleanFactor(java.lang.String name,
FactorWeight weight,
java.lang.Class widgetType)
- Parameters:
name - weight - widgetType -
BooleanFactor
public BooleanFactor(java.lang.String name,
FactorWeight weight,
java.lang.Class[] widgetTypes)
- Parameters:
name - weight - widgetTypes -
getValue
public double getValue(SuppleType type,
UiObject object,
WidgetDescriptor descriptor)
- Description copied from class:
Factor
- Returns the value of this factor
- Specified by:
getValue in class Factor
- Parameters:
type - underlying supple typeobject - underlying ui objectdescriptor - descriptor of the widget to apply this factor to
- Returns:
- the value of this factor