|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.bus.bean.Bean
net.sf.doolin.gui.field.AbstractFieldDescriptor<V>
V - Type of object for the viewpublic abstract class AbstractFieldDescriptor<V>
Abstract field descriptor.
| Constructor Summary | |
|---|---|
AbstractFieldDescriptor()
|
|
| Method Summary | |
|---|---|
ActionFactory |
getActionFactory()
Returns the action factory |
String |
getConstraint()
Gets the constraint. |
DisplayStateHandler |
getDisplayStateHandler()
Gets the display state handler. |
IconService |
getIconService()
Gets the IconService service that is used to access icons. |
String |
getName()
Name for the field. |
Style |
getStyle()
Returns the style |
TransferHandler |
getTransferHandler()
Returns the transfer handler associated with this field. |
void |
onInit(Field<V> field)
Does nothing. |
void |
onShow(Field<V> field)
Does nothing. |
void |
setActionFactory(ActionFactory actionFactory)
Sets the action factory for the creation of action-related components. |
void |
setConstraint(String constraint)
Sets the constraint for the layout. |
void |
setDisplayState(Field<V> field,
JComponent component,
DisplayState displayState)
Sets the display state of the field |
void |
setDisplayStateHandler(DisplayStateHandler displayStateHandler)
Sets the display state handler. |
void |
setIconService(IconService iconService)
Sets the IconService service that is used to access the icons. |
void |
setName(String name)
Sets the name for the field. |
void |
setStyle(Style style)
Sets the style for the component |
void |
setTransferHandler(TransferHandler transferHandler)
Sets the transfer handler for this field. |
| Methods inherited from class net.sf.doolin.bus.bean.Bean |
|---|
getBeanNotificationSupport, getParentBean, notify, setParentBean |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.doolin.gui.field.FieldDescriptor |
|---|
createField |
| Constructor Detail |
|---|
public AbstractFieldDescriptor()
| Method Detail |
|---|
public ActionFactory getActionFactory()
FieldDescriptor
getActionFactory in interface FieldDescriptor<V>public String getConstraint()
getConstraint in interface FieldDescriptor<V>public DisplayStateHandler getDisplayStateHandler()
FieldDescriptor
getDisplayStateHandler in interface FieldDescriptor<V>public IconService getIconService()
IconService service that is used to access icons.
public String getName()
FieldDescriptor
getName in interface FieldDescriptor<V>public Style getStyle()
getStyle in interface FieldDescriptor<V>public TransferHandler getTransferHandler()
FieldDescriptor
getTransferHandler in interface FieldDescriptor<V>nullJComponent.setTransferHandler(TransferHandler)public void onInit(Field<V> field)
onInit in interface FieldDescriptor<V>field - Field that is createdpublic void onShow(Field<V> field)
onShow in interface FieldDescriptor<V>field - Field that is shownpublic void setActionFactory(ActionFactory actionFactory)
actionFactory - Action factorypublic void setConstraint(String constraint)
constraint - the new constraint
public void setDisplayState(Field<V> field,
JComponent component,
DisplayState displayState)
FieldDescriptor
setDisplayState in interface FieldDescriptor<V>field - Fieldcomponent - Decorated field componentpublic void setDisplayStateHandler(DisplayStateHandler displayStateHandler)
displayStateHandler - the new display state handlerpublic void setIconService(IconService iconService)
IconService service that is used to access the icons.
Note:It is Autowired by the Spring configuration.
iconService - Icon servicepublic void setName(String name)
name - Field namepublic void setStyle(Style style)
style - Stylepublic void setTransferHandler(TransferHandler transferHandler)
transferHandler - Transfer handler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||