com.jmex.bui.layout
Class HGroupLayout
java.lang.Object
com.jmex.bui.layout.BLayoutManager
com.jmex.bui.layout.GroupLayout
com.jmex.bui.layout.HGroupLayout
public class HGroupLayout
- extends GroupLayout
Handles horizontally laid out groups.
- See Also:
GroupLayout
| Fields inherited from class com.jmex.bui.layout.GroupLayout |
_constraints, _gap, _justification, _offjust, _offpolicy, _policy, BOTTOM, CENTER, CONSTRAIN, DEFAULT_GAP, EQUALIZE, FIXED, LEFT, NONE, RIGHT, STRETCH, TOP |
|
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 |
HGroupLayout
public HGroupLayout()
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 © 2008 Michael Bayne.
All Rights Reserved.