|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines value semantics for views whose primary displayed information derives from a one or more discreet values. In many cases, these values will ultimately come from an associated, or bound, model. We currently leave the mechanics of association of model to display field to derived interfaces or implementations.
Additionally, a display field can be configured via a DisplayFieldDescriptor
. This descriptor pattern allows developers to set and get many attributes
of a display field simply, without having to expand the display field interface for
every additional attribute.
Model
Fields inherited from interface com.iplanet.jato.view.View |
QUALIFIED_VIEW_NAME_SEPARATOR |
Method Summary | |
DisplayFieldDescriptor |
getDescriptor()
Returns the DisplayFieldDescriptor |
java.lang.Object |
getValue()
Returns the current value of this view. |
java.lang.Object[] |
getValues()
Returns this view's current set of values. |
void |
setValue(java.lang.Object aValue)
Sets the current value of this view. |
void |
setValues(java.lang.Object[] aValue)
Sets this view's current set of values. |
java.lang.String |
stringValue()
This method returns either the toString() representation of a non-null displayField's value, or a blank string whenever the value is null |
Methods inherited from interface com.iplanet.jato.view.View |
getName, getParent, getQualifiedName, setParent |
Method Detail |
public java.lang.Object getValue()
public java.lang.String stringValue()
public void setValue(java.lang.Object aValue)
value
- The value to set in this viewpublic java.lang.Object[] getValues()
public void setValues(java.lang.Object[] aValue)
values
- The set of values to set in this viewpublic DisplayFieldDescriptor getDescriptor()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |