< prev index next >
core/JemmyCore/src/org/jemmy/input/KnobDragScrollerImpl.java
Print this page
@@ -47,43 +47,26 @@
Wrap<?> wrap;
Scroll scroll;
float dragDelta = 1;
boolean reverse;
- /**
- *
- * @param wrap
- * @param scroll
- */
public KnobDragScrollerImpl(Wrap<?> wrap, Scroll scroll) {
this.wrap = wrap;
this.scroll = scroll;
}
public KnobDragScrollerImpl(Wrap<?> wrap, Scroll scroll, boolean reverse) {
this(wrap, scroll);
this.reverse = reverse;
}
- /**
- *
- * @return
- */
public Wrap<?> getWrap() {
return wrap;
}
- /**
- *
- * @return
- */
public abstract Vector getScrollVector();
- /**
- *
- * @param dragDelta
- */
public void setDragDelta(float dragDelta) {
this.dragDelta = dragDelta;
}
private void toKnob(Wrap<?> knob, Point inWrap) {
@@ -164,11 +147,8 @@
p.translate(clickPoint.x, clickPoint.y);
knob.drag().dnd(clickPoint, knob, p);
}
*
*/
- /**
- *
- * @return
- */
+
protected abstract Wrap<?> getKnob();
}
< prev index next >