com.iplanet.jato.view
Interface BooleanDisplayField
- All Superinterfaces:
- DisplayField, View
- All Known Implementing Classes:
- BooleanDisplayFieldImpl, CheckBox
- public interface BooleanDisplayField
- extends DisplayField
A display field that quantizes its values into a boolean true
or false state.
- Version:
- JATO/1.2.2 $Id: BooleanDisplayField.java,v 1.4 2002/03/16 03:26:39 todd Exp $
|
Method Summary |
boolean |
booleanValue()
Returns the boolean state of the field derived from the current
value. |
java.lang.Object |
getFalseValue()
Returns the value judged to represent a negative value of this
field. |
java.lang.Object |
getTrueValue()
Returns the value judged to represent a positive value of this
field. |
booleanValue
public boolean booleanValue()
- Returns the boolean state of the field derived from the current
value. Generally, if the current value available from
DisplayField.getValue() matches the value of
getTrueValue(), this method will return true.
getTrueValue
public java.lang.Object getTrueValue()
- Returns the value judged to represent a positive value of this
field. Generally, if the current value available from
DisplayField.getValue() matches the return from this method,
the booleanValue() should return true.
getFalseValue
public java.lang.Object getFalseValue()
- Returns the value judged to represent a negative value of this
field. Generally, if the current value available from
DisplayField.getValue() matches the return from this method,
the booleanValue() should return false.