Package org.openstreetmap.josm.gui.io
Class UploadTextComponentValidator.UploadSourceValidator
- java.lang.Object
-
- org.openstreetmap.josm.gui.util.ChangeNotifier
-
- org.openstreetmap.josm.gui.widgets.AbstractTextComponentValidator
-
- org.openstreetmap.josm.gui.io.UploadTextComponentValidator
-
- org.openstreetmap.josm.gui.io.UploadTextComponentValidator.UploadSourceValidator
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.awt.event.FocusListener
,java.beans.PropertyChangeListener
,java.util.EventListener
,javax.swing.event.DocumentListener
- Enclosing class:
- UploadTextComponentValidator
static class UploadTextComponentValidator.UploadSourceValidator extends UploadTextComponentValidator
Validator for the changesetsource
tag
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstreetmap.josm.gui.io.UploadTextComponentValidator
UploadTextComponentValidator.UploadAreaValidator, UploadTextComponentValidator.UploadCommentValidator, UploadTextComponentValidator.UploadSourceValidator
-
-
Field Summary
-
Fields inherited from class org.openstreetmap.josm.gui.io.UploadTextComponentValidator
uploadRejected
-
Fields inherited from class org.openstreetmap.josm.gui.widgets.AbstractTextComponentValidator
ERROR_BACKGROUND, ERROR_BORDER, ERROR_COLOR, VALID_BORDER, VALID_COLOR, WARNING_BACKGROUND, WARNING_BORDER, WARNING_COLOR, WARNING_FOREGROUND
-
-
Constructor Summary
Constructors Constructor Description UploadSourceValidator(javax.swing.text.JTextComponent tc, javax.swing.JLabel feedback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Implement in subclasses to validate the content of the text component.-
Methods inherited from class org.openstreetmap.josm.gui.io.UploadTextComponentValidator
feedbackValid, feedbackWarning, isUploadRejected, isValid
-
Methods inherited from class org.openstreetmap.josm.gui.widgets.AbstractTextComponentValidator
actionPerformed, changedUpdate, feedbackDisabled, feedbackInvalid, focusGained, focusLost, getComponent, insertUpdate, propertyChange, removeUpdate
-
Methods inherited from class org.openstreetmap.josm.gui.util.ChangeNotifier
addChangeListener, fireStateChanged, removeChangeListener
-
-
-
-
Constructor Detail
-
UploadSourceValidator
UploadSourceValidator(javax.swing.text.JTextComponent tc, javax.swing.JLabel feedback)
-
-
Method Detail
-
validate
public void validate()
Description copied from class:AbstractTextComponentValidator
Implement in subclasses to validate the content of the text component.- Specified by:
validate
in classAbstractTextComponentValidator
-
-