All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.awt.swing.basic.AbstractOptionPaneUI.SyncingLayoutManager

java.lang.Object
    |
    +----java.awt.swing.basic.AbstractOptionPaneUI.SyncingLayoutManager

protected static class AbstractOptionPaneUI.SyncingLayoutManager
extends Object
implements LayoutManager, Serializable
SyncingLayoutManager acts similiar to FlowLayout. It lays out all components from left to right. If syncsAll is true, the widths of each component will be set to the largest preferred size width.


Variable Index

 o centersChildren
If true, children are lumped together in parent.
 o padding
 o syncsAll

Constructor Index

 o AbstractOptionPaneUI.SyncingLayoutManager(boolean, int)

Method Index

 o addLayoutComponent(String, Component)
 o getCentersChildren()
 o getPadding()
 o getSyncsAll()
 o layoutContainer(Container)
 o minimumLayoutSize(Container)
 o preferredLayoutSize(Container)
 o removeLayoutComponent(Component)
 o setCentersChildren(boolean)
 o setPadding(int)
 o setSyncsAll(boolean)

Variables

 o syncsAll
protected boolean syncsAll
 o padding
protected int padding
 o centersChildren
protected boolean centersChildren
If true, children are lumped together in parent.

Constructors

 o AbstractOptionPaneUI.SyncingLayoutManager
public AbstractOptionPaneUI.SyncingLayoutManager(boolean syncsAll,
                                                 int padding)

Methods

 o setSyncsAll
public void setSyncsAll(boolean newValue)
 o getSyncsAll
public boolean getSyncsAll()
 o setPadding
public void setPadding(int newPadding)
 o getPadding
public int getPadding()
 o setCentersChildren
public void setCentersChildren(boolean newValue)
 o getCentersChildren
public boolean getCentersChildren()
 o addLayoutComponent
public void addLayoutComponent(String string,
                               Component comp)
 o layoutContainer
public void layoutContainer(Container container)
 o minimumLayoutSize
public Dimension minimumLayoutSize(Container c)
 o preferredLayoutSize
public Dimension preferredLayoutSize(Container c)
 o removeLayoutComponent
public void removeLayoutComponent(Component c)

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature