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.


Constructor Index

 o BasicSplitPaneUI.BasicVerticalLayoutManager(BasicSplitPaneUI)

Method Index

 o getAvailableSize(Dimension, Insets)
Returns the available width based on the container size and Insets.
 o getInitialLocation(Insets)
Returns the left inset, unless the Insets or null in which case 0 is returned.
 o getPreferredSizeOfComponent(Component)
Returns the width of the passed in Components preferred size.
 o getSizeOfComponent(Component)
Returns the width of the passed in component.
 o minimumLayoutSize(Container)
Returns the minimum size needed to contain the children.
 o preferredLayoutSize(Container)
Returns the preferred size needed to contain the children.
 o 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.

Constructors

 o BasicSplitPaneUI.BasicVerticalLayoutManager
public BasicSplitPaneUI.BasicVerticalLayoutManager(BasicSplitPaneUI this$0)

Methods

 o getPreferredSizeOfComponent
protected int getPreferredSizeOfComponent(Component c)
Returns the width of the passed in Components preferred size.

Overrides:
getPreferredSizeOfComponent in class BasicSplitPaneUI.BasicHorizontalLayoutManager
 o getSizeOfComponent
protected int getSizeOfComponent(Component c)
Returns the width of the passed in component.

Overrides:
getSizeOfComponent in class BasicSplitPaneUI.BasicHorizontalLayoutManager
 o 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
 o 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
 o 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
 o 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
 o 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