com.ontimize.gui.field
Class ComboDataField.CustomComboBoxEditor
java.lang.Object
com.ontimize.gui.field.ComboDataField.CustomComboBoxEditor
- All Implemented Interfaces:
- javax.swing.ComboBoxEditor
- Enclosing class:
- ComboDataField
- protected static class ComboDataField.CustomComboBoxEditor
- extends java.lang.Object
- implements javax.swing.ComboBoxEditor
This class extends the editor component used for JComboBox components.
- Author:
- Imatia Innovation
|
Field Summary |
protected javax.swing.ComboBoxEditor |
editor
The reference for a combo box editor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
editor
protected javax.swing.ComboBoxEditor editor
- The reference for a combo box editor. By default, null.
ComboDataField.CustomComboBoxEditor
public ComboDataField.CustomComboBoxEditor(javax.swing.ComboBoxEditor ed)
- The class constructor. Fix the
editor value.
- Parameters:
ed - the editor value
getEditorComponent
public java.awt.Component getEditorComponent()
- Specified by:
getEditorComponent in interface javax.swing.ComboBoxEditor
setItem
public void setItem(java.lang.Object anObject)
- Specified by:
setItem in interface javax.swing.ComboBoxEditor
getItem
public java.lang.Object getItem()
- Specified by:
getItem in interface javax.swing.ComboBoxEditor
selectAll
public void selectAll()
- Specified by:
selectAll in interface javax.swing.ComboBoxEditor
addActionListener
public void addActionListener(java.awt.event.ActionListener l)
- Specified by:
addActionListener in interface javax.swing.ComboBoxEditor
removeActionListener
public void removeActionListener(java.awt.event.ActionListener l)
- Specified by:
removeActionListener in interface javax.swing.ComboBoxEditor