All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.basic.BasicSplitPaneUI.BasicVerticalLayoutManager
java.lang.Object
|
+----java.awt.swing.basic.BasicSplitPaneUI.BasicHorizontalLayoutManager
|
+----java.awt.swing.basic.BasicSplitPaneUI.BasicVerticalLayoutManager
- public class BasicSplitPaneUI.BasicVerticalLayoutManager
- extends BasicSplitPaneUI.BasicHorizontalLayoutManager
- implements Serializable
LayoutManager used for JSplitPanes with an orientation of
VERTICAL_SPLIT.
BasicSplitPaneUI.BasicVerticalLayoutManager(BasicSplitPaneUI)
-
getAvailableSize(Dimension, Insets)
- Returns the available width based on the container size and
Insets.
getInitialLocation(Insets)
- Returns the left inset, unless the Insets or null in which case
0 is returned.
getPreferredSizeOfComponent(Component)
- Returns the width of the passed in Components preferred size.
getSizeOfComponent(Component)
- Returns the width of the passed in component.
minimumLayoutSize(Container)
- Returns the minimum size needed to contain the children.
preferredLayoutSize(Container)
- Returns the preferred size needed to contain the children.
setComponentToSize(Component, int, int, Insets, Dimension)
- Sets the width of the component c to be c, placing its
x location at location, y to the insets.top and height
to the containersize.height less the top and bottom insets.
BasicSplitPaneUI.BasicVerticalLayoutManager
public BasicSplitPaneUI.BasicVerticalLayoutManager(BasicSplitPaneUI this$0)
getPreferredSizeOfComponent
protected int getPreferredSizeOfComponent(Component c)
- Returns the width of the passed in Components preferred size.
- Overrides:
- getPreferredSizeOfComponent in class BasicSplitPaneUI.BasicHorizontalLayoutManager
getSizeOfComponent
protected int getSizeOfComponent(Component c)
- Returns the width of the passed in component.
- Overrides:
- getSizeOfComponent in class BasicSplitPaneUI.BasicHorizontalLayoutManager
getAvailableSize
protected int getAvailableSize(Dimension containerSize,
Insets insets)
- Returns the available width based on the container size and
Insets.
- Overrides:
- getAvailableSize in class BasicSplitPaneUI.BasicHorizontalLayoutManager
getInitialLocation
protected int getInitialLocation(Insets insets)
- Returns the left inset, unless the Insets or null in which case
0 is returned.
- Overrides:
- getInitialLocation in class BasicSplitPaneUI.BasicHorizontalLayoutManager
setComponentToSize
protected void setComponentToSize(Component c,
int size,
int location,
Insets insets,
Dimension containerSize)
- Sets the width of the component c to be c, placing its
x location at location, y to the insets.top and height
to the containersize.height less the top and bottom insets.
- Overrides:
- setComponentToSize in class BasicSplitPaneUI.BasicHorizontalLayoutManager
minimumLayoutSize
public Dimension minimumLayoutSize(Container container)
- Returns the minimum size needed to contain the children.
The height is the sum of all the childrens min heights and
the width is the largest of the childrens minimum widths.
- Overrides:
- minimumLayoutSize in class BasicSplitPaneUI.BasicHorizontalLayoutManager
preferredLayoutSize
public Dimension preferredLayoutSize(Container container)
- Returns the preferred size needed to contain the children.
The width is the sum of all the childrens preferred widths and
the height is the largest of the childrens preferred heights.
- Overrides:
- preferredLayoutSize in class BasicSplitPaneUI.BasicHorizontalLayoutManager
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature