|
||||||||||
| 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.bbox.TileSelectionBBoxChooser.TileCoordinateValidator
private static class TileSelectionBBoxChooser.TileCoordinateValidator
Validates the x- or y-coordinate of a tile at a given zoom level.
| Field Summary | |
|---|---|
private int |
tileIndex
|
private int |
zoomLevel
|
| Constructor Summary | |
|---|---|
TileSelectionBBoxChooser.TileCoordinateValidator(javax.swing.text.JTextComponent tc)
|
|
| Method Summary | |
|---|---|
int |
getTileIndex()
|
boolean |
isValid()
Replies true if the current content of the decorated text component is valid; false otherwise |
void |
setZoomLevel(int zoomLevel)
|
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 int zoomLevel
private int tileIndex
| Constructor Detail |
|---|
public TileSelectionBBoxChooser.TileCoordinateValidator(javax.swing.text.JTextComponent tc)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException| Method Detail |
|---|
public void setZoomLevel(int zoomLevel)
public boolean isValid()
AbstractTextComponentValidator
isValid in class AbstractTextComponentValidatorpublic void validate()
AbstractTextComponentValidator
validate in class AbstractTextComponentValidatorpublic int getTileIndex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||