public class DrawingPreference extends java.lang.Object implements SubPreferenceSetting
Modifier and Type | Class and Description |
---|---|
static class |
DrawingPreference.Factory
Factory used to create a new
DrawingPreference . |
Modifier and Type | Field and Description |
---|---|
private javax.swing.JCheckBox |
directionHint |
private javax.swing.JCheckBox |
discardableKeys |
private javax.swing.JCheckBox |
drawHelperLine |
private GPXSettingsPanel |
gpxPanel |
private javax.swing.JCheckBox |
headArrow |
private javax.swing.JCheckBox |
inactive |
private javax.swing.JCheckBox |
onewayArrow |
private javax.swing.JCheckBox |
outlineOnly |
private javax.swing.JCheckBox |
segmentOrderNumber |
private javax.swing.JCheckBox |
sourceBounds |
private javax.swing.JCheckBox |
useAntialiasing |
private javax.swing.JCheckBox |
useHighlighting |
private javax.swing.JCheckBox |
useWireframeAntialiasing |
private javax.swing.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 javax.swing.JCheckBox directionHint
private javax.swing.JCheckBox headArrow
private javax.swing.JCheckBox onewayArrow
private javax.swing.JCheckBox segmentOrderNumber
private javax.swing.JCheckBox sourceBounds
private javax.swing.JCheckBox virtualNodes
private javax.swing.JCheckBox inactive
private javax.swing.JCheckBox discardableKeys
private javax.swing.JCheckBox useHighlighting
private javax.swing.JCheckBox drawHelperLine
private javax.swing.JCheckBox useAntialiasing
private javax.swing.JCheckBox useWireframeAntialiasing
private javax.swing.JCheckBox outlineOnly
public DrawingPreference()
public void addGui(PreferenceTabbedPane gui)
PreferenceSetting
addGui
in interface PreferenceSetting
public boolean ok()
PreferenceSetting
ok
in interface PreferenceSetting
public boolean isExpert()
PreferenceSetting
isExpert
in interface PreferenceSetting
public TabPreferenceSetting getTabPreferenceSetting(PreferenceTabbedPane gui)
SubPreferenceSetting
getTabPreferenceSetting
in interface SubPreferenceSetting