Class OsmApiUrlInputPanel.ValidateApiUrlAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.preferences.server.OsmApiUrlInputPanel.ValidateApiUrlAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,DocumentListener
- Enclosing class:
- OsmApiUrlInputPanel
class OsmApiUrlInputPanel.ValidateApiUrlAction extends AbstractAction implements DocumentListener
-
-
Field Summary
Fields Modifier and Type Field Description private String
lastTestedUrl
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
-
Constructor Summary
Constructors Constructor Description ValidateApiUrlAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent arg0)
void
changedUpdate(DocumentEvent arg0)
void
insertUpdate(DocumentEvent arg0)
void
removeUpdate(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 String lastTestedUrl
-
-
Constructor Detail
-
ValidateApiUrlAction
ValidateApiUrlAction()
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent arg0)
- Specified by:
actionPerformed
in interfaceActionListener
-
updateEnabledState
protected final void updateEnabledState()
-
changedUpdate
public void changedUpdate(DocumentEvent arg0)
- Specified by:
changedUpdate
in interfaceDocumentListener
-
insertUpdate
public void insertUpdate(DocumentEvent arg0)
- Specified by:
insertUpdate
in interfaceDocumentListener
-
removeUpdate
public void removeUpdate(DocumentEvent arg0)
- Specified by:
removeUpdate
in interfaceDocumentListener
-
-