Changeset 13076 in josm for trunk/src/org/openstreetmap/josm/gui/widgets
- Timestamp:
- 2017-11-04T11:19:54+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/PopupMenuButton.java
r12955 r13076 6 6 import java.awt.Graphics; 7 7 import java.awt.Graphics2D; 8 import java.awt.event.ActionEvent; 8 9 import java.awt.event.ActionListener; 9 import java.awt.event.ActionEvent;10 10 import java.awt.geom.Path2D; 11 11 … … 23 23 24 24 /** 25 * Constructs a new {@code PopupMenuButton}. 25 26 * @see JButton#JButton() 26 27 */ … … 31 32 32 33 /** 34 * Constructs a new {@code PopupMenuButton}. 35 * @param a the <code>Action</code> used to specify the new button 33 36 * @see JButton#JButton(Action) 34 37 */ … … 39 42 40 43 /** 44 * Constructs a new {@code PopupMenuButton}. 45 * @param i the Icon image to display on the button 41 46 * @see JButton#JButton(Icon) 42 47 */ … … 47 52 48 53 /** 54 * Constructs a new {@code PopupMenuButton}. 55 * @param t the text of the button 49 56 * @see JButton#JButton(String) 50 57 */ … … 55 62 56 63 /** 64 * Constructs a new {@code PopupMenuButton}. 65 * @param t the text of the button 66 * @param i the Icon image to display on the button 57 67 * @see JButton#JButton(String, Icon) 58 68 */ … … 64 74 /** 65 75 * Pass-through to {@link JButton#JButton()} allowing associated popup menu to be set 76 * @param m the associated popup menu 66 77 */ 67 78 public PopupMenuButton(JPopupMenu m) { … … 72 83 /** 73 84 * Pass-through to {@link JButton#JButton(Action)} allowing associated popup menu to be set 85 * @param a the <code>Action</code> used to specify the new button 86 * @param m the associated popup menu 74 87 */ 75 88 public PopupMenuButton(Action a, JPopupMenu m) { … … 80 93 /** 81 94 * Pass-through to {@link JButton#JButton(Icon)} allowing associated popup menu to be set 95 * @param i the Icon image to display on the button 96 * @param m the associated popup menu 82 97 */ 83 98 public PopupMenuButton(Icon i, JPopupMenu m) { … … 88 103 /** 89 104 * Pass-through to {@link JButton#JButton(String)} allowing associated popup menu to be set 105 * @param t the text of the button 106 * @param m the associated popup menu 90 107 */ 91 108 public PopupMenuButton(String t, JPopupMenu m) { … … 96 113 /** 97 114 * Pass-through to {@link JButton#JButton(String, Icon)} allowing associated popup menu to be set 115 * @param t the text of the button 116 * @param i the Icon image to display on the button 117 * @param m the associated popup menu 98 118 */ 99 119 public PopupMenuButton(String t, Icon i, JPopupMenu m) { … … 113 133 /** 114 134 * Get the popup menu associated with this button 135 * @return the popup menu associated with this button 115 136 */ 116 137 public JPopupMenu getPopupMenu() {
Note:
See TracChangeset
for help on using the changeset viewer.