Changeset 11941 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2017-04-17T04:49:58+02:00 (7 years ago)
Author:
Don-vip
Message:

sonar - fb-contrib:IMC_IMMATURE_CLASS_IDE_GENERATED_PARAMETER_NAMES - Style - Method uses IDE generated parameter names

File:
1 edited

Legend:

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

    r11457 r11941  
    2121    }
    2222
     23    /**
     24     * Constructs a new {@code VerticallyScrollablePanel}.
     25     * @param isDoubleBuffered  a boolean, true for double-buffering, which
     26     *        uses additional memory space to achieve fast, flicker-free updates
     27     */
    2328    public VerticallyScrollablePanel(boolean isDoubleBuffered) {
    2429        super(isDoubleBuffered);
    2530    }
    2631
     32    /**
     33     * Constructs a new {@code VerticallyScrollablePanel}.
     34     * @param layout  the LayoutManager to use
     35     * @param isDoubleBuffered  a boolean, true for double-buffering, which
     36     *        uses additional memory space to achieve fast, flicker-free updates
     37     */
    2738    public VerticallyScrollablePanel(LayoutManager layout, boolean isDoubleBuffered) {
    2839        super(layout, isDoubleBuffered);
    2940    }
    3041
     42    /**
     43     * Constructs a new {@code VerticallyScrollablePanel}.
     44     * @param layout  the LayoutManager to use
     45     */
    3146    public VerticallyScrollablePanel(LayoutManager layout) {
    3247        super(layout);
     
    6378
    6479    @Override
    65     public int getScrollableUnitIncrement(Rectangle arg0, int arg1, int arg2) {
     80    public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) {
    6681        return 10;
    6782    }
Note: See TracChangeset for help on using the changeset viewer.