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.String
lastTestedUrl
-
Constructor Summary
Constructors Constructor Description ValidateApiUrlAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent arg0)
void
changedUpdate(javax.swing.event.DocumentEvent arg0)
void
insertUpdate(javax.swing.event.DocumentEvent arg0)
void
removeUpdate(javax.swing.event.DocumentEvent arg0)
protected void
updateEnabledState()
-
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:
actionPerformed
in interfacejava.awt.event.ActionListener
-
updateEnabledState
protected final void updateEnabledState()
-
changedUpdate
public void changedUpdate(javax.swing.event.DocumentEvent arg0)
- Specified by:
changedUpdate
in interfacejavax.swing.event.DocumentListener
-
insertUpdate
public void insertUpdate(javax.swing.event.DocumentEvent arg0)
- Specified by:
insertUpdate
in interfacejavax.swing.event.DocumentListener
-
removeUpdate
public void removeUpdate(javax.swing.event.DocumentEvent arg0)
- Specified by:
removeUpdate
in interfacejavax.swing.event.DocumentListener
-
-