Ignore:
Timestamp:
2017-11-04T11:19:54+01:00 (6 years ago)
Author:
Don-vip
Message:

see #15560 - fix javadoc warnings with recent JDKs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/widgets/PopupMenuButton.java

    r12955 r13076  
    66import java.awt.Graphics;
    77import java.awt.Graphics2D;
     8import java.awt.event.ActionEvent;
    89import java.awt.event.ActionListener;
    9 import java.awt.event.ActionEvent;
    1010import java.awt.geom.Path2D;
    1111
     
    2323
    2424    /**
     25     * Constructs a new {@code PopupMenuButton}.
    2526     * @see JButton#JButton()
    2627     */
     
    3132
    3233    /**
     34     * Constructs a new {@code PopupMenuButton}.
     35     * @param a the <code>Action</code> used to specify the new button
    3336     * @see JButton#JButton(Action)
    3437     */
     
    3942
    4043    /**
     44     * Constructs a new {@code PopupMenuButton}.
     45     * @param i the Icon image to display on the button
    4146     * @see JButton#JButton(Icon)
    4247     */
     
    4752
    4853    /**
     54     * Constructs a new {@code PopupMenuButton}.
     55     * @param t the text of the button
    4956     * @see JButton#JButton(String)
    5057     */
     
    5562
    5663    /**
     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
    5767     * @see JButton#JButton(String, Icon)
    5868     */
     
    6474    /**
    6575     * Pass-through to {@link JButton#JButton()} allowing associated popup menu to be set
     76     * @param m the associated popup menu
    6677     */
    6778    public PopupMenuButton(JPopupMenu m) {
     
    7283    /**
    7384     * 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
    7487     */
    7588    public PopupMenuButton(Action a, JPopupMenu m) {
     
    8093    /**
    8194     * 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
    8297     */
    8398    public PopupMenuButton(Icon i, JPopupMenu m) {
     
    88103    /**
    89104     * 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
    90107     */
    91108    public PopupMenuButton(String t, JPopupMenu m) {
     
    96113    /**
    97114     * 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
    98118     */
    99119    public PopupMenuButton(String t, Icon i, JPopupMenu m) {
     
    113133    /**
    114134     * Get the popup menu associated with this button
     135     * @return the popup menu associated with this button
    115136     */
    116137    public JPopupMenu getPopupMenu() {
Note: See TracChangeset for help on using the changeset viewer.