com.jmex.bui.layout
Class VGroupLayout
java.lang.Object
com.jmex.bui.layout.BLayoutManager
com.jmex.bui.layout.GroupLayout
com.jmex.bui.layout.VGroupLayout
public class VGroupLayout
- extends GroupLayout
Handles vertically laid out groups.
- See Also:
GroupLayout
|
Method Summary |
Dimension |
computePreferredSize(BContainer 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(BContainer 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.jmex.bui.layout.GroupLayout |
addLayoutComponent, computeChildDimens, computeDimens, getGap, getJustification, getOffAxisJustification, getOffAxisPolicy, getPolicy, getWeight, isFixed, makeHBox, makeHBox, makeHoriz, makeHoriz, makeHStretch, makeVBox, makeVBox, makeVert, makeVert, makeVStretch, removeLayoutComponent, setGap, setJustification, setOffAxisJustification, setOffAxisPolicy, setPolicy |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VGroupLayout
public VGroupLayout()
VGroupLayout
public VGroupLayout(Justification justification)
VGroupLayout
public VGroupLayout(Justification justification,
Policy policy)
VGroupLayout
public VGroupLayout(Policy policy)
computePreferredSize
public Dimension computePreferredSize(BContainer target,
int whint,
int hhint)
- Description copied from class:
BLayoutManager
- 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 BLayoutManager
layoutContainer
public void layoutContainer(BContainer target)
- Description copied from class:
BLayoutManager
- 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 BLayoutManager
Copyright © 2011 Michael Bayne.
All Rights Reserved.