Changeset 11615 in josm for trunk/src/org/openstreetmap/josm/gui/widgets
- Timestamp:
- 2017-02-25T14:46:22+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/ButtonColumn.java
r10755 r11615 1 1 // License: GPL. For details, see LICENSE file. 2 3 2 package org.openstreetmap.josm.gui.widgets; 4 3 … … 19 18 20 19 /** 21 *22 20 * Class based on: http://www.camick.com/java/source/ButtonColumn.java 23 21 * https://tips4java.wordpress.com/2009/07/12/table-button-column/ 24 * 22 * @since 10536 25 23 */ 26 24 public class ButtonColumn extends AbstractCellEditor implements TableCellRenderer, TableCellEditor, ActionListener { … … 38 36 } 39 37 38 /** 39 * Constructs a new {@code ButtonColumn}. 40 * @param action action 41 * @param buttonName button name 42 */ 40 43 public ButtonColumn(Action action, String buttonName) { 41 44 this(action); 42 45 this.buttonName = buttonName; 43 46 } 44 45 47 46 48 /** … … 116 118 return renderButton; 117 119 } 118 119 120 }
Note:
See TracChangeset
for help on using the changeset viewer.