JButton subclass to help out MetalComboBoxUI
Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.
JButton subclass to help out MetalComboBoxUI Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.
(->metal-combo-box-button cb i pane list)
(->metal-combo-box-button cb i only-icon pane list)
Constructor.
cb - javax.swing.JComboBox
i - javax.swing.Icon
only-icon - boolean
pane - javax.swing.CellRendererPane
list - javax.swing.JList
Constructor. cb - `javax.swing.JComboBox` i - `javax.swing.Icon` only-icon - `boolean` pane - `javax.swing.CellRendererPane` list - `javax.swing.JList`
(focus-traversable? this)
Description copied from class: Component
returns: true if this Component is
focusable; false otherwise - boolean
Description copied from class: Component returns: true if this Component is focusable; false otherwise - `boolean`
(get-combo-box this)
returns: javax.swing.JComboBox
returns: `javax.swing.JComboBox`
(get-combo-icon this)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(get-minimum-size this)
Description copied from class: JComponent
returns: the value of the minimumSize property - java.awt.Dimension
Description copied from class: JComponent returns: the value of the minimumSize property - `java.awt.Dimension`
(paint-component this g)
Description copied from class: JComponent
g - the Graphics object to protect - java.awt.Graphics
Description copied from class: JComponent g - the Graphics object to protect - `java.awt.Graphics`
(set-combo-box this cb)
cb - javax.swing.JComboBox
cb - `javax.swing.JComboBox`
(set-enabled this enabled)
Description copied from class: AbstractButton
enabled - true to enable the button, otherwise false - boolean
Description copied from class: AbstractButton enabled - true to enable the button, otherwise false - `boolean`
(set-icon-only this is-icon-only)
is-icon-only - boolean
is-icon-only - `boolean`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close