Ignore:
Timestamp:
2017-06-02T23:21:03+02:00 (7 years ago)
Author:
michael2402
Message:

Javadoc for public methods / classes in gui.util and gui.widgets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/widgets/SelectAllOnFocusGainedDecorator.java

    r9059 r12304  
    88import javax.swing.text.JTextComponent;
    99
     10/**
     11 * A helper class that selects all text as soon as a {@link JTextComponent} receives focus.
     12 */
    1013public class SelectAllOnFocusGainedDecorator extends FocusAdapter {
    1114
     15    /**
     16     * Add the listener to a given text component.
     17     * @param tc The text component.
     18     */
    1219    public static void decorate(JTextComponent tc) {
    1320        if (tc == null) return;
Note: See TracChangeset for help on using the changeset viewer.