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

see #14794 - javadoc

Location:
trunk/src/org/openstreetmap/josm/gui/history
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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)
Note: See TracChangeset for help on using the changeset viewer.