|
JAC project AOPSYS CEDRIC & LIP6 labs |
|||||||||
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 | +--org.objectweb.jac.aspects.gui.swing.SwingPanelView
Field Summary |
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 org.objectweb.jac.aspects.gui.PanelView |
LEFT, LOWER, LOWER_LEFT, LOWER_RIGHT, RIGHT, UPPER, UPPER_LEFT, UPPER_RIGHT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
SwingPanelView(ViewFactory factory,
int subPanesCount,
int geometry,
Map paneContainers,
boolean[] scrollings,
Map splitterLocations)
|
Method Summary | |
void |
addView(View component,
Object extraInfo)
Adds a view. |
void |
close()
Close this view. |
protected void |
construct()
|
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 |
setSplitterLocation(int splitterId,
float location)
Sets a splitter location. |
Methods inherited from class org.objectweb.jac.aspects.gui.swing.AbstractCompositeView |
addHorizontalStrut, addVerticalStrut, addView, removeView, setContext |
Methods inherited from class org.objectweb.jac.aspects.gui.swing.AbstractView |
getContext, getDescription, getFactory, getLabel, getMessage, getParameters, getParentView, getRootView, getStyle, getType, getViewBorder, 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.CompositeView |
addHorizontalStrut, addVerticalStrut, addView, removeView |
Methods inherited from interface org.objectweb.jac.aspects.gui.View |
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 |
Constructor Detail |
public SwingPanelView(ViewFactory factory, int subPanesCount, int geometry, Map paneContainers, boolean[] scrollings, Map splitterLocations)
Method Detail |
protected void construct()
public void setSplitterLocation(int splitterId, float location)
PanelView
The splitter is referenced by its index going from the front-end splitter to the back-end splitters. For instance, in the case of a 3 sub-panel window, the 0 index references the splitter that splits the main window in two, the 1 index, the one that splits the half-window in two other smaller parts.
setSplitterLocation
in interface PanelView
location
- the position in pixel, regarding to the top/left
component, a negative value means that the splitter should be
set at the preferred sized of the inner componentspublic void addView(View component, Object extraInfo)
addView
in interface CompositeView
addView
in class AbstractCompositeView
component
- the view to addextraInfo
- some positionning infos on where the component
should be added in the compositepublic Collection getViews()
CompositeView
getViews
in interface CompositeView
getViews
in class AbstractCompositeView
public View getView(Object id)
CompositeView
getView
in interface CompositeView
getView
in class AbstractCompositeView
public void close()
View
close
in interface View
close
in class AbstractCompositeView
public void removeAllViews()
CompositeView
removeAllViews
in interface CompositeView
removeAllViews
in class AbstractCompositeView
|
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 |