Ignore:
Timestamp:
2015-12-02T00:05:09+01:00 (8 years ago)
Author:
Don-vip
Message:

sonar - Immutable Field

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/display/GPXSettingsPanel.java

    r8540 r9078  
    4444
    4545
    46     private JRadioButton drawRawGpsLinesGlobal = new JRadioButton(tr("Use global settings"));
    47     private JRadioButton drawRawGpsLinesAll = new JRadioButton(tr("All"));
    48     private JRadioButton drawRawGpsLinesLocal = new JRadioButton(tr("Local files"));
    49     private JRadioButton drawRawGpsLinesNone = new JRadioButton(tr("None"));
     46    private final JRadioButton drawRawGpsLinesGlobal = new JRadioButton(tr("Use global settings"));
     47    private final JRadioButton drawRawGpsLinesAll = new JRadioButton(tr("All"));
     48    private final JRadioButton drawRawGpsLinesLocal = new JRadioButton(tr("Local files"));
     49    private final JRadioButton drawRawGpsLinesNone = new JRadioButton(tr("None"));
    5050    private transient ActionListener drawRawGpsLinesActionListener;
    51     private JosmTextField drawRawGpsMaxLineLength = new JosmTextField(8);
    52     private JosmTextField drawRawGpsMaxLineLengthLocal = new JosmTextField(8);
    53     private JosmTextField drawLineWidth = new JosmTextField(2);
    54     private JCheckBox forceRawGpsLines = new JCheckBox(tr("Force lines if no segments imported"));
    55     private JCheckBox largeGpsPoints = new JCheckBox(tr("Draw large GPS points"));
    56     private JCheckBox hdopCircleGpsPoints = new JCheckBox(tr("Draw a circle from HDOP value"));
    57     private JRadioButton colorTypeVelocity = new JRadioButton(tr("Velocity (red = slow, green = fast)"));
    58     private JRadioButton colorTypeDirection = new JRadioButton(tr("Direction (red = west, yellow = north, green = east, blue = south)"));
    59     private JRadioButton colorTypeDilution = new JRadioButton(tr("Dilution of Position (red = high, green = low, if available)"));
    60     private JRadioButton colorTypeTime = new JRadioButton(tr("Track date"));
    61     private JRadioButton colorTypeNone = new JRadioButton(tr("Single Color (can be customized for named layers)"));
    62     private JRadioButton colorTypeGlobal  = new JRadioButton(tr("Use global settings"));
    63     private JosmComboBox<String> colorTypeVelocityTune = new JosmComboBox<>(new String[] {tr("Car"), tr("Bicycle"), tr("Foot")});
    64     private JCheckBox makeAutoMarkers = new JCheckBox(tr("Create markers when reading GPX"));
    65     private JCheckBox drawGpsArrows = new JCheckBox(tr("Draw Direction Arrows"));
    66     private JCheckBox drawGpsArrowsFast = new JCheckBox(tr("Fast drawing (looks uglier)"));
    67     private JosmTextField drawGpsArrowsMinDist = new JosmTextField(8);
    68     private JCheckBox colorDynamic = new JCheckBox(tr("Dynamic color range based on data limits"));
    69     private JosmComboBox<String> waypointLabel = new JosmComboBox<>(LABEL_PATTERN_DESC);
    70     private JosmTextField waypointLabelPattern = new JosmTextField();
    71     private JosmComboBox<String> audioWaypointLabel = new JosmComboBox<>(LABEL_PATTERN_DESC);
    72     private JosmTextField audioWaypointLabelPattern = new JosmTextField();
    73     private JCheckBox useGpsAntialiasing = new JCheckBox(tr("Smooth GPX graphics (antialiasing)"));
     51    private final JosmTextField drawRawGpsMaxLineLength = new JosmTextField(8);
     52    private final JosmTextField drawRawGpsMaxLineLengthLocal = new JosmTextField(8);
     53    private final JosmTextField drawLineWidth = new JosmTextField(2);
     54    private final JCheckBox forceRawGpsLines = new JCheckBox(tr("Force lines if no segments imported"));
     55    private final JCheckBox largeGpsPoints = new JCheckBox(tr("Draw large GPS points"));
     56    private final JCheckBox hdopCircleGpsPoints = new JCheckBox(tr("Draw a circle from HDOP value"));
     57    private final JRadioButton colorTypeVelocity = new JRadioButton(tr("Velocity (red = slow, green = fast)"));
     58    private final JRadioButton colorTypeDirection = new JRadioButton(tr("Direction (red = west, yellow = north, green = east, blue = south)"));
     59    private final JRadioButton colorTypeDilution = new JRadioButton(tr("Dilution of Position (red = high, green = low, if available)"));
     60    private final JRadioButton colorTypeTime = new JRadioButton(tr("Track date"));
     61    private final JRadioButton colorTypeNone = new JRadioButton(tr("Single Color (can be customized for named layers)"));
     62    private final JRadioButton colorTypeGlobal  = new JRadioButton(tr("Use global settings"));
     63    private final JosmComboBox<String> colorTypeVelocityTune = new JosmComboBox<>(new String[] {tr("Car"), tr("Bicycle"), tr("Foot")});
     64    private final JCheckBox makeAutoMarkers = new JCheckBox(tr("Create markers when reading GPX"));
     65    private final JCheckBox drawGpsArrows = new JCheckBox(tr("Draw Direction Arrows"));
     66    private final JCheckBox drawGpsArrowsFast = new JCheckBox(tr("Fast drawing (looks uglier)"));
     67    private final JosmTextField drawGpsArrowsMinDist = new JosmTextField(8);
     68    private final JCheckBox colorDynamic = new JCheckBox(tr("Dynamic color range based on data limits"));
     69    private final JosmComboBox<String> waypointLabel = new JosmComboBox<>(LABEL_PATTERN_DESC);
     70    private final JosmTextField waypointLabelPattern = new JosmTextField();
     71    private final JosmComboBox<String> audioWaypointLabel = new JosmComboBox<>(LABEL_PATTERN_DESC);
     72    private final JosmTextField audioWaypointLabelPattern = new JosmTextField();
     73    private final JCheckBox useGpsAntialiasing = new JCheckBox(tr("Smooth GPX graphics (antialiasing)"));
    7474
    7575    private String layerName;
Note: See TracChangeset for help on using the changeset viewer.