Changeset 12615 in josm for trunk/src/org


Ignore:
Timestamp:
2017-08-20T16:56:12+02:00 (7 years ago)
Author:
bastiK
Message:

see #14794 - javadoc

Location:
trunk/src/org/openstreetmap/josm/gui
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/RecentTagCollection.java

    r11366 r12615  
    1313import org.openstreetmap.josm.data.preferences.CollectionProperty;
    1414
     15/**
     16 * Manages list of recently used tags that will be displayed in the {@link PropertiesDialog}.
     17 */
    1518class RecentTagCollection {
    1619
  • trunk/src/org/openstreetmap/josm/gui/history/NodeListTableCellRenderer.java

    r10308 r12615  
    1616import org.openstreetmap.josm.tools.ImageProvider;
    1717
     18/**
     19 * A {@link TableCellRenderer} for the {@link NodeListViewer}.
     20 *
     21 * Renders information about a node when comparing the node list of two
     22 * historical versions of a way.
     23 */
    1824public class NodeListTableCellRenderer extends JLabel implements TableCellRenderer {
    1925
  • trunk/src/org/openstreetmap/josm/gui/history/SelectionSynchronizer.java

    r10755 r12615  
    1010import javax.swing.event.ListSelectionListener;
    1111
     12/**
     13 * Helper class to ensure that two (or more) {@link javax.swing.JTable}s always
     14 * have the same entries selected.
     15 *
     16 * The tables are usually displayed side-by-side.
     17 */
    1218public class SelectionSynchronizer implements ListSelectionListener {
    1319
     
    2228    }
    2329
     30    /**
     31     * Add {@link ListSelectionModel} of the table to participate in selection
     32     * synchronization.
     33     *
     34     * Call this method for all tables that should have their selection synchronized.
     35     * @param model the selection model of the table
     36     */
    2437    public void participateInSynchronizedSelection(ListSelectionModel model) {
    2538        if (model == null)
  • trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/Roles.java

    r11989 r12615  
    2323import org.xml.sax.SAXException;
    2424
     25/**
     26 * The <code>roles</code> element in tagging presets definition.
     27 * <p>
     28 * A list of {@link Role} elements. Describes the roles that are expected for
     29 * the members of a relation.
     30 * <p>
     31 * Used for data validation, auto completion, among others.
     32 */
    2533public class Roles extends TaggingPresetItem {
    2634
     35    /**
     36     * The <code>role</code> element in tagging preset definition.
     37     *
     38     * Information on a certain role, which is expected for the relation members.
     39     */
    2740    public static class Role {
    2841        public Set<TaggingPresetType> types; // NOSONAR
Note: See TracChangeset for help on using the changeset viewer.