Class MetalComboBoxEditor.UIResource
java.lang.Object
javax.swing.plaf.basic.BasicComboBoxEditor
javax.swing.plaf.metal.MetalComboBoxEditor
javax.swing.plaf.metal.MetalComboBoxEditor.UIResource
- All Implemented Interfaces:
FocusListener, EventListener, ComboBoxEditor, UIResource
- Enclosing class:
MetalComboBoxEditor
public static class MetalComboBoxEditor.UIResource
extends MetalComboBoxEditor
implements UIResource
A subclass of BasicComboBoxEditor that implements UIResource.
BasicComboBoxEditor doesn't implement UIResource
directly so that applications can safely override the
cellRenderer property with BasicListCellRenderer subclasses.
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.
-
Nested Class Summary
Nested classes/interfaces declared in class MetalComboBoxEditor
MetalComboBoxEditor.UIResourceModifier and TypeClassDescriptionstatic classA subclass of BasicComboBoxEditor that implements UIResource. -
Field Summary
Fields declared in class MetalComboBoxEditor
editorBorderInsetsFields declared in class BasicComboBoxEditor
editor -
Constructor Summary
Constructors -
Method Summary
Methods declared in class BasicComboBoxEditor
addActionListener, createEditorComponent, focusGained, focusLost, getEditorComponent, getItem, removeActionListener, selectAll, setItemModifier and TypeMethodDescriptionvoidAdd an ActionListener.protected JTextFieldCreates the internal editor component.voidInvoked when a component gains the keyboard focus.voidInvoked when a component loses the keyboard focus.Returns the component that should be added to the tree hierarchy for this editorgetItem()Returns the edited itemvoidRemove an ActionListenervoidAsk the editor to start editing and to select everythingvoidSets the item that should be edited.Methods declared in class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitModifier and TypeMethodDescriptionprotected Objectclone()Creates and returns a copy of this object.booleanIndicates whether some other object is "equal to" this one.protected voidfinalize()Deprecated, for removal: This API element is subject to removal in a future version.Finalization is deprecated and subject to removal in a future release.final Class<?> getClass()Returns the runtime class of thisObject.inthashCode()Returns a hash code value for this object.final voidnotify()Wakes up a single thread that is waiting on this object's monitor.final voidWakes up all threads that are waiting on this object's monitor.toString()Returns a string representation of the object.final voidwait()Causes the current thread to wait until it is awakened, typically by being notified or interrupted.final voidwait(long timeoutMillis) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.final voidwait(long timeoutMillis, int nanos) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.
-
Constructor Details
-
UIResource
public UIResource()Constructs aUIResource.
-