private static class TileSelectionBBoxChooser.TileCoordinateValidator extends AbstractTextComponentValidator
| Modifier and Type | Field and Description |
|---|---|
private int |
tileIndex |
private int |
zoomLevel |
| Constructor and Description |
|---|
TileCoordinateValidator(javax.swing.text.JTextComponent tc) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
actionPerformed, changedUpdate, feedbackDisabled, feedbackInvalid, feedbackValid, focusGained, focusLost, getComponent, insertUpdate, propertyChange, removeUpdateTileCoordinateValidator(javax.swing.text.JTextComponent tc)
public void setZoomLevel(int zoomLevel)
public boolean isValid()
AbstractTextComponentValidatorisValid in class AbstractTextComponentValidatorpublic void validate()
AbstractTextComponentValidatorvalidate in class AbstractTextComponentValidatorpublic int getTileIndex()