public class StreetsidePreferenceSetting extends java.lang.Object implements org.openstreetmap.josm.gui.preferences.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 javax.swing.JCheckBox |
cutOffSeq |
private javax.swing.JCheckBox |
developer |
private javax.swing.JCheckBox |
displayHour |
private javax.swing.JComboBox<java.lang.String> |
downloadModeComboBox |
private javax.swing.JCheckBox |
format24 |
private javax.swing.JCheckBox |
hoverEnabled |
private javax.swing.JCheckBox |
imageLinkToBlurEditor |
(package private) static org.apache.log4j.Logger |
logger |
private javax.swing.JButton |
loginButton |
private javax.swing.JLabel |
loginLabel |
private javax.swing.JPanel |
loginPanel |
private javax.swing.JButton |
logoutButton |
private javax.swing.JCheckBox |
moveTo |
private javax.swing.SpinnerNumberModel |
preFetchSize |
| Constructor and Description |
|---|
StreetsidePreferenceSetting() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGui(org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane gui) |
org.openstreetmap.josm.gui.preferences.TabPreferenceSetting |
getTabPreferenceSetting(org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane gui) |
boolean |
isExpert() |
boolean |
ok() |
void |
onLogin(java.lang.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.
|
static final org.apache.log4j.Logger logger
private final javax.swing.JComboBox<java.lang.String> downloadModeComboBox
private final javax.swing.JCheckBox displayHour
private final javax.swing.JCheckBox format24
private final javax.swing.JCheckBox moveTo
private final javax.swing.JCheckBox hoverEnabled
private final javax.swing.JCheckBox cutOffSeq
private final javax.swing.JCheckBox imageLinkToBlurEditor
private final javax.swing.JCheckBox developer
private final javax.swing.SpinnerNumberModel preFetchSize
private final javax.swing.JButton loginButton
private final javax.swing.JButton logoutButton
private final javax.swing.JLabel loginLabel
private final javax.swing.JPanel loginPanel
public StreetsidePreferenceSetting()
public org.openstreetmap.josm.gui.preferences.TabPreferenceSetting getTabPreferenceSetting(org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane gui)
getTabPreferenceSetting in interface org.openstreetmap.josm.gui.preferences.SubPreferenceSettingpublic void addGui(org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane gui)
addGui in interface org.openstreetmap.josm.gui.preferences.PreferenceSettingpublic void onLogin(java.lang.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 org.openstreetmap.josm.gui.preferences.PreferenceSettingpublic boolean isExpert()
isExpert in interface org.openstreetmap.josm.gui.preferences.PreferenceSetting