Package cn.mapway.ui.client.widget
Class SliderEx
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Composite
-
- cn.mapway.ui.client.widget.CommonEventComposite
-
- cn.mapway.ui.client.widget.SliderEx
-
- All Implemented Interfaces:
IEventHandler,HasAttributeStateChangeHandler,IAttributesProvider,IAttributeValuesUpdator,IAttributeInit,IPageTip,IEnabled,IErrorMessage,IProvideSize,ISelectable,Id,IData,HasCommonHandlers,com.google.gwt.event.dom.client.HasFocusHandlers,com.google.gwt.event.logical.shared.HasAttachHandlers,com.google.gwt.event.logical.shared.HasValueChangeHandlers<Double>,com.google.gwt.event.shared.HasHandlers,com.google.gwt.user.client.EventListener,com.google.gwt.user.client.TakesValue<Double>,com.google.gwt.user.client.ui.HasValue<Double>,com.google.gwt.user.client.ui.HasVisibility,com.google.gwt.user.client.ui.IsRenderable,com.google.gwt.user.client.ui.IsWidget
public class SliderEx extends CommonEventComposite implements IData, com.google.gwt.user.client.ui.HasValue<Double>, com.google.gwt.event.dom.client.HasFocusHandlers, com.google.gwt.event.logical.shared.HasValueChangeHandlers<Double>
-
-
Field Summary
Fields Modifier and Type Field Description Stringunit-
Fields inherited from class cn.mapway.ui.client.widget.CommonEventComposite
TRUE
-
Fields inherited from interface cn.mapway.ui.client.mvc.window.IEnabled
ENABLED_ATTRIBUTE
-
Fields inherited from interface cn.mapway.ui.client.mvc.window.ISelectable
SELECT_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description SliderEx()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gwt.event.shared.HandlerRegistrationaddFocusHandler(com.google.gwt.event.dom.client.FocusHandler handler)com.google.gwt.event.shared.HandlerRegistrationaddValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<Double> valueChangeHandler)ObjectgetData()doublegetMax()doublegetMin()doublegetRange()DoublegetValue()voidsetData(Object obj)voidsetMax(double max)voidsetMin(double min)voidsetProperty(SlideProperty slideProperty)voidsetStep(int stepParam)voidsetTipLocation(String locationTop)voidsetUnit(String unit)voidsetValue(Double value)voidsetValue(Double valuePara, boolean b)voidupdate()-
Methods inherited from class cn.mapway.ui.client.widget.CommonEventComposite
addAttributeReadyCallback, addAttributeStateChangeHandler, addCommonHandler, addTipDataHtml, addTipDataUrl, addTipDataWidget, clearBusEvent, clearTipData, commit, findAttributeByName, fireMessage, flatten, getAttributes, getAttributeSummary, getAttributeTitle, getComponentName, getEnabled, getId, getTipDataList, getTipVersion, getTitle, initAttributes, isAssign, isElementSelect, isSelected, isValidate, message, notifyAttributeReady, onEvent, onLoad, onUnload, processResult, processServiceCode, registerBusEvent, removeAttributeReadyCallback, removeHandler, requireDefaultSize, setAllResource, setAllRole, setAttr, setComponentName, setElementSelect, setEnabled, setErrorMessage, setId, setReadonly, setResource, setRole, setSelect, setTipVersion, setTitle, setUserRoleProvider, showPageTip, unregisterBusEvent, updateAttributeValues
-
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cn.mapway.ui.client.mvc.attribute.IAttributesProvider
isGroupInitExpand
-
-
-
-
Field Detail
-
unit
public String unit
-
-
Method Detail
-
setUnit
public void setUnit(String unit)
-
getMax
public double getMax()
-
setMax
public void setMax(double max)
-
getMin
public double getMin()
-
setMin
public void setMin(double min)
-
getRange
public double getRange()
-
getValue
public Double getValue()
-
setValue
public void setValue(Double value)
-
update
public void update()
-
setValue
public void setValue(Double valuePara, boolean b)
- Specified by:
setValuein interfacecom.google.gwt.user.client.ui.HasValue<Double>
-
addValueChangeHandler
public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<Double> valueChangeHandler)
- Specified by:
addValueChangeHandlerin interfacecom.google.gwt.event.logical.shared.HasValueChangeHandlers<Double>
-
addFocusHandler
public com.google.gwt.event.shared.HandlerRegistration addFocusHandler(com.google.gwt.event.dom.client.FocusHandler handler)
- Specified by:
addFocusHandlerin interfacecom.google.gwt.event.dom.client.HasFocusHandlers
-
setProperty
public void setProperty(SlideProperty slideProperty)
-
setStep
public void setStep(int stepParam)
-
setTipLocation
public void setTipLocation(String locationTop)
-
-