public class SliderWidget extends LayoutWidget implements MapWidget2.OnWidgetSizeChangedListener
LayoutWidget.Factory, LayoutWidget.OnBackingColorChangedListener, LayoutWidget.OnDragEnabledChangedListener
AbstractParentWidget.OnWidgetListChangedListener
MapWidget2.OnWidgetSizeChangedListener
MapWidget.OnClickListener, MapWidget.OnLongPressListener, MapWidget.OnMoveListener, MapWidget.OnPressListener, MapWidget.OnUnpressListener, MapWidget.OnVisibleChangedListener, MapWidget.OnWidgetPointChangedListener
Constructor and Description |
---|
SliderWidget(MapView mapView) |
Modifier and Type | Method and Description |
---|---|
float |
getSliderMax() |
void |
onWidgetSizeChanged(MapWidget2 parent) |
MapWidget |
seekHit(android.view.MotionEvent event,
float x,
float y) |
boolean |
setHeight(float height) |
void |
setParent(AbstractParentWidget parent) |
void |
setPoint(float x,
float y) |
void |
setSliderValue(float value) |
addOnBackingColorChangedListener, addOnDragEnabledChangedListener, fadeAlpha, getAlpha, getBackingColor, getDragEnabled, getNinePatchBG, isFadingAlpha, onBackingColorChanged, onDragEnabledChanged, removeOnBackingColorChangedListener, removeOnDragEnabledChangedListener, setAlpha, setBackingColor, setDragEnabled, setNinePatchBG
addChildWidget, addChildWidgetAt, addOnWidgetListChangedListener, addWidget, addWidgetAt, findWidget, getChildAt, getChildCount, getChildren, getChildWidgetAt, getChildWidgetCount, getChildWidgets, getParent, getSortedChildrenWidgets, getSortedWidgets, onActionBarToggled, onChildWidgetCanBeAdded, onWidgetAdded, onWidgetAdded, onWidgetCanBeAdded, onWidgetRemoved, onWidgetRemoved, orientationChanged, removeChildWidget, removeChildWidgetAt, removeOnWidgetListChangedListener, removeWidget, removeWidgetAt, seekHit, seekWidgetHit, setZOrder
addOnWidgetSizeChangedListener, getSize, onSizeChanged, removeOnWidgetSizeChangedListener, testHit
addOnClickListener, addOnHoverListener, addOnLongPressListener, addOnMoveListener, addOnPressListener, addOnUnpressListener, addOnVisibleChangedListener, addOnWidgetPointChangedListener, equals, getAbsolutePath, getAbsolutePosition, getAbsoluteWidgetPosition, getHeight, getMargins, getName, getPadding, getPointX, getPointY, getPropertyValue, getSize, getWidth, getZOrder, hashCode, isEnterable, isTouchable, isVisible, onClick, onClick, onHover, onLongPress, onMove, onMove, onPointChanged, onPress, onPress, onUnpress, onUnpress, onVisibleChanged, registerForwardedListener, removeOnClickListener, removeOnHoverListener, removeOnLongPressListener, removeOnMoveListener, removeOnPressListener, removeOnUnpressListener, removeOnVisibleChangedListener, removeOnWidgetPointChangedListener, setMargins, setName, setPadding, setPadding, setSize, setTouchable, setVisible, setWidth, unregisterForwardedListener, visitPropertyInfos
public SliderWidget(MapView mapView)
public void setParent(AbstractParentWidget parent)
public void onWidgetSizeChanged(MapWidget2 parent)
onWidgetSizeChanged
in interface MapWidget2.OnWidgetSizeChangedListener
public MapWidget seekHit(android.view.MotionEvent event, float x, float y)
seekHit
in class MapWidget2
public void setSliderValue(float value)
public float getSliderMax()