Class WebSliderDepictor<V extends java.lang.Number,​C extends SliderControl<V>>

    • Constructor Detail

      • WebSliderDepictor

        public WebSliderDepictor()
        Default constructor using the XHTML <div> element.
    • Method Detail

      • processPosition

        public static <V extends java.lang.Number> void processPosition​(SliderControl<V> sliderControl,
                                                                        double position)
        Updates the position of a slider control based upon the relative position sent from the web platform.
        Type Parameters:
        V - The type of value contained in the control.
        Parameters:
        sliderControl - The slider control.
        position - The relative position of the slider.
        Throws:
        java.lang.NullPointerException - if the given control and/or value class is null.
      • depictBegin

        protected void depictBegin()
                            throws java.io.IOException
        Description copied from class: AbstractWebComponentDepictor
        Begins the depiction process.

        This version renders the beginning XML element information, if there is any, leaving the beginning tag open for attributes.

        This version writes common XHTML attributes.

        Overrides:
        depictBegin in class AbstractWebComponentDepictor<C extends SliderControl<V>>
        Throws:
        java.io.IOException - if there is an error updating the depiction.