public abstract class ComboBoxUpdater<T> extends Object implements ActionListener, AncestorListener
| Constructor and Description |
|---|
ComboBoxUpdater(JComboBox comp,
JLabel label)
Creates a new instance of TextComponentUpdater
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent event) |
void |
ancestorAdded(AncestorEvent event) |
void |
ancestorMoved(AncestorEvent event) |
void |
ancestorRemoved(AncestorEvent event) |
abstract T |
getDefaultValue() |
abstract T |
getValue() |
abstract void |
setValue(T value) |
public abstract T getValue()
public abstract T getDefaultValue()
public abstract void setValue(T value)
public void actionPerformed(ActionEvent event)
actionPerformed in interface ActionListenerpublic void ancestorAdded(AncestorEvent event)
ancestorAdded in interface AncestorListenerpublic void ancestorRemoved(AncestorEvent event)
ancestorRemoved in interface AncestorListenerpublic void ancestorMoved(AncestorEvent event)
ancestorMoved in interface AncestorListener