Class OsmApiUrlInputPanel.ValidateApiUrlAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.preferences.server.OsmApiUrlInputPanel.ValidateApiUrlAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action,javax.swing.event.DocumentListener
- Enclosing class:
- OsmApiUrlInputPanel
class OsmApiUrlInputPanel.ValidateApiUrlAction extends javax.swing.AbstractAction implements javax.swing.event.DocumentListener
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringlastTestedUrl
-
Constructor Summary
Constructors Constructor Description ValidateApiUrlAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent arg0)voidchangedUpdate(javax.swing.event.DocumentEvent arg0)voidinsertUpdate(javax.swing.event.DocumentEvent arg0)voidremoveUpdate(javax.swing.event.DocumentEvent arg0)protected voidupdateEnabledState()-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
lastTestedUrl
private java.lang.String lastTestedUrl
-
-
Constructor Detail
-
ValidateApiUrlAction
ValidateApiUrlAction()
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent arg0)
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
-
updateEnabledState
protected final void updateEnabledState()
-
changedUpdate
public void changedUpdate(javax.swing.event.DocumentEvent arg0)
- Specified by:
changedUpdatein interfacejavax.swing.event.DocumentListener
-
insertUpdate
public void insertUpdate(javax.swing.event.DocumentEvent arg0)
- Specified by:
insertUpdatein interfacejavax.swing.event.DocumentListener
-
removeUpdate
public void removeUpdate(javax.swing.event.DocumentEvent arg0)
- Specified by:
removeUpdatein interfacejavax.swing.event.DocumentListener
-
-