public class AWColorComboBoxEditor
extends java.lang.Object
implements javax.swing.ComboBoxEditor
AWColorComboBoxEditor
class provides a combo box in a tableConstructor and Description |
---|
AWColorComboBoxEditor(java.awt.Color initialColor)
The constructor
AWColorComboBoxEditor creates a new instance(object) of the class. |
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(java.awt.event.ActionListener l) |
java.awt.Component |
getEditorComponent() |
java.lang.Object |
getItem() |
void |
removeActionListener(java.awt.event.ActionListener l) |
void |
selectAll() |
void |
setItem(java.lang.Object newValue) |
public AWColorComboBoxEditor(java.awt.Color initialColor)
AWColorComboBoxEditor
creates a new instance(object) of the class.initialColor
- the initial colorpublic void addActionListener(java.awt.event.ActionListener l)
addActionListener
in interface javax.swing.ComboBoxEditor
public java.awt.Component getEditorComponent()
getEditorComponent
in interface javax.swing.ComboBoxEditor
public java.lang.Object getItem()
getItem
in interface javax.swing.ComboBoxEditor
public void removeActionListener(java.awt.event.ActionListener l)
removeActionListener
in interface javax.swing.ComboBoxEditor
public void selectAll()
selectAll
in interface javax.swing.ComboBoxEditor
public void setItem(java.lang.Object newValue)
setItem
in interface javax.swing.ComboBoxEditor