public static class ChangesetIdTextField.ChangesetIdValidator extends AbstractTextComponentValidator
JTextComponent
.Modifier and Type | Field and Description |
---|---|
private int |
id |
Constructor and Description |
---|
ChangesetIdTextField.ChangesetIdValidator(JTextComponent tc)
Constructs a new
ChangesetIdTextField.ChangesetIdValidator |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid()
Replies true if the current content of the decorated text component is valid;
false otherwise
|
boolean |
readChangesetId()
Reads the changeset id.
|
void |
validate()
Implement in subclasses to validate the content of the text component.
|
actionPerformed, changedUpdate, feedbackDisabled, feedbackInvalid, feedbackValid, focusGained, focusLost, getComponent, insertUpdate, propertyChange, removeUpdate
private int id
public ChangesetIdTextField.ChangesetIdValidator(JTextComponent tc)
ChangesetIdTextField.ChangesetIdValidator
tc
- The text component to validatepublic boolean isValid()
AbstractTextComponentValidator
isValid
in class AbstractTextComponentValidator
public void validate()
AbstractTextComponentValidator
validate
in class AbstractTextComponentValidator
public boolean readChangesetId()