public class DrawingPreference extends Object implements SubPreferenceSetting
| Modifier and Type | Class and Description |
|---|---|
static class |
DrawingPreference.Factory |
| Modifier and Type | Field and Description |
|---|---|
private JCheckBox |
directionHint |
private JCheckBox |
discardableKeys |
private JCheckBox |
drawHelperLine |
private GPXSettingsPanel |
gpxPanel |
private JCheckBox |
headArrow |
private JCheckBox |
inactive |
private JCheckBox |
onewayArrow |
private JCheckBox |
outlineOnly |
private JCheckBox |
segmentOrderNumber |
private JCheckBox |
sourceBounds |
private JCheckBox |
useAntialiasing |
private JCheckBox |
useHighlighting |
private JCheckBox |
useWireframeAntialiasing |
private JCheckBox |
virtualNodes |
| Constructor and Description |
|---|
DrawingPreference() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGui(PreferenceTabbedPane gui)
Add the GUI elements to the dialog.
|
TabPreferenceSetting |
getTabPreferenceSetting(PreferenceTabbedPane gui)
Returns the preference setting (displayed in the specified preferences tab pane) that contains this preference setting.
|
boolean |
isExpert()
Called to know if the preferences tab has only to be displayed in expert mode.
|
boolean |
ok()
Called when OK is pressed to save the setting in the preferences file.
|
private GPXSettingsPanel gpxPanel
private JCheckBox directionHint
private JCheckBox onewayArrow
private JCheckBox segmentOrderNumber
private JCheckBox sourceBounds
private JCheckBox virtualNodes
private JCheckBox discardableKeys
private JCheckBox useHighlighting
private JCheckBox drawHelperLine
private JCheckBox useAntialiasing
private JCheckBox useWireframeAntialiasing
private JCheckBox outlineOnly
public DrawingPreference()
public void addGui(PreferenceTabbedPane gui)
PreferenceSettingaddGui in interface PreferenceSettingpublic boolean ok()
PreferenceSettingok in interface PreferenceSettingpublic boolean isExpert()
PreferenceSettingisExpert in interface PreferenceSettingpublic TabPreferenceSetting getTabPreferenceSetting(PreferenceTabbedPane gui)
SubPreferenceSettinggetTabPreferenceSetting in interface SubPreferenceSetting