Package org.openstreetmap.josm.gui.oauth
Class OAuthAuthorizationWizard.AcceptAccessTokenAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.oauth.OAuthAuthorizationWizard.AcceptAccessTokenAction
-
- All Implemented Interfaces:
ActionListener
,PropertyChangeListener
,Serializable
,Cloneable
,EventListener
,Action
- Enclosing class:
- OAuthAuthorizationWizard
class OAuthAuthorizationWizard.AcceptAccessTokenAction extends AbstractAction implements PropertyChangeListener
-
-
Field Summary
-
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 AcceptAccessTokenAction()
Constructs a newAcceptAccessTokenAction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent evt)
void
propertyChange(PropertyChangeEvent evt)
void
updateEnabledState(OAuthToken token)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
AcceptAccessTokenAction
AcceptAccessTokenAction()
Constructs a newAcceptAccessTokenAction
.
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent evt)
- Specified by:
actionPerformed
in interfaceActionListener
-
updateEnabledState
public final void updateEnabledState(OAuthToken token)
-
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
-