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.
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.
(->button-area-layout sync-all-widths padding)
Constructor.
sync-all-widths - boolean
padding - int
Constructor. sync-all-widths - `boolean` padding - `int`
(add-layout-component this string comp)
Description copied from interface: LayoutManager
string - the string to be associated with the component - java.lang.String
comp - the component to be added - java.awt.Component
Description copied from interface: LayoutManager string - the string to be associated with the component - `java.lang.String` comp - the component to be added - `java.awt.Component`
(get-centers-children? this)
returns: boolean
returns: `boolean`
(layout-container this container)
Description copied from interface: LayoutManager
container - the container to be laid out - java.awt.Container
Description copied from interface: LayoutManager container - the container to be laid out - `java.awt.Container`
(minimum-layout-size this c)
Description copied from interface: LayoutManager
c - the component to be laid out - java.awt.Container
returns: java.awt.Dimension
Description copied from interface: LayoutManager c - the component to be laid out - `java.awt.Container` returns: `java.awt.Dimension`
(preferred-layout-size this c)
Description copied from interface: LayoutManager
c - the container to be laid out - java.awt.Container
returns: java.awt.Dimension
Description copied from interface: LayoutManager c - the container to be laid out - `java.awt.Container` returns: `java.awt.Dimension`
(remove-layout-component this c)
Description copied from interface: LayoutManager
c - the component to be removed - java.awt.Component
Description copied from interface: LayoutManager c - the component to be removed - `java.awt.Component`
(set-centers-children this new-value)
new-value - boolean
new-value - `boolean`
(set-sync-all-widths this new-value)
new-value - boolean
new-value - `boolean`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close