Changeset 11747 in josm for trunk/src/org/openstreetmap/josm/gui/ExtendedDialog.java
- Timestamp:
- 2017-03-19T15:55:27+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/ExtendedDialog.java
r11105 r11747 131 131 * @param buttonTexts String Array of the text that will appear on the buttons. The first button is the default one. 132 132 */ 133 public ExtendedDialog(Component parent, String title, String ... buttonTexts) {133 public ExtendedDialog(Component parent, String title, String... buttonTexts) { 134 134 this(parent, title, buttonTexts, true, true); 135 135 } … … 178 178 * @return {@code this} 179 179 */ 180 public ExtendedDialog setButtonIcons(Icon ... buttonIcons) {180 public ExtendedDialog setButtonIcons(Icon... buttonIcons) { 181 181 this.bIcons = Utils.copyArray(buttonIcons); 182 182 return this; … … 188 188 * @return {@code this} 189 189 */ 190 public ExtendedDialog setButtonIcons(String ... buttonIcons) {190 public ExtendedDialog setButtonIcons(String... buttonIcons) { 191 191 bIcons = new Icon[buttonIcons.length]; 192 192 for (int i = 0; i < buttonIcons.length; ++i) { … … 203 203 * @return {@code this} 204 204 */ 205 public ExtendedDialog setToolTipTexts(String ... toolTipTexts) {205 public ExtendedDialog setToolTipTexts(String... toolTipTexts) { 206 206 this.bToolTipTexts = Utils.copyArray(toolTipTexts); 207 207 return this;
Note:
See TracChangeset
for help on using the changeset viewer.
