@JsType(namespace="xgl") public class Slider extends Widget<HTMLDivElement,Slider> implements MouseDownHandler<Slider>, TouchStartHandler<Slider>, TouchEndHandler<Slider>, TouchMoveHandler<Slider>, TouchCancelHandler<Slider>, ContextMenuHandler<Slider>
contextMenu, contextMenuHandlerRegistration, currentHeight, currentWidth, enabled, NATIVE_CONTEXT_MENU_HANDLER
Constructor and Description |
---|
Slider() |
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addValueChangedHandler(ValueChangedHandler<Slider,Double> handler) |
protected void |
fireValueChanged(Double newValue,
Double oldValue) |
NumberFormatter<Slider> |
getFormatter() |
double |
getValue() |
void |
onContextMenu(ContextMenuEvent<Slider> event) |
void |
onMouseDown(MouseDownEvent<Slider> event) |
void |
onTouchCancel(TouchCancelEvent<Slider> event) |
void |
onTouchEnd(TouchEndEvent<Slider> event) |
void |
onTouchMove(TouchMoveEvent<Slider> event) |
void |
onTouchStart(TouchStartEvent<Slider> event) |
void |
setFormatter(NumberFormatter<Slider> formatter) |
Slider |
setInterval(double interval) |
Slider |
setMax(double max) |
Slider |
setMin(double min) |
Slider |
setValue(double value) |
add, addActionHandler, addClassName, addDoubleActionHandler, addDoubleTapHandler, addDropTarget, addEventHandler, addEventHandler, addResizeHandler, addStyleName, addTapHandler, addTouchHoldHandler, canDropTargetAccept, cast, clear, clearBackgroundColor, clearDropTargets, clearTextColor, ensureHandlers, fireEvent, fireEvent, fireResizeEvent, getAbsoluteLeft, getAbsoluteTop, getAncestor, getChildren, getChildrenCount, getComputedStyle, getContextMenu, getContextMenuHandler, getDeepestWidget, getDragSource, getDropTargetList, getElement, getFirstChild, getId, getLastChild, getNextSibling, getNextSibling, getOffsetHeight, getOffsetWidth, getParent, getScrollLeft, getScrollTop, getStyle, hasClassName, hasFocus, insert, isAttached, isDropTarget, isEnabled, isInEventThread, onAttach, onDetach, remove, removeClassName, removeDropTarget, removeStyleName, setBackgroundColor, setClassName, setContextMenu, setDragSource, setDropTarget, setEnabled, setHeight, setHeight, setHeight, setId, setLeft, setLeftAndTop, setMaxHeight, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setMinWidth, setParent, setPixelSize, setScrollLeft, setScrollTop, setSize, setTextAlign, setTextColor, setTop, setWidth, setWidth, setWidth
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelMeasure, cancelMutation, measureAsSoonAsPossible, mutateAsSoonAsPossible, mutateAsSoonAsPossible, scheduleMeasure, scheduleMutation
addAttachHandler
addDetachHandler
addTransitionEndHandler, addTransitionEndHandler
addMouseDownHandler, addMouseDownHandler
addMouseMoveHandler, addMouseMoveHandler
addMouseOutHandler, addMouseOutHandler
addMouseOverHandler, addMouseOverHandler
addMouseUpHandler, addMouseUpHandler
addWheelHandler, addWheelHandler
addClickHandler, addClickHandler
addDoubleClickHandler, addDoubleClickHandler
addContextMenuHandler, addContextMenuHandler
addTouchStartHandler, addTouchStartHandler
addTouchMoveHandler, addTouchMoveHandler
addTouchForceChangeHandler, addTouchForceChangeHandler
addTouchEndHandler, addTouchEndHandler
addTouchCancelHandler, addTouchCancelHandler
addTouchHoldHandler
addTapHandler
addDoubleTapHandler
addKeyDownHandler, addKeyDownHandler
addKeyUpHandler, addKeyUpHandler
addKeyPressHandler, addKeyPressHandler
addScrollHandler, addScrollHandler
addAnimationStartHandler, addAnimationStartHandler
addAnimationIterationHandler, addAnimationIterationHandler
addAnimationEndHandler, addAnimationEndHandler
addActionHandler
addDoubleActionHandler
public Slider setMin(double min)
public Slider setMax(double max)
public Slider setInterval(double interval)
public double getValue()
public Slider setValue(double value)
public void onMouseDown(MouseDownEvent<Slider> event)
onMouseDown
in interface MouseDownHandler<Slider>
public void onTouchStart(TouchStartEvent<Slider> event)
onTouchStart
in interface TouchStartHandler<Slider>
public void onTouchMove(TouchMoveEvent<Slider> event)
onTouchMove
in interface TouchMoveHandler<Slider>
public void onTouchEnd(TouchEndEvent<Slider> event)
onTouchEnd
in interface TouchEndHandler<Slider>
public void onTouchCancel(TouchCancelEvent<Slider> event)
onTouchCancel
in interface TouchCancelHandler<Slider>
public void onContextMenu(ContextMenuEvent<Slider> event)
onContextMenu
in interface ContextMenuHandler<Slider>
public NumberFormatter<Slider> getFormatter()
public void setFormatter(NumberFormatter<Slider> formatter)
public HandlerRegistration addValueChangedHandler(ValueChangedHandler<Slider,Double> handler)
Copyright © 2018 Xalys. All rights reserved.