Class SimpleBasicComboBoxEditor
java.lang.Object
net.thevpc.netbeans.launcher.ui.utils.SimpleBasicComboBoxEditor
- All Implemented Interfaces:
FocusListener, EventListener, ComboBoxEditor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA subclass of BasicComboBoxEditor that implements UIResource. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected JTextFieldCreates the internal editor component.voidvoidgetItem()voidvoidvoidSets the item that should be edited.
-
Field Details
-
editor
-
-
Constructor Details
-
SimpleBasicComboBoxEditor
-
-
Method Details
-
getEditorComponent
- Specified by:
getEditorComponentin interfaceComboBoxEditor
-
createEditorComponent
Creates the internal editor component. Override this to provide a custom implementation.- Returns:
- a new editor component
- Since:
- 1.6
-
setItem
Sets the item that should be edited.- Specified by:
setItemin interfaceComboBoxEditor- Parameters:
anObject- the displayed value of the editor
-
getItem
- Specified by:
getItemin interfaceComboBoxEditor
-
selectAll
public void selectAll()- Specified by:
selectAllin interfaceComboBoxEditor
-
focusGained
- Specified by:
focusGainedin interfaceFocusListener
-
focusLost
- Specified by:
focusLostin interfaceFocusListener
-
addActionListener
- Specified by:
addActionListenerin interfaceComboBoxEditor
-
removeActionListener
- Specified by:
removeActionListenerin interfaceComboBoxEditor
-