No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.
javax.swing.plaf.basic

Class BasicOptionPaneUI. ButtonAreaLayout

  • All Implemented Interfaces:
    LayoutManager
    Enclosing class:
    BasicOptionPaneUI

    public static class BasicOptionPaneUI.ButtonAreaLayout
    extends Object
    implements 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 BasicOptionPaneUI.
    • Field Detail

      • syncAllWidths

        protected boolean syncAllWidths
      • padding

        protected int padding
      • centersChildren

        protected boolean centersChildren
        If true, children are lumped together in parent.
    • Constructor Detail

      • BasicOptionPaneUI.ButtonAreaLayout

        public BasicOptionPaneUI.ButtonAreaLayout(boolean syncAllWidths,
                                          int padding)
    • Method Detail

      • setSyncAllWidths

        public void setSyncAllWidths(boolean newValue)
      • getSyncAllWidths

        public boolean getSyncAllWidths()
      • setPadding

        public void setPadding(int newPadding)
      • getPadding

        public int getPadding()
      • setCentersChildren

        public void setCentersChildren(boolean newValue)
      • getCentersChildren

        public boolean getCentersChildren()
      • addLayoutComponent

        public void addLayoutComponent(String string,
                              Component comp)
        Description copied from interface: LayoutManager
        If the layout manager uses a per-component string, adds the component comp to the layout, associating it with the string specified by name.
        Specified by:
        addLayoutComponent in interface LayoutManager
        Parameters:
        string - the string to be associated with the component
        comp - the component to be added
      • layoutContainer

        public void layoutContainer(Container container)
        Description copied from interface: LayoutManager
        Lays out the specified container.
        Specified by:
        layoutContainer in interface LayoutManager
        Parameters:
        container - the container to be laid out
      • removeLayoutComponent

        public void removeLayoutComponent(Component c)
        Description copied from interface: LayoutManager
        Removes the specified component from the layout.
        Specified by:
        removeLayoutComponent in interface LayoutManager
        Parameters:
        c - the component to be removed
Error Infobrol

Can not display this page of the Infobrol website

Type of error (18-01)

Unknown format specifier "&"

Please try again in a few minutes…

Return to the home page




Steph