|
JAC project AOPSYS CEDRIC & LIP6 labs |
|||||||||
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, 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, setHeight, setLabel, setMessage, setParentView, setStyle, setViewBorder, setWidth, validate |
Methods inherited from interface org.objectweb.jac.aspects.gui.ViewIdentity |
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()
|
Contact JAC development team: Renaud Pawlak Lionel Seinturier Laurent Martelli |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |