C# Class Fluqi.Widget.jSlider.Methods

The "Methods" are called after the control has been initialised. If for instance you want to change the value of a property, or invoke "some" action on the control (e.g. "open" or "close") you call the "Method" rather than through the "Options" (as Options is about the initialisation of the control).
Inheritance: Core.Methods
Datei anzeigen Open project: toepoke/Fluqi

Public Methods

Method Description
Destroy ( ) : void

Remove the slider functionality completely. This will return the element back to its pre-init state.

Disable ( ) : void

Disable the slider.

Enable ( ) : void

Enable the slider.

GetAnimate ( ) : void

Returns [in JavaScript] the current "animate" setting.

GetMax ( ) : void

Returns [in JavaScript] the current "max" setting.

GetMin ( ) : void

Returns [in JavaScript] the current "min" setting.

GetOrientation ( ) : void

Returns [in JavaScript] the current "orientation" setting.

GetRange ( ) : void

Returns [in JavaScript] the current "range" setting.

GetStep ( ) : void

Returns [in JavaScript] the current "step" setting.

GetValue ( ) : void

Gets the value of the spinner. For single handle sliders.

GetValue ( int index ) : void

Gets the values of the slider. For multiple handle or range sliders.

Methods ( Fluqi.Widget.jSlider.Slider sldr ) : System

Constructor

SetAnimate ( Core speed ) : void

Whether to slide handle smoothly when user click outside handle on the bar. Will

SetAnimate ( int newValue ) : void

Whether to slide handle smoothly when user click outside handle on the bar.

SetAnimate ( string speed ) : void

Whether to slide handle smoothly when user click outside handle on the bar.

SetMax ( int newValue ) : void

The maximum value of the slider.

SetMin ( int newValue ) : void

The minimum value of the slider.

SetOrientation ( Core newValue ) : void

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.

SetOrientation ( string newValue ) : void

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.

SetOrientation ( string newValue, bool inDoubleQuotes ) : void

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.

SetOrientationJS ( string newValue ) : void

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetRange ( bool newValue ) : void

If set to true, the slider will detect if you have two handles and create a stylable range element between these two. Two other possible values are 'min' and 'max'. A min range goes from the slider min to one handle. A max range goes from one handle to the slider max.

SetRangeToMax ( ) : void

Max range goes from one handle to the slider max.

SetRangeToMin ( ) : void

Min range goes from the slider min to one handle.

SetStep ( int newValue ) : void

Determines the size or amount of each interval or step the slider takes between min and max. The full specified value range of the slider (max - min) needs to be evenly divisible by the step.

SetValue ( int newValue ) : void

Sets the value of the slider. For single handle sliders.

SetValue ( int index, int newValue ) : void

Sets the values of the slider. For multiple handle or range sliders.

Widget ( ) : void

Returns the .ui-slider element.

Method Details

Destroy() public method

Remove the slider functionality completely. This will return the element back to its pre-init state.
public Destroy ( ) : void
return void

Disable() public method

Disable the slider.
public Disable ( ) : void
return void

Enable() public method

Enable the slider.
public Enable ( ) : void
return void

GetAnimate() public method

Returns [in JavaScript] the current "animate" setting.
public GetAnimate ( ) : void
return void

GetMax() public method

Returns [in JavaScript] the current "max" setting.
public GetMax ( ) : void
return void

GetMin() public method

Returns [in JavaScript] the current "min" setting.
public GetMin ( ) : void
return void

GetOrientation() public method

Returns [in JavaScript] the current "orientation" setting.
public GetOrientation ( ) : void
return void

GetRange() public method

Returns [in JavaScript] the current "range" setting.
public GetRange ( ) : void
return void

GetStep() public method

Returns [in JavaScript] the current "step" setting.
public GetStep ( ) : void
return void

GetValue() public method

Gets the value of the spinner. For single handle sliders.
public GetValue ( ) : void
return void

GetValue() public method

Gets the values of the slider. For multiple handle or range sliders.
public GetValue ( int index ) : void
index int
return void

Methods() public method

Constructor
public Methods ( Fluqi.Widget.jSlider.Slider sldr ) : System
sldr Fluqi.Widget.jSlider.Slider Slider object to call
return System

SetAnimate() public method

Whether to slide handle smoothly when user click outside handle on the bar. Will
public SetAnimate ( Core speed ) : void
speed Core New animate setting - "slow", "normal", or "fast"
return void

SetAnimate() public method

Whether to slide handle smoothly when user click outside handle on the bar.
public SetAnimate ( int newValue ) : void
newValue int New animate setting - in milliseconds
return void

SetAnimate() public method

Whether to slide handle smoothly when user click outside handle on the bar.
public SetAnimate ( string speed ) : void
speed string New animate setting - "slow", "normal", or "fast"
return void

SetMax() public method

The maximum value of the slider.
public SetMax ( int newValue ) : void
newValue int New max setting
return void

SetMin() public method

The minimum value of the slider.
public SetMin ( int newValue ) : void
newValue int New min setting
return void

SetOrientation() public method

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.
public SetOrientation ( Core newValue ) : void
newValue Core New orientation setting
return void

SetOrientation() public method

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.
public SetOrientation ( string newValue ) : void
newValue string New orientation setting
return void

SetOrientation() public method

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.
public SetOrientation ( string newValue, bool inDoubleQuotes ) : void
newValue string New orientation setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
return void

SetOrientationJS() public method

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetOrientationJS ( string newValue ) : void
newValue string New orientation setting
return void

SetRange() public method

If set to true, the slider will detect if you have two handles and create a stylable range element between these two. Two other possible values are 'min' and 'max'. A min range goes from the slider min to one handle. A max range goes from one handle to the slider max.
public SetRange ( bool newValue ) : void
newValue bool New range setting
return void

SetRangeToMax() public method

Max range goes from one handle to the slider max.
public SetRangeToMax ( ) : void
return void

SetRangeToMin() public method

Min range goes from the slider min to one handle.
public SetRangeToMin ( ) : void
return void

SetStep() public method

Determines the size or amount of each interval or step the slider takes between min and max. The full specified value range of the slider (max - min) needs to be evenly divisible by the step.
public SetStep ( int newValue ) : void
newValue int New step setting
return void

SetValue() public method

Sets the value of the slider. For single handle sliders.
public SetValue ( int newValue ) : void
newValue int
return void

SetValue() public method

Sets the values of the slider. For multiple handle or range sliders.
public SetValue ( int index, int newValue ) : void
index int
newValue int
return void

Widget() public method

Returns the .ui-slider element.
public Widget ( ) : void
return void