public abstract class TextComponentUpdater extends Object implements DocumentListener, AncestorListener
| Constructor and Description |
|---|
TextComponentUpdater(JTextComponent comp,
JLabel label)
Creates a new instance of TextComponentUpdater
|
| Modifier and Type | Method and Description |
|---|---|
void |
ancestorAdded(AncestorEvent event) |
void |
ancestorMoved(AncestorEvent event) |
void |
ancestorRemoved(AncestorEvent event) |
void |
changedUpdate(DocumentEvent e) |
abstract String |
getDefaultValue() |
abstract String |
getValue() |
void |
insertUpdate(DocumentEvent e) |
void |
removeUpdate(DocumentEvent e) |
abstract void |
setValue(String value) |
public TextComponentUpdater(JTextComponent comp, JLabel label)
public abstract String getValue()
public abstract String getDefaultValue()
public abstract void setValue(String value)
public void insertUpdate(DocumentEvent e)
insertUpdate in interface DocumentListenerpublic void removeUpdate(DocumentEvent e)
removeUpdate in interface DocumentListenerpublic void changedUpdate(DocumentEvent e)
changedUpdate in interface DocumentListenerpublic void ancestorAdded(AncestorEvent event)
ancestorAdded in interface AncestorListenerpublic void ancestorRemoved(AncestorEvent event)
ancestorRemoved in interface AncestorListenerpublic void ancestorMoved(AncestorEvent event)
ancestorMoved in interface AncestorListener