|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openstreetmap.josm.gui.widgets.AbstractTextComponentValidator
org.openstreetmap.josm.gui.dialogs.changeset.SingleChangesetDownloadPanel.ChangesetIdValidator
private static class SingleChangesetDownloadPanel.ChangesetIdValidator
Validator for a changeset ID entered in a JTextComponent.
| Constructor Summary | |
|---|---|
SingleChangesetDownloadPanel.ChangesetIdValidator(javax.swing.text.JTextComponent tc)
|
|
| Method Summary | |
|---|---|
static SingleChangesetDownloadPanel.ChangesetIdValidator |
decorate(javax.swing.text.JTextComponent tc)
|
int |
getChangesetId()
|
boolean |
isValid()
Replies true if the current content of the decorated text component is valid; false otherwise |
void |
validate()
Implement in subclasses to validate the content of the text component. |
| Methods inherited from class org.openstreetmap.josm.gui.widgets.AbstractTextComponentValidator |
|---|
actionPerformed, changedUpdate, feedbackDisabled, feedbackInvalid, feedbackValid, focusGained, focusLost, getComponent, insertUpdate, propertyChange, removeUpdate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingleChangesetDownloadPanel.ChangesetIdValidator(javax.swing.text.JTextComponent tc)
| Method Detail |
|---|
public static SingleChangesetDownloadPanel.ChangesetIdValidator decorate(javax.swing.text.JTextComponent tc)
public boolean isValid()
AbstractTextComponentValidator
isValid in class AbstractTextComponentValidatorpublic void validate()
AbstractTextComponentValidator
validate in class AbstractTextComponentValidatorpublic int getChangesetId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||