Changeset 6767 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/advanced/StringEditor.java
- Timestamp:
- 2014-01-29T16:18:16+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/advanced/StringEditor.java
r6021 r6767 5 5 6 6 import java.awt.GridBagLayout; 7 7 8 import javax.swing.JComponent; 8 9 9 import javax.swing.JLabel; 10 10 import javax.swing.JPanel; … … 15 15 import org.openstreetmap.josm.tools.GBC; 16 16 17 /** 18 * Editor for String preference entries. 19 */ 17 20 public class StringEditor extends ExtendedDialog { 18 21 … … 20 23 JosmTextField tvalue; 21 24 25 /** 26 * Constructs a new {@code StringEditor}. 27 * @param gui The parent component 28 */ 22 29 public StringEditor(final JComponent gui, PrefEntry entry, StringSetting setting) { 23 30 super(gui, tr("Change string setting"), new String[] {tr("OK"), tr("Cancel")}); … … 27 34 } 28 35 36 /** 37 * Returns the data. 38 * @return the preference data 39 */ 29 40 public String getData() { 30 41 return tvalue.getText();
Note:
See TracChangeset
for help on using the changeset viewer.