com.levigo.util.swing.infobar
Class RackLayout
java.lang.Object
javax.swing.BoxLayout
com.levigo.util.swing.infobar.RackLayout
- All Implemented Interfaces:
- LayoutManager, LayoutManager2, Serializable
public class RackLayout
- extends BoxLayout
A Rack is like a BoxLayout
, except that for a horizontal/vertical layout it forces all
cells to be as high/wide as the cell provided by the enclosing container. Thus, with respect to
the fill behaviour more closely resembles a BorderLayout
.
- See Also:
- Serialized Form
Methods inherited from class javax.swing.BoxLayout |
addLayoutComponent, addLayoutComponent, getAxis, getLayoutAlignmentX, getLayoutAlignmentY, getTarget, invalidateLayout, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RackLayout
public RackLayout(Container target,
int axis)
- Parameters:
target
- axis
-
layoutContainer
public void layoutContainer(Container target)
- Specified by:
layoutContainer
in interface LayoutManager
- Overrides:
layoutContainer
in class BoxLayout
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.