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:
java.awt.event.ActionListener,java.beans.PropertyChangeListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
- Enclosing class:
- OAuthAuthorizationWizard
class OAuthAuthorizationWizard.AcceptAccessTokenAction extends javax.swing.AbstractAction implements java.beans.PropertyChangeListener
-
-
Constructor Summary
Constructors Constructor Description AcceptAccessTokenAction()Constructs a newAcceptAccessTokenAction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent evt)voidpropertyChange(java.beans.PropertyChangeEvent evt)voidupdateEnabledState(IOAuthToken token)Update the enabled state-
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(java.awt.event.ActionEvent evt)
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
-
updateEnabledState
public final void updateEnabledState(IOAuthToken token)
Update the enabled state- Parameters:
token- The token to use- Since:
- 18991
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChangein interfacejava.beans.PropertyChangeListener
-
-