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 ActionListener
public void ancestorAdded(AncestorEvent event)
ancestorAdded
in interface AncestorListener
public void ancestorRemoved(AncestorEvent event)
ancestorRemoved
in interface AncestorListener
public void ancestorMoved(AncestorEvent event)
ancestorMoved
in interface AncestorListener