|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
V - Type of object for the viewpublic interface FieldDescriptor<V>
Field definition.
| Method Summary | |
|---|---|
Field<V> |
createField(GUIView<V> view)
Creates a field. |
ActionFactory |
getActionFactory()
Returns the action factory |
String |
getConstraint()
Layout constraint for the field. |
DisplayStateHandler |
getDisplayStateHandler()
Gets the display state handler. |
String |
getName()
Name for the field. |
Style |
getStyle()
Returns the style to apply on the field component |
TransferHandler |
getTransferHandler()
Returns the transfer handler associated with this field. |
void |
onInit(Field<V> field)
Called when the field view is created. |
void |
onShow(Field<V> field)
Called when the field is shown for the user. |
void |
setDisplayState(Field<V> field,
JComponent component,
DisplayState displayState)
Sets the display state of the field |
| Method Detail |
|---|
Field<V> createField(GUIView<V> view)
view - Owning view
ActionFactory getActionFactory()
String getConstraint()
DisplayStateHandler getDisplayStateHandler()
String getName()
Style getStyle()
null if none is to be applied.TransferHandler getTransferHandler()
nullJComponent.setTransferHandler(TransferHandler)void onInit(Field<V> field)
field - Field that is createdvoid onShow(Field<V> field)
field - Field that is shown
void setDisplayState(Field<V> field,
JComponent component,
DisplayState displayState)
field - Fieldcomponent - Decorated field componentdisplayState -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||