java.lang.Object | ||||
↳ | javax.swing.plaf.ComponentUI | |||
↳ | javax.swing.plaf.ComboBoxUI | |||
↳ | javax.swing.plaf.basic.BasicComboBoxUI | |||
↳ | com.sun.java.swing.plaf.motif.MotifComboBoxUI |
ComboBox motif look and feel
* 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. A future release of Swing will provide support for long term persistence.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MotifComboBoxUI.ComboBoxLayoutManager | This inner class is marked "public" due to a compiler bug. | ||||||||||
MotifComboBoxUI.MotifComboPopup | Overriden to empty the MouseMotionListener. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.swing.plaf.basic.BasicComboBoxUI
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This protected method is implementation specific and should be private.
| |||||||||||
The minumum size is the size of the display area plus insets plus the button.
| |||||||||||
Configures the specified component appropriate for the look and feel.
| |||||||||||
Paints the specified component appropriate for the look and feel.
| |||||||||||
Paints the currently selected item.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a layout manager for managing the components which make up the
combo box.
| |||||||||||
Creates the popup portion of the combo box.
| |||||||||||
Creates a
PropertyChangeListener which will be added to
the combo box. | |||||||||||
Creates and initializes the components which make up the
aggregate combo box.
| |||||||||||
Returns the area that is reserved for drawing the currently selected item.
| |||||||||||
The aggregate components which compise the combo box are
unregistered and uninitialized.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.swing.plaf.basic.BasicComboBoxUI
| |||||||||||
From class
javax.swing.plaf.ComboBoxUI
| |||||||||||
From class
javax.swing.plaf.ComponentUI
| |||||||||||
From class
java.lang.Object
|
This protected method is implementation specific and should be private. do not call or override.
The minumum size is the size of the display area plus insets plus the button.
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 |
---|
Dimension
object or null
Configures the specified component appropriate for the look and feel.
This method is invoked when the ComponentUI
instance is being installed
as the UI delegate on the specified component. This method should
completely configure the component for the look and feel,
including the following:
LayoutManager
on the component if necessary.
PropertyChangeListener
on the component in order
to detect and respond to component property changes appropriately.
c | the component where this UI delegate is being installed |
---|
Paints the specified component appropriate for the look and feel.
This method is invoked from the ComponentUI.update
method when
the specified component is being painted. Subclasses should override
this method and use the specified Graphics
object to
render the content of the component.
g | the Graphics context in which to paint |
---|---|
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 |
Paints the currently selected item.
Creates a layout manager for managing the components which make up the combo box.
Creates the popup portion of the combo box.
ComboPopup
Creates a PropertyChangeListener
which will be added to
the combo box. If this method returns null then it will not
be added to the combo box.
PropertyChangeListener
or null
Creates and initializes the components which make up the aggregate combo box. This method is called as part of the UI installation process.
Returns the area that is reserved for drawing the currently selected item.
The aggregate components which compise the combo box are unregistered and uninitialized. This method is called as part of the UI uninstallation process.