Ignore:
Timestamp:
2014-01-29T16:18:16+01:00 (12 years ago)
Author:
Don-vip
Message:

javadoc for gui.preferences.advanced package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/advanced/StringEditor.java

    r6021 r6767  
    55
    66import java.awt.GridBagLayout;
     7
    78import javax.swing.JComponent;
    8 
    99import javax.swing.JLabel;
    1010import javax.swing.JPanel;
     
    1515import org.openstreetmap.josm.tools.GBC;
    1616
     17/**
     18 * Editor for String preference entries.
     19 */
    1720public class StringEditor extends ExtendedDialog {
    1821
     
    2023    JosmTextField tvalue;
    2124
     25    /**
     26     * Constructs a new {@code StringEditor}.
     27     * @param gui The parent component
     28     */
    2229    public StringEditor(final JComponent gui, PrefEntry entry, StringSetting setting) {
    2330        super(gui, tr("Change string setting"), new String[] {tr("OK"), tr("Cancel")});
     
    2734    }
    2835
     36    /**
     37     * Returns the data.
     38     * @return the preference data
     39     */
    2940    public String getData() {
    3041        return tvalue.getText();
Note: See TracChangeset for help on using the changeset viewer.