|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface implements common methods for view of collections.
Method Summary | |
CollectionModel |
getCollectionModel()
Gets the associated collection model. |
boolean |
isEditor()
Tells wether the view allows to edit the collection (i.e it has add/remove buttons) |
void |
setEditor(boolean isEditor)
Set the "editability" of the view. |
void |
setSelected(int index)
Sets the selected index of the collection view. |
void |
updateModel(Object substance)
Updates the collection model |
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 void setSelected(int index)
index
- the new selected indexpublic CollectionModel getCollectionModel()
public void updateModel(Object substance)
public boolean isEditor()
setEditor(boolean)
public void setEditor(boolean isEditor)
isEditor()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |