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 java..
| Modifier and Type | Class and Description |
|---|---|
| public static class | BasicComboBoxRenderer.
A subclass of BasicComboBoxRenderer that implements UIResource. |
| Modifier and Type | Field and Description |
|---|---|
| protected static Border | noFocusBorder
An empty |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Component | getListCellRendererComponent(JList<?> list, Object value, int index, boolean isSelected, boolean cellHasFocus)
Implements javax. Return a component that has been configured to display the specified value. |
| private static Border | |
| public Dimension | getPreferredSize()
Overrides javax. If the |
| noFocusBorder | back to summary |
|---|---|
| protected static Border noFocusBorder An empty | |
| BasicComboBoxRenderer | back to summary |
|---|---|
| public BasicComboBoxRenderer() Constructs a new instance of | |
| getListCellRendererComponent | back to summary |
|---|---|
| public Component getListCellRendererComponent(JList<?> list, Object value, int index, boolean isSelected, boolean cellHasFocus) Implements javax. Doc from javax. Return a component that has been configured to display the specified
value. That component's
| |
| getNoFocusBorder | back to summary |
|---|---|
| private static Border getNoFocusBorder() | |
| getPreferredSize | back to summary |
|---|---|
| public Dimension getPreferredSize() Overrides javax. Doc from javax. If the | |
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 java..
| Access | Constructor and Description |
|---|---|
| public |
| UIResource | back to summary |
|---|---|
| public UIResource() Constructs a | |