| Modifier and Type | Class and Description |
|---|---|
| public class | MotifComboBoxUI.
This inner class is marked "public" due to a compiler bug. |
| pack-priv static class | |
| protected class | MotifComboBoxUI.
Overridden to empty the MouseMotionListener. |
| private class | MotifComboBoxUI.
This class should be made "protected" in future releases. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Icon | |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | configureEditor()
Overrides javax. This protected method is implementation specific and should be private. |
| protected LayoutManager | createLayoutManager()
Overrides javax. Creates a layout manager for managing the components which make up the combo box. |
| protected ComboPopup | createPopup()
Overrides javax. Creates the popup portion of the combo box. |
| protected PropertyChangeListener | createPropertyChangeListener()
Overrides javax. Creates a |
| public static ComponentUI | createUI(JComponent c)
Hides javax. Constructs a new instance of |
| public Dimension | getMinimumSize(JComponent c)
Overrides javax. The minimum size is the size of the display area plus insets plus the button. |
| public int | |
| protected void | installComponents()
Overrides javax. Creates and initializes the components which make up the aggregate combo box. |
| public void | installUI(JComponent c)
Overrides javax. Configures the specified component appropriately for the look and feel. |
| private Component | |
| public void | paint(Graphics g, JComponent c)
Overrides javax. Paints the specified component appropriately for the look and feel. |
| public void | paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus)
Overrides javax. Paints the currently selected item. |
| protected Rectangle | |
| protected Rectangle | rectangleForCurrentValue()
Overrides javax. Returns the area that is reserved for drawing the currently selected item. |
| protected void | uninstallComponents()
Overrides javax. The aggregate components which comprise the combo box are unregistered and uninitialized. |
| arrowIcon | back to summary |
|---|---|
| pack-priv Icon arrowIcon | |
| HORIZ_MARGIN | back to summary |
|---|---|
| pack-priv static final int HORIZ_MARGIN | |
| MotifComboBoxUI | back to summary |
|---|---|
| public MotifComboBoxUI() | |
| configureEditor | back to summary |
|---|---|
| public void configureEditor() Overrides javax. Doc from javax. This protected method is implementation specific and should be private. do not call or override.
| |
| createLayoutManager | back to summary |
|---|---|
| protected LayoutManager createLayoutManager() Overrides javax. Doc from javax. Creates a layout manager for managing the components which make up the combo box.
| |
| createPopup | back to summary |
|---|---|
| protected ComboPopup createPopup() Overrides javax. Doc from javax. Creates the popup portion of the combo box.
| |
| createPropertyChangeListener | back to summary |
|---|---|
| protected PropertyChangeListener createPropertyChangeListener() Overrides javax. Doc from javax. Creates a
| |
| createUI | back to summary |
|---|---|
| public static ComponentUI createUI(JComponent c) Hides javax. Doc from javax. Constructs a new instance of | |
| getMinimumSize | back to summary |
|---|---|
| public Dimension getMinimumSize(JComponent c) Overrides javax. Doc from javax. The minimum size is the size of the display area plus insets plus the button.
| |
| iconAreaWidth | back to summary |
|---|---|
| public int iconAreaWidth() | |
| installComponents | back to summary |
|---|---|
| protected void installComponents() Overrides javax. Doc from javax. Creates and initializes the components which make up the aggregate combo box. This method is called as part of the UI installation process.
| |
| installUI | back to summary |
|---|---|
| public void installUI(JComponent c) Overrides javax. Doc from javax. Configures the specified component appropriately for the look and feel.
This method is invoked when the
| |
| motifGetEditor | back to summary |
|---|---|
| private Component motifGetEditor() | |
| paint | back to summary |
|---|---|
| public void paint(Graphics g, JComponent c) Overrides javax. Doc from javax. Paints the specified component appropriately for the look and feel.
This method is invoked from the
| |
| paintCurrentValue | back to summary |
|---|---|
| public void paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus) Overrides javax. Doc from javax. Paints the currently selected item.
| |
| rectangleForArrowIcon | back to summary |
|---|---|
| protected Rectangle rectangleForArrowIcon() | |
| rectangleForCurrentValue | back to summary |
|---|---|
| protected Rectangle rectangleForCurrentValue() Overrides javax. Doc from javax. Returns the area that is reserved for drawing the currently selected item.
| |
| uninstallComponents | back to summary |
|---|---|
| protected void uninstallComponents() Overrides javax. Doc from javax. The aggregate components which comprise the combo box are unregistered and uninitialized. This method is called as part of the UI uninstallation process.
| |
<FooUI>.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | layoutContainer(Container parent)
Overrides javax. Implements java. Lays out the specified container. |
| ComboBoxLayoutManager | back to summary |
|---|---|
| public ComboBoxLayoutManager() | |
| layoutContainer | back to summary |
|---|---|
| public void layoutContainer(Container parent) Overrides javax. Implements java. Doc from java. Lays out the specified container.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public void | paintIcon(Component c, Graphics g, int xo, int yo)
Implements javax. Draw the icon at the specified location. |
| darkShadow | back to summary |
|---|---|
| private Color darkShadow | |
| fill | back to summary |
|---|---|
| private Color fill | |
| lightShadow | back to summary |
|---|---|
| private Color lightShadow | |
| MotifComboBoxArrowIcon | back to summary |
|---|---|
| public MotifComboBoxArrowIcon(Color lightShadow, Color darkShadow, Color fill) | |
| getIconHeight | back to summary |
|---|---|
| public int getIconHeight() Implements javax. Doc from javax. Returns the icon's height.
| |
| getIconWidth | back to summary |
|---|---|
| public int getIconWidth() Implements javax. Doc from javax. Returns the icon's width.
| |
| paintIcon | back to summary |
|---|---|
| public void paintIcon(Component c, Graphics g, int xo, int yo) Implements javax. Doc from javax. Draw the icon at the specified location. Icon implementations may use the Component argument to get properties useful for painting, e.g. the foreground or background color.
| |
| Modifier and Type | Class and Description |
|---|---|
| protected class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public KeyListener | createKeyListener()
Overrides javax. Creates the key listener that will be added to the combo box. |
| public MouseMotionListener | createListMouseMotionListener()
Overrides javax. Motif combo popup should not track the mouse in the list. |
| MotifComboPopup | back to summary |
|---|---|
| public MotifComboPopup(JComboBox<Object> comboBox) | |
| createKeyListener | back to summary |
|---|---|
| public KeyListener createKeyListener() Overrides javax. Doc from javax. Creates the key listener that will be added to the combo box. If this method returns null then it will not be added to the combo box.
| |
| createListMouseMotionListener | back to summary |
|---|---|
| public MouseMotionListener createListMouseMotionListener() Overrides javax. Motif combo popup should not track the mouse in the list.
| |
| Access | Constructor and Description |
|---|---|
| protected |
| InvocationKeyHandler | back to summary |
|---|---|
| protected InvocationKeyHandler() | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | propertyChange(PropertyChangeEvent e)
Overrides javax. Implements java. This method gets called when a bound property is changed. |
| MotifPropertyChangeListener | back to summary |
|---|---|
| private MotifPropertyChangeListener() | |
| propertyChange | back to summary |
|---|---|
| public void propertyChange(PropertyChangeEvent e) Overrides javax. Implements java. Doc from java. This method gets called when a bound property is changed.
| |