oracle.ide.controls
Class ButtonsLayoutManager
java.lang.Object
oracle.ide.controls.ButtonsLayoutManager
- All Implemented Interfaces:
- java.awt.LayoutManager, java.awt.LayoutManager2, javax.swing.SwingConstants
- public class ButtonsLayoutManager
- extends java.lang.Object
- implements java.awt.LayoutManager2, javax.swing.SwingConstants
A Class class.
Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIRECTION_RTL
public static final boolean DIRECTION_RTL
- See Also:
- Constant Field Values
DIRECTION_LTR
public static final boolean DIRECTION_LTR
- See Also:
- Constant Field Values
ButtonsLayoutManager
public ButtonsLayoutManager()
- Constructor
setGap
public void setGap(int nGap)
getGap
public int getGap()
setDirection
public void setDirection(boolean rtl)
getDirection
public boolean getDirection()
getSpaceLeft
public java.awt.Rectangle getSpaceLeft()
setOrientation
public void setOrientation(int nOrient)
getOrientation
public int getOrientation()
getButtonCount
public final int getButtonCount()
getButton
public final java.awt.Component getButton(int i)
addButton
protected final void addButton(java.awt.Component c,
int nConstraint)
removeButton
protected final void removeButton(int nConstraint)
addLayoutComponent
public void addLayoutComponent(java.lang.String name,
java.awt.Component comp)
- Specified by:
addLayoutComponent
in interface java.awt.LayoutManager
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component comp)
- Specified by:
removeLayoutComponent
in interface java.awt.LayoutManager
preferredLayoutSize
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
- Specified by:
preferredLayoutSize
in interface java.awt.LayoutManager
minimumLayoutSize
public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
- Specified by:
minimumLayoutSize
in interface java.awt.LayoutManager
layoutContainer
public void layoutContainer(java.awt.Container parent)
- Specified by:
layoutContainer
in interface java.awt.LayoutManager
layoutContainer
protected int layoutContainer(java.awt.Container parent,
java.awt.Dimension dParent)
- Returns:
- number of components that fit
addLayoutComponent
public void addLayoutComponent(java.awt.Component comp,
java.lang.Object constraints)
- Specified by:
addLayoutComponent
in interface java.awt.LayoutManager2
maximumLayoutSize
public java.awt.Dimension maximumLayoutSize(java.awt.Container target)
- Specified by:
maximumLayoutSize
in interface java.awt.LayoutManager2
getLayoutAlignmentX
public float getLayoutAlignmentX(java.awt.Container target)
- Specified by:
getLayoutAlignmentX
in interface java.awt.LayoutManager2
getLayoutAlignmentY
public float getLayoutAlignmentY(java.awt.Container target)
- Specified by:
getLayoutAlignmentY
in interface java.awt.LayoutManager2
invalidateLayout
public void invalidateLayout(java.awt.Container target)
- Specified by:
invalidateLayout
in interface java.awt.LayoutManager2
Copyright © 1997, 2004, Oracle. All rights reserved.