Spec-Zone .ru
спецификации, руководства, описания, API
|
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.plaf.basic.BasicSplitPaneUI.BasicHorizontalLayoutManager | +--javax.swing.plaf.basic.BasicSplitPaneUI.BasicVerticalLayoutManager
LayoutManager used for JSplitPanes with an orientation of VERTICAL_SPLIT.
This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of BasicSplitPaneUI.
Fields inherited from class javax.swing.plaf.basic.BasicSplitPaneUI.BasicHorizontalLayoutManager |
components,
sizes |
Constructor Summary | |
BasicSplitPaneUI.BasicVerticalLayoutManager()
|
Method Summary | |
protected int |
getAvailableSize(Dimension containerSize,
Insets insets)
Returns the available height based on the container size and Insets. |
protected int |
getInitialLocation(Insets insets)
Returns the top inset, unless the Insets or null in which case 0 is returned. |
protected int |
getPreferredSizeOfComponent(Component c)
Returns the height of the passed in Components preferred size. |
protected int |
getSizeOfComponent(Component c)
Returns the height of the passed in component. |
Dimension |
minimumLayoutSize(Container container)
Returns the minimum size needed to contain the children. |
Dimension |
preferredLayoutSize(Container container)
Returns the preferred size needed to contain the children. |
protected void |
setComponentToSize(Component c,
int size,
int location,
Insets insets,
Dimension containerSize)
Sets the height of the component c to be size, placing its x location to insets.left, y to location and width to the containersize.width less the left and right insets. |
Methods inherited from class javax.swing.plaf.basic.BasicSplitPaneUI.BasicHorizontalLayoutManager |
addLayoutComponent,
addLayoutComponent,
getLayoutAlignmentX,
getLayoutAlignmentY,
getSizes,
invalidateLayout,
layoutContainer,
maximumLayoutSize,
removeLayoutComponent,
resetSizeAt,
resetToPreferredSizes,
setSizes,
updateComponents |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public BasicSplitPaneUI.BasicVerticalLayoutManager()
Method Detail |
protected int getPreferredSizeOfComponent(Component c)
protected int getSizeOfComponent(Component c)
protected int getAvailableSize(Dimension containerSize, Insets insets)
protected int getInitialLocation(Insets insets)
protected void setComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize)
public Dimension minimumLayoutSize(Container container)
parent
- the component to be laid outLayoutManager.preferredLayoutSize(java.awt.Container)
public Dimension preferredLayoutSize(Container container)
parent
- the component to be laid outLayoutManager.minimumLayoutSize(java.awt.Container)
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |