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, removeUpdate
TileCoordinateValidator(javax.swing.text.JTextComponent tc)
public void setZoomLevel(int zoomLevel)
public boolean isValid()
AbstractTextComponentValidator
isValid
in class AbstractTextComponentValidator
public void validate()
AbstractTextComponentValidator
validate
in class AbstractTextComponentValidator
public int getTileIndex()