|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--org.objectweb.jac.aspects.gui.swing.AbstractView
|
+--org.objectweb.jac.aspects.gui.swing.AbstractCompositeView
| Field Summary |
| Fields inherited from class org.objectweb.jac.aspects.gui.swing.AbstractView |
closed |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
AbstractCompositeView()
|
|
| 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 view)
Adds a component view in the composite. |
void |
addView(View view,
Object extraInfo)
Adds a component view in the composite. |
void |
close(boolean validate)
Close this view. |
boolean |
containsView(String viewType,
Object[] parameters)
Tells wether the composite view contains a view with some given view type and paramters |
View |
getView(Object id)
Gets a component view from an id object. |
Collection |
getViews()
Gets all the component views in this composite. |
void |
removeAllViews(boolean validate)
Removes all the views in this composite. |
void |
removeView(View component,
boolean validate)
Removes a component view in this composite. |
void |
setContext(DisplayContext context)
Sets the display context for this view. |
| Methods inherited from class org.objectweb.jac.aspects.gui.swing.AbstractView |
equalsView, equalsView, getContext, getDescription, getFactory, getLabel, getMessage, getParameters, getParentView, getRootView, getStyle, getType, getViewBorder, invokeInContext, isClosed, isDescendantOf, setDescription, setFactory, setFocus, setHeight, setLabel, setMessage, setParameters, setParentView, setStyle, setType, setViewBorder, setWidth, toString |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.objectweb.jac.aspects.gui.View |
getContext, getDescription, getFactory, getLabel, getMessage, getParentView, getRootView, getStyle, getViewBorder, isClosed, isDescendantOf, setDescription, setFactory, setFocus, setHeight, setLabel, setMessage, setParentView, setStyle, setViewBorder, setWidth |
| Methods inherited from interface org.objectweb.jac.aspects.gui.ViewIdentity |
equalsView, equalsView, getParameters, getType, setParameters, setType |
| Constructor Detail |
public AbstractCompositeView()
| Method Detail |
public void setContext(DisplayContext context)
ViewThe display context contains the factory that is used for this view.
setContext in interface ViewsetContext in class AbstractView
public void addView(View view,
Object extraInfo)
CompositeView
addView in interface CompositeViewview - the component viewextraInfo - some positionning infos on where the component
should be added in the compositepublic void addView(View view)
CompositeView
addView in interface CompositeViewview - the component viewpublic void addHorizontalStrut(int width)
CompositeView
addHorizontalStrut in interface CompositeViewpublic void addVerticalStrut(int height)
CompositeView
addVerticalStrut in interface CompositeViewpublic Collection getViews()
CompositeView
getViews in interface CompositeViewpublic View getView(Object id)
CompositeView
getView in interface CompositeView
public boolean containsView(String viewType,
Object[] parameters)
CompositeView
containsView in interface CompositeViewviewType - the type of the view to look forparameters - the parameters of the view to look for
public void removeView(View component,
boolean validate)
CompositeView
removeView in interface CompositeViewcomponent - the component view to removevalidate - wether to validate values in editorspublic void removeAllViews(boolean validate)
CompositeView
removeAllViews in interface CompositeViewvalidate - wether to validate values in editorspublic void close(boolean validate)
View
close in interface Viewclose in class AbstractView
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||