|
||||||||||
| 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.widgets.OsmIdTextField.OsmIdValidator
private static class OsmIdTextField.OsmIdValidator
Validator for a changeset ID entered in a JTextComponent.
| Field Summary | |
|---|---|
private java.util.List<PrimitiveId> |
ids
|
private OsmPrimitiveType |
type
|
| Constructor Summary | |
|---|---|
OsmIdTextField.OsmIdValidator(javax.swing.text.JTextComponent tc)
|
|
| Method Summary | |
|---|---|
static OsmIdTextField.OsmIdValidator |
decorate(javax.swing.text.JTextComponent tc)
|
boolean |
isValid()
Replies true if the current content of the decorated text component is valid; false otherwise |
boolean |
readOsmIds()
|
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 |
| Field Detail |
|---|
private java.util.List<PrimitiveId> ids
private OsmPrimitiveType type
| Constructor Detail |
|---|
public OsmIdTextField.OsmIdValidator(javax.swing.text.JTextComponent tc)
| Method Detail |
|---|
public static OsmIdTextField.OsmIdValidator decorate(javax.swing.text.JTextComponent tc)
public boolean isValid()
AbstractTextComponentValidator
isValid in class AbstractTextComponentValidatorpublic void validate()
AbstractTextComponentValidator
validate in class AbstractTextComponentValidatorpublic boolean readOsmIds()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||