Метод | Описание | |
---|---|---|
Options ( Fluqi.Widget.jSpinner.Spinner spinner ) : System |
Constructor
|
|
SetCulture ( string culture ) : |
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 ) : |
Disables the spinner.
|
|
SetIcons ( Core downIcon, Core upIcon ) : |
Icons to use for buttons, matching an icon defined by the jQuery UI CSS Framework.
|
|
SetIcons ( string downIcon, string upIcon ) : |
Icons to use for buttons, matching an icon defined by the jQuery UI CSS Framework.
|
|
SetIncremental ( bool inc ) : |
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 ) : |
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 ) : |
The maximum allowed value
|
|
SetMax ( string value ) : |
The maximum allowed value
|
|
SetMin ( int value ) : |
The minimum allowed value
|
|
SetMin ( string value ) : |
The minimum allowed value
|
|
SetNumberFormat ( string value ) : |
Format of numbers passed to Globalize, if available.
|
|
SetPage ( int value ) : |
The number of steps to take when paging via the pageUp/pageDown methods.
|
|
SetStep ( int step ) : |
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 step ) : |
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.
|
public Options ( Fluqi.Widget.jSpinner.Spinner spinner ) : System | ||
spinner | Fluqi.Widget.jSpinner.Spinner | Spinner to configure options of |
Результат | System |
public SetCulture ( string culture ) : |
||
culture | string | |
Результат |
public SetDisabled ( bool disabled ) : |
||
disabled | bool | |
Результат |
public SetIcons ( Core downIcon, Core upIcon ) : |
||
downIcon | Core | Icon to use for the down |
upIcon | Core | Icon to use for the up |
Результат |
public SetIcons ( string downIcon, string upIcon ) : |
||
downIcon | string | Icon to use for the down |
upIcon | string | Icon to use for the up |
Результат |
public SetIncremental ( bool inc ) : |
||
inc | bool | |
Результат |
public SetIncremental ( string incMethod ) : |
||
incMethod | string | |
Результат |
public SetMax ( int value ) : |
||
value | int | The maximum value |
Результат |
public SetMax ( string value ) : |
||
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. /// |
Результат |
public SetMin ( int value ) : |
||
value | int | The minimum value |
Результат |
public SetMin ( string value ) : |
||
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. /// |
Результат |
public SetNumberFormat ( string value ) : |
||
value | string | /// Most common are "n" for a decimal number and "C" for a currency value. /// Also see the culture option. /// |
Результат |
public SetPage ( int value ) : |
||
value | int | New value |
Результат |
public SetStep ( int step ) : |
||
step | int | The size of the step |
Результат |
public SetStep ( string step ) : |
||
step | 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. /// |
Результат |