Метод | Описание | |
---|---|---|
Destroy ( ) : void |
Removes the spinner functionality completely. This will return the element back to its pre-init state.
|
|
Disable ( ) : void |
Disables the spinner.
|
|
Enable ( ) : void |
Enable the spinner.
|
|
GetCulture ( ) : void |
Returns [in JavaScript] the current "culture" setting.
|
|
GetDisabled ( ) : void |
Returns [in JavaScript] the current "disabled" setting.
|
|
GetIcons ( ) : void |
Returns [in JavaScript] the current "icons" setting.
|
|
GetIncremental ( ) : void |
Returns [in JavaScript] the current "incremental" setting.
|
|
GetIsValid ( ) : void |
Returns whether the Spinner's value is valid given its min, max, and step.
|
|
GetMax ( ) : void |
Returns [in JavaScript] the current "max" setting.
|
|
GetMin ( ) : void |
Returns [in JavaScript] the current "min" setting.
|
|
GetNumberFormat ( ) : void |
Returns [in JavaScript] the current "numberFormat" setting.
|
|
GetPage ( ) : void |
Returns [in JavaScript] the current "page" setting.
|
|
GetStep ( ) : void |
Returns [in JavaScript] the current "step" setting.
|
|
GetValue ( ) : void |
Gets the current value as a number. The value is parsed based on the numberFormat and culture options.
|
|
Methods ( Fluqi.Widget.jSpinner.Spinner spinner ) : System |
Constructor
|
|
PageDown ( int value = 1 ) : void |
Decrements the value by the specified number of pages, as defined by the page option. Without the parameter, a single page is decremented.
|
|
PageUp ( int value = 1 ) : void |
Decrements the value by the specified number of pages, as defined by the page option. Without the parameter, a single page is decremented.
|
|
SetCulture ( string culture ) : void |
Sets the culture to use for parsing and formatting the value. If null, the currently set culture in Globalize is used, see Globalize docs for available cultures. Only relevant if the SetNumberFormat option is set. Requires Globalize to be included.
|
|
SetDisabled ( bool disabled ) : void |
Disables the spinner.
|
|
SetIcons ( Core downIcon, Core upIcon ) : void |
Icons to use for buttons, matching an icon defined by the jQuery UI CSS Framework.
|
|
SetIcons ( string downIcon, string upIcon ) : void |
Icons to use for buttons, matching an icon defined by the jQuery UI CSS Framework.
|
|
SetIncremental ( bool inc ) : void |
Controls the number of steps taken when holding down a spin button. - When set to true, the stepping delta will increase when spun incessantly. - When set to false, all steps are equal (as defined by the step option).
|
|
SetIncremental ( string incMethod ) : void |
Controls the number of steps taken when holding down a spin button. - Receives one parameter: the number of spins that have occurred. Must return the number of steps that should occur for the current spin.
|
|
SetMax ( int value ) : void |
The maximum allowed value
|
|
SetMax ( string value ) : void |
The maximum allowed value
|
|
SetMin ( int value ) : void |
The minimum allowed value
|
|
SetMin ( string value ) : void |
The minimum allowed value
|
|
SetNumberFormat ( string value ) : void |
Format of numbers passed to Globalize, if available.
|
|
SetPage ( int value ) : void |
The number of steps to take when paging via the pageUp/pageDown methods.
|
|
SetStep ( int value ) : void |
The size of the step to take when spinning via buttons or via the stepUp()/stepDown() methods. The element's step attribute is used if it exists and the option is not explicitly set.
|
|
SetStep ( string value ) : void |
The size of the step to take when spinning via buttons or via the stepUp()/stepDown() methods. The element's step attribute is used if it exists and the option is not explicitly set.
|
|
SetValue ( int value ) : void |
Sets the value
|
|
SetValue ( string value ) : void |
Sets the value
|
|
StepDown ( int value = 1 ) : void |
Decrements the value by the specified number of steps. Without the parameter, a single step is decremented. If the resulting value is above the max, below the min, or reuslts in a step mismatch, the value will be adjusted to the closest valid value.
|
|
StepUp ( int value = 1 ) : void |
Increments the value by the specified number of steps. Without the parameter, a single step is incremented. If the resulting value is above the max, below the min, or reuslts in a step mismatch, the value will be adjusted to the closest valid value.
|
|
Widget ( ) : void |
Returns a jQuery object containing the generated wrapper.
|
public Methods ( Fluqi.Widget.jSpinner.Spinner spinner ) : System | ||
spinner | Fluqi.Widget.jSpinner.Spinner | Spinner object to call |
Результат | System |
public SetCulture ( string culture ) : void | ||
culture | string | |
Результат | void |
public SetDisabled ( bool disabled ) : void | ||
disabled | bool | |
Результат | void |
public SetIcons ( Core downIcon, Core upIcon ) : void | ||
downIcon | Core | Icon to use for the down |
upIcon | Core | Icon to use for the up |
Результат | void |
public SetIcons ( string downIcon, string upIcon ) : void | ||
downIcon | string | Icon to use for the down |
upIcon | string | Icon to use for the up |
Результат | void |
public SetIncremental ( string incMethod ) : void | ||
incMethod | string | |
Результат | void |
public SetMax ( int value ) : void | ||
value | int | The maximum value |
Результат | void |
public SetMax ( string value ) : void | ||
value | string | /// If Globalize is included, the min option can be passed as a string which will be parsed based on the /// numberFormat and culture options; otherwise it will fall back to the native parseFloat() method. /// |
Результат | void |
public SetMin ( int value ) : void | ||
value | int | The minimum value |
Результат | void |
public SetMin ( string value ) : void | ||
value | string | /// If Globalize is included, the min option can be passed as a string which will be parsed based on the /// numberFormat and culture options; otherwise it will fall back to the native parseFloat() method. /// |
Результат | void |
public SetNumberFormat ( string value ) : void | ||
value | string | /// Most common are "n" for a decimal number and "C" for a currency value. /// Also see the culture option. /// |
Результат | void |
public SetStep ( int value ) : void | ||
value | int | The size of the step |
Результат | void |
public SetStep ( string value ) : void | ||
value | string | /// If Globalize is included, the step option can be passed as a string which will be parsed based on /// the numberFormat and culture options, otherwise it will fall back to the native parseFloat. /// |
Результат | void |
public SetValue ( int value ) : void | ||
value | int | The value to set |
Результат | void |
public SetValue ( string value ) : void | ||
value | string | The value is parsed based on the numberFormat and culture options. |
Результат | void |