Metal UI for JComboBox
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 UI for JComboBox 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.
(*create-ui c)
c - javax.swing.JComponent
returns: javax.swing.plaf.ComponentUI
c - `javax.swing.JComponent` returns: `javax.swing.plaf.ComponentUI`
(configure-editor this)
Description copied from class: BasicComboBoxUI
Description copied from class: BasicComboBoxUI
(create-property-change-listener this)
Description copied from class: BasicComboBoxUI
returns: an instance of a PropertyChangeListener or null - java.beans.PropertyChangeListener
Description copied from class: BasicComboBoxUI returns: an instance of a PropertyChangeListener or null - `java.beans.PropertyChangeListener`
(get-baseline this c width height)
Returns the baseline.
c - JComponent baseline is being requested for - javax.swing.JComponent
width - the width to get the baseline for - int
height - the height to get the baseline for - int
returns: baseline or a value < 0 indicating there is no reasonable
baseline - int
throws: java.lang.NullPointerException - if c is null
Returns the baseline. c - JComponent baseline is being requested for - `javax.swing.JComponent` width - the width to get the baseline for - `int` height - the height to get the baseline for - `int` returns: baseline or a value < 0 indicating there is no reasonable baseline - `int` throws: java.lang.NullPointerException - if c is null
(get-minimum-size this c)
Description copied from class: BasicComboBoxUI
c - the component whose minimum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - javax.swing.JComponent
returns: a Dimension object or null - java.awt.Dimension
Description copied from class: BasicComboBoxUI c - the component whose minimum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `javax.swing.JComponent` returns: a Dimension object or null - `java.awt.Dimension`
(layout-combo-box this parent manager)
parent - java.awt.Container
manager - javax.swing.plaf.metal.MetalComboBoxUI$MetalComboBoxLayoutManager
parent - `java.awt.Container` manager - `javax.swing.plaf.metal.MetalComboBoxUI$MetalComboBoxLayoutManager`
(paint this g c)
Description copied from class: ComponentUI
g - the Graphics context in which to paint - java.awt.Graphics
c - the component being painted; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - javax.swing.JComponent
Description copied from class: ComponentUI g - the Graphics context in which to paint - `java.awt.Graphics` c - the component being painted; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `javax.swing.JComponent`
(paint-current-value this g bounds has-focus)
If necessary paints the currently selected item.
g - Graphics to paint to - java.awt.Graphics
bounds - Region to paint current value to - java.awt.Rectangle
has-focus - whether or not the JComboBox has focus - boolean
throws: java.lang.NullPointerException - if any of the arguments are null.
If necessary paints the currently selected item. g - Graphics to paint to - `java.awt.Graphics` bounds - Region to paint current value to - `java.awt.Rectangle` has-focus - whether or not the JComboBox has focus - `boolean` throws: java.lang.NullPointerException - if any of the arguments are null.
(paint-current-value-background this g bounds has-focus)
If necessary paints the background of the currently selected item.
g - Graphics to paint to - java.awt.Graphics
bounds - Region to paint background to - java.awt.Rectangle
has-focus - whether or not the JComboBox has focus - boolean
throws: java.lang.NullPointerException - if any of the arguments are null.
If necessary paints the background of the currently selected item. g - Graphics to paint to - `java.awt.Graphics` bounds - Region to paint background to - `java.awt.Rectangle` has-focus - whether or not the JComboBox has focus - `boolean` throws: java.lang.NullPointerException - if any of the arguments are null.
(unconfigure-editor this)
Description copied from class: BasicComboBoxUI
Description copied from class: BasicComboBoxUI
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close