|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is implemented to define different value editors depending on the type of the value to edit.
Method Summary | |
void |
commit()
Commits the changes in this editor. |
Object |
getValue()
Gets the value of the edited object. |
boolean |
isEnabled()
|
void |
onSetFocus(Object extraOption)
Called when the focus is given to the editor |
void |
setEditedType(ClassItem type)
Sets the type of the edited value |
void |
setEmbedded(boolean isEmbedded)
Sets wether the editor is embedded in a view. |
void |
setEnabled(boolean enabled)
|
Methods inherited from interface org.objectweb.jac.aspects.gui.FieldView |
getField, getSubstance, setAutoUpdate, setField, setSubstance, setValue |
Methods inherited from interface org.objectweb.jac.aspects.gui.View |
close, getContext, getDescription, getFactory, getLabel, getMessage, getParentView, getRootView, getStyle, getViewBorder, isClosed, isDescendantOf, setContext, setDescription, setFactory, setFocus, setLabel, setMessage, setParentView, setSize, setStyle, setViewBorder |
Methods inherited from interface org.objectweb.jac.aspects.gui.ViewIdentity |
equalsView, equalsView, getParameters, getType, setParameters, setType |
Method Detail |
public Object getValue()
public void setEmbedded(boolean isEmbedded)
public void onSetFocus(Object extraOption)
extraOption
- an optional parameterpublic void commit()
public boolean isEnabled()
public void setEnabled(boolean enabled)
public void setEditedType(ClassItem type)
type
- the type of the edited value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |