|
JAC project AOPSYS CEDRIC & LIP6 labs |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This view is a composite view (i.e. a view that can contains other view). View and CompositeView follow the GoF composite pattern.
Method Summary | |
void |
addHorizontalStrut(int width)
Adds an horizontal separator in the composite in order to insert blanks between components. |
void |
addVerticalStrut(int height)
Adds a vertical separator in the composite in order to insert blanks between components. |
void |
addView(View component)
Adds a component view in the composite. |
void |
addView(View component,
Object extraInfos)
Adds a component view in the composite. |
View |
getView(Object id)
Gets a component view from an id object. |
Collection |
getViews()
Gets all the component views in this composite. |
void |
removeAllViews()
Removes all the views in this composite. |
void |
removeView(View component)
Removes a component view in this composite. |
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 addView(View component, Object extraInfos)
component
- the component viewextraInfos
- some positionning infos on where the component
should be added in the compositepublic void addView(View component)
component
- the component viewpublic void addHorizontalStrut(int width)
public void addVerticalStrut(int height)
public View getView(Object id)
public Collection getViews()
public void removeView(View component)
component
- the component view to removepublic void removeAllViews()
|
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 |