|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.field.support.AbstractField<V>
V - type of object for the viewpublic abstract class AbstractField<V>
Abstract field definition.
| Constructor Summary | |
|---|---|
AbstractField(GUIView<V> view,
FieldDescriptor<V> fieldDescriptor)
Constructor. |
|
| Method Summary | |
|---|---|
ActionContext |
getActionContext()
Gets the action context for this field |
JComponent |
getCoreComponent()
|
FieldDescriptor<V> |
getFieldDescriptor()
Gets the field descriptor. |
Object |
getProperty(Object key)
Retrieves a property from this view |
GUIView<V> |
getView()
Gets the view. |
protected void |
setActionContext(ActionContext actionContext)
Sets the action context. |
void |
setProperty(Object key,
Object value)
Attaches a property to the view. |
| 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.Field |
|---|
getFieldComponent |
| Constructor Detail |
|---|
public AbstractField(GUIView<V> view,
FieldDescriptor<V> fieldDescriptor)
view - Owning viewfieldDescriptor - Associated descriptor| Method Detail |
|---|
public ActionContext getActionContext()
getActionContext in interface Field<V>public JComponent getCoreComponent()
getCoreComponent in interface Field<V>public FieldDescriptor<V> getFieldDescriptor()
getFieldDescriptor in interface Field<V>public Object getProperty(Object key)
getProperty in interface PropertyContainerkey - Property key
null if not definedpublic GUIView<V> getView()
getView in interface Field<V>protected void setActionContext(ActionContext actionContext)
actionContext - the new action context
public void setProperty(Object key,
Object value)
value is
null, the property will be removed from the view instead.
setProperty in interface PropertyContainerkey - Property keyvalue - Property value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||