com.threerings.opengl.gui.layout
Class VGroupLayout
java.lang.Object
com.threerings.opengl.gui.layout.LayoutManager
com.threerings.opengl.gui.layout.GroupLayout
com.threerings.opengl.gui.layout.VGroupLayout
public class VGroupLayout
- extends GroupLayout
Handles vertically laid out groups.
- See Also:
GroupLayout
| Fields inherited from class com.threerings.opengl.gui.layout.GroupLayout |
BOTTOM, CENTER, CONSTRAIN, DEFAULT_GAP, EQUALIZE, FIXED, LEFT, NONE, RIGHT, STRETCH, TOP |
|
Method Summary |
Dimension |
computePreferredSize(Container target,
int whint,
int hhint)
Computes the preferred size for the supplied container, based on the
preferred sizes of its children and the layout policy implemented by
this manager. |
void |
layoutContainer(Container target)
Effects the layout policy of this manager on the supplied target,
adjusting the size and position of its children based on the size and
position of the target at the time of this call. |
| Methods inherited from class com.threerings.opengl.gui.layout.GroupLayout |
addLayoutComponent, getConstraints, getGap, getJustification, getOffAxisJustification, getOffAxisPolicy, getPolicy, makeHBox, makeHBox, makeHoriz, makeHoriz, makeHStretch, makeVBox, makeVBox, makeVert, makeVert, makeVStretch, removeLayoutComponent, setGap, setJustification, setOffAxisJustification, setOffAxisPolicy, setPolicy |
VGroupLayout
public VGroupLayout()
computePreferredSize
public Dimension computePreferredSize(Container target,
int whint,
int hhint)
- Description copied from class:
LayoutManager
- Computes the preferred size for the supplied container, based on the
preferred sizes of its children and the layout policy implemented by
this manager. Note: it is not necessary to add the container's
insets to the returned preferred size.
- Specified by:
computePreferredSize in class LayoutManager
layoutContainer
public void layoutContainer(Container target)
- Description copied from class:
LayoutManager
- Effects the layout policy of this manager on the supplied target,
adjusting the size and position of its children based on the size and
position of the target at the time of this call. Note: the
target's insets must be accounted for when laying out the children.
- Specified by:
layoutContainer in class LayoutManager
Copyright © 2011. All Rights Reserved.