public class StreetsidePreferenceSetting extends Object implements SubPreferenceSetting, StreetsideLoginListener
| Modifier and Type | Class and Description |
|---|---|
private static class |
StreetsidePreferenceSetting.LoginAction
Opens the StreetsideOAuthUI window and lets the user log in.
|
private class |
StreetsidePreferenceSetting.LogoutAction
Logs the user out.
|
| Modifier and Type | Field and Description |
|---|---|
private JCheckBox |
cutOffSeq |
private JCheckBox |
developer |
private JCheckBox |
displayHour |
private JComboBox<String> |
downloadModeComboBox |
private JCheckBox |
format24 |
private JCheckBox |
hoverEnabled |
private JCheckBox |
imageLinkToBlurEditor |
private JButton |
loginButton |
private JLabel |
loginLabel |
private JPanel |
loginPanel |
private JButton |
logoutButton |
private JCheckBox |
moveTo |
private SpinnerNumberModel |
preFetchSize |
| Constructor and Description |
|---|
StreetsidePreferenceSetting() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGui(PreferenceTabbedPane gui) |
TabPreferenceSetting |
getTabPreferenceSetting(PreferenceTabbedPane gui) |
boolean |
isExpert() |
boolean |
ok() |
void |
onLogin(String username)
Should be called whenever the user logs into a mapillary account.
|
void |
onLogout()
Should be called whenever the user logs out of a mapillary account.
|
private final JComboBox<String> downloadModeComboBox
private final JCheckBox displayHour
private final JCheckBox hoverEnabled
private final JCheckBox imageLinkToBlurEditor
private final SpinnerNumberModel preFetchSize
private final JButton loginButton
private final JButton logoutButton
private final JLabel loginLabel
private final JPanel loginPanel
public StreetsidePreferenceSetting()
public TabPreferenceSetting getTabPreferenceSetting(PreferenceTabbedPane gui)
getTabPreferenceSetting in interface SubPreferenceSettingpublic void addGui(PreferenceTabbedPane gui)
addGui in interface PreferenceSettingpublic void onLogin(String username)
StreetsideLoginListeneronLogin in interface StreetsideLoginListenerusername - the username that the user is now logged in withpublic void onLogout()
StreetsideLoginListeneronLogout in interface StreetsideLoginListenerpublic boolean ok()
ok in interface PreferenceSettingpublic boolean isExpert()
isExpert in interface PreferenceSetting