|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static String |
LEFT
The panel is on the left (when 2-3 panels) |
static String |
LOWER
The panel is on the bottom (when 2-3 panels) |
static String |
LOWER_LEFT
The panel is on the bottom-left (when 3-4 panels) |
static String |
LOWER_RIGHT
The panel is on the bottom-right (when 3-4 panels) |
static String |
RIGHT
The panel is on the right (when 2-3 panels) |
static String |
UPPER
The panel is on the top (when 2-3 panels) |
static String |
UPPER_LEFT
The panel is on the top-left (when 3-4 panels) |
static String |
UPPER_RIGHT
The panel is on the top-right (when 3-4 panels) |
Method Summary | |
void |
setSplitterLocation(int splitterId,
float location)
Sets a splitter location. |
Methods inherited from interface org.objectweb.jac.aspects.gui.CompositeView |
addHorizontalStrut, addVerticalStrut, addView, addView, containsView, getView, getViews, removeAllViews, removeView |
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 |
Field Detail |
public static final String UPPER
public static final String LOWER
public static final String RIGHT
public static final String LEFT
public static final String UPPER_LEFT
public static final String UPPER_RIGHT
public static final String LOWER_LEFT
public static final String LOWER_RIGHT
Method Detail |
public void setSplitterLocation(int splitterId, float location)
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.
splitterId
- the splitter's indexlocation
- 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 components
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |