public class OAuth1GetTokenForm extends Object implements OAuth1TokenStatusChangeListener
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCESS_TOKEN_URI_TITLE |
protected JDialog |
accessTokenDialog |
protected JLabel |
accessTokenStatusText |
static String |
AUTHORIZATION_URI_TITLE |
protected static Color |
CARD_BORDER_COLOR |
static String |
CONSUMER_KEY_TITLE |
static String |
CONSUMER_SECRET_TITLE |
protected static String |
GET_ACCESS_TOKEN_FORM_LAYOUT |
protected OAuth1Profile |
profile |
static String |
REDIRECT_URI_TITLE |
protected OAuth1TokenStatusChangeManager |
statusChangeManager |
static String |
TEMPORARY_TOKEN_URI_TITLE |
| Constructor and Description |
|---|
OAuth1GetTokenForm(OAuth1Profile profile) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeGetAccessTokenDialog() |
protected PropertyComponent |
createGetAccessTokenButton() |
JDialog |
getComponent() |
OAuth1Profile |
getProfile() |
protected AccessTokenStatusConfig.Enum |
getTokenStatus() |
protected void |
initStatusChangeManager() |
protected void |
initTokenStatus() |
void |
onAccessTokenStatusChanged(AccessTokenStatusConfig.Enum status) |
void |
onTokenSecretStatusChanged(AccessTokenStatusConfig.Enum status) |
protected void |
populateGetAccessTokenForm(SimpleBindingForm accessTokenForm) |
protected static final String GET_ACCESS_TOKEN_FORM_LAYOUT
protected static final Color CARD_BORDER_COLOR
public static final String CONSUMER_KEY_TITLE
public static final String CONSUMER_SECRET_TITLE
public static final String TEMPORARY_TOKEN_URI_TITLE
public static final String ACCESS_TOKEN_URI_TITLE
public static final String AUTHORIZATION_URI_TITLE
public static final String REDIRECT_URI_TITLE
protected JLabel accessTokenStatusText
protected JDialog accessTokenDialog
protected OAuth1Profile profile
protected OAuth1TokenStatusChangeManager statusChangeManager
public OAuth1GetTokenForm(OAuth1Profile profile)
public void onAccessTokenStatusChanged(@Nonnull AccessTokenStatusConfig.Enum status)
onAccessTokenStatusChanged in interface OAuth1TokenStatusChangeListenerpublic void onTokenSecretStatusChanged(@Nonnull AccessTokenStatusConfig.Enum status)
onTokenSecretStatusChanged in interface OAuth1TokenStatusChangeListener@Nonnull public OAuth1Profile getProfile()
getProfile in interface OAuth1TokenStatusChangeListenerprotected void closeGetAccessTokenDialog()
protected void initStatusChangeManager()
protected void initTokenStatus()
public JDialog getComponent()
protected AccessTokenStatusConfig.Enum getTokenStatus()
protected void populateGetAccessTokenForm(SimpleBindingForm accessTokenForm)
protected PropertyComponent createGetAccessTokenButton()
Copyright © 2019. All Rights Reserved.