Changeset 13188 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-12-03T16:06:09+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/SideButton.java
r13187 r13188 4 4 import java.awt.BorderLayout; 5 5 import java.awt.Color; 6 import java.awt.Image;7 6 import java.awt.Insets; 8 7 import java.awt.event.ActionListener; 9 8 import java.beans.PropertyChangeListener; 10 9 10 import javax.swing.AbstractAction; 11 11 import javax.swing.Action; 12 12 import javax.swing.BorderFactory; 13 import javax.swing.Icon;14 import javax.swing.ImageIcon;15 13 import javax.swing.JButton; 16 14 import javax.swing.SwingConstants; … … 20 18 import org.openstreetmap.josm.tools.ImageProvider; 21 19 import org.openstreetmap.josm.tools.ImageResource; 22 import org.openstreetmap.josm.tools.JosmRuntimeException;23 import org.openstreetmap.josm.tools.Logging;24 20 25 21 /** … … 34 30 * Constructs a new {@code SideButton}. 35 31 * @param action action used to specify the new button 36 * an icon must be provided with {@link ImageResource#attachImageIcon(AbstractAction this, boolean true)}32 * an icon must be provided with {@link ImageResource#attachImageIcon(AbstractAction, boolean)} 37 33 * @throws IllegalArgumentException if no icon provided 38 34 * @since 744
Note:
See TracChangeset
for help on using the changeset viewer.