Home » openjdk-7 » javax » swing » plaf » basic » [javadoc | source]
javax.swing.plaf.basic
public static class: BasicOptionPaneUI.ButtonAreaLayout [javadoc | source]
java.lang.Object
   javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout

All Implemented Interfaces:
    LayoutManager

ButtonAreaLayout behaves in a similar manner to FlowLayout. It lays out all components from left to right. If syncAllWidths is true, the widths of each component will be set to the largest preferred size width. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of {@code BasicOptionPaneUI}.
Field Summary
protected  boolean syncAllWidths     
protected  int padding     
protected  boolean centersChildren    If true, children are lumped together in parent. 
Constructor:
 public ButtonAreaLayout(boolean syncAllWidths,
    int padding) 
 ButtonAreaLayout(boolean syncAllSizes,
    int padding,
    int orientation,
    boolean reverseButtons) 
Method from javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout Summary:
addLayoutComponent,   getCentersChildren,   getPadding,   getSyncAllWidths,   layoutContainer,   minimumLayoutSize,   preferredLayoutSize,   removeLayoutComponent,   setCentersChildren,   setPadding,   setSyncAllWidths
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout Detail:
 public  void addLayoutComponent(String string,
    Component comp) 
 public boolean getCentersChildren() 
 public int getPadding() 
 public boolean getSyncAllWidths() 
 public  void layoutContainer(Container container) 
 public Dimension minimumLayoutSize(Container c) 
 public Dimension preferredLayoutSize(Container c) 
 public  void removeLayoutComponent(Component c) 
 public  void setCentersChildren(boolean newValue) 
 public  void setPadding(int newPadding) 
 public  void setSyncAllWidths(boolean newValue)