- Timestamp:
- 2017-04-17T04:49:58+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/VerticallyScrollablePanel.java
r11457 r11941 21 21 } 22 22 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 */ 23 28 public VerticallyScrollablePanel(boolean isDoubleBuffered) { 24 29 super(isDoubleBuffered); 25 30 } 26 31 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 */ 27 38 public VerticallyScrollablePanel(LayoutManager layout, boolean isDoubleBuffered) { 28 39 super(layout, isDoubleBuffered); 29 40 } 30 41 42 /** 43 * Constructs a new {@code VerticallyScrollablePanel}. 44 * @param layout the LayoutManager to use 45 */ 31 46 public VerticallyScrollablePanel(LayoutManager layout) { 32 47 super(layout); … … 63 78 64 79 @Override 65 public int getScrollableUnitIncrement(Rectangle arg0, int arg1, int arg2) {80 public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { 66 81 return 10; 67 82 }
Note:
See TracChangeset
for help on using the changeset viewer.