public class ScrollBar extends Manipulator
item
Modifier | Constructor and Description |
---|---|
protected |
ScrollBar(TreeViewNode node,
boolean vertical) |
Modifier and Type | Method and Description |
---|---|
boolean |
getEnabled()
Gets or sets a value indicating whether the control
can respond to user interaction.
|
float |
getValue() |
boolean |
needsPointerMessages(android.graphics.PointF point)
Returns whether the manipulator object needs to track pointer events.
|
void |
onPointerDown(android.graphics.PointF pointerPosition)
Manipulator.onPointerDown override.
|
void |
onPointerMove(android.graphics.PointF pointerPosition)
Manipulator.onPointerMove override.
|
void |
onPointerUp(android.graphics.PointF pointerPosition)
Manipulator.onPointerUp override.
|
protected void |
refresh() |
void |
setEnabled(boolean value) |
void |
setLargeChange(float largeChange) |
void |
setMaximum(float max) |
void |
setMinimum(float min) |
void |
setSmallChange(float smallChange) |
void |
setValue(float value) |
drawsInLocalCoordinates, getItem
protected ScrollBar(TreeViewNode node, boolean vertical)
protected void refresh()
public void setValue(float value)
public void setMaximum(float max)
public void setMinimum(float min)
public void setLargeChange(float largeChange)
public void setSmallChange(float smallChange)
public float getValue()
public boolean getEnabled()
public void setEnabled(boolean value)
public void onPointerDown(android.graphics.PointF pointerPosition)
onPointerDown
in class Manipulator
pointerPosition
- A PointF instance that specifies the current touch position.public void onPointerMove(android.graphics.PointF pointerPosition)
onPointerMove
in class Manipulator
pointerPosition
- A PointF instance that specifies the current touch position.public void onPointerUp(android.graphics.PointF pointerPosition)
onPointerUp
in class Manipulator
pointerPosition
- A PointF instance that specifies the current touch position.public boolean needsPointerMessages(android.graphics.PointF point)
needsPointerMessages
in class Manipulator
true
to track touch events; otherwise, false
.