Class Ranger

  • All Implemented Interfaces:
    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.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget

    public class Ranger
    extends com.google.gwt.user.client.ui.Composite
    implements com.google.gwt.event.logical.shared.HasValueChangeHandlers<Double>
    AiProgressBar
    Author:
    zhangjianshe@gmail.com
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject

        com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
    • Field Summary

      • Fields inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
    • Constructor Summary

      Constructors 
      Constructor Description
      Ranger()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler​(com.google.gwt.event.logical.shared.ValueChangeHandler<Double> handler)  
      Double getValue()  
      protected void onLoad()  
      void setContinueReport​(boolean report)  
      void setHeight​(String height)  
      void setLabel​(String label)  
      void setMax​(Double max)  
      void setMin​(Double min)  
      void setPixelSize​(int width, int height)  
      void setPrecision​(int number)  
      void setRange​(Double min, Double max)  
      void setSize​(String width, String height)  
      void setStep​(int step)  
      void setValue​(double value)  
      void setValue​(double value, boolean b)  
      void setWidth​(String width)  
      • 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, onUnload, 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, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toString
      • Methods inherited from interface com.google.gwt.event.shared.HasHandlers

        fireEvent
    • Constructor Detail

      • Ranger

        public Ranger()
    • Method Detail

      • setContinueReport

        public void setContinueReport​(boolean report)
      • setPrecision

        public void setPrecision​(int number)
      • setValue

        public void setValue​(double value,
                             boolean b)
      • setWidth

        public void setWidth​(String width)
        Overrides:
        setWidth in class com.google.gwt.user.client.ui.UIObject
      • setHeight

        public void setHeight​(String height)
        Overrides:
        setHeight in class com.google.gwt.user.client.ui.UIObject
      • setPixelSize

        public void setPixelSize​(int width,
                                 int height)
        Overrides:
        setPixelSize in class com.google.gwt.user.client.ui.UIObject
      • setSize

        public void setSize​(String width,
                            String height)
        Overrides:
        setSize in class com.google.gwt.user.client.ui.UIObject
      • setLabel

        public void setLabel​(String label)
      • setRange

        public void setRange​(Double min,
                             Double max)
      • onLoad

        protected void onLoad()
        Overrides:
        onLoad in class com.google.gwt.user.client.ui.Widget
      • setStep

        public void setStep​(int step)
      • setMax

        public void setMax​(Double max)
      • setMin

        public void setMin​(Double min)
      • addValueChangeHandler

        public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler​(com.google.gwt.event.logical.shared.ValueChangeHandler<Double> handler)
        Specified by:
        addValueChangeHandler in interface com.google.gwt.event.logical.shared.HasValueChangeHandlers<Double>
      • getValue

        public Double getValue()
      • setValue

        public void setValue​(double value)