C# 클래스 Fluqi.Widget.jSpinner.Options

A set of properties to apply to a set of jQuery UI Spinner.
Properties not yet supported:
상속: Core.Options
파일 보기 프로젝트 열기: toepoke/Fluqi

공개 메소드들

메소드 설명
Options ( Fluqi.Widget.jSpinner.Spinner spinner ) : System

Constructor

SetCulture ( string culture ) : Options

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 ) : Options

Disables the spinner.

SetIcons ( Core downIcon, Core upIcon ) : Options

Icons to use for buttons, matching an icon defined by the jQuery UI CSS Framework.

SetIcons ( string downIcon, string upIcon ) : Options

Icons to use for buttons, matching an icon defined by the jQuery UI CSS Framework.

SetIncremental ( bool inc ) : Options

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 ) : Options

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 ) : Options

The maximum allowed value

SetMax ( string value ) : Options

The maximum allowed value

SetMin ( int value ) : Options

The minimum allowed value

SetMin ( string value ) : Options

The minimum allowed value

SetNumberFormat ( string value ) : Options

Format of numbers passed to Globalize, if available.

SetPage ( int value ) : Options

The number of steps to take when paging via the pageUp/pageDown methods.

SetStep ( int step ) : Options

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 ) : Options

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.

메소드 상세

Options() 공개 메소드

Constructor
public Options ( Fluqi.Widget.jSpinner.Spinner spinner ) : System
spinner Fluqi.Widget.jSpinner.Spinner Spinner to configure options of
리턴 System

SetCulture() 공개 메소드

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.
public SetCulture ( string culture ) : Options
culture string
리턴 Options

SetDisabled() 공개 메소드

Disables the spinner.
public SetDisabled ( bool disabled ) : Options
disabled bool
리턴 Options

SetIcons() 공개 메소드

Icons to use for buttons, matching an icon defined by the jQuery UI CSS Framework.
public SetIcons ( Core downIcon, Core upIcon ) : Options
downIcon Core Icon to use for the down
upIcon Core Icon to use for the up
리턴 Options

SetIcons() 공개 메소드

Icons to use for buttons, matching an icon defined by the jQuery UI CSS Framework.
public SetIcons ( string downIcon, string upIcon ) : Options
downIcon string Icon to use for the down
upIcon string Icon to use for the up
리턴 Options

SetIncremental() 공개 메소드

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).
public SetIncremental ( bool inc ) : Options
inc bool
리턴 Options

SetIncremental() 공개 메소드

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.
public SetIncremental ( string incMethod ) : Options
incMethod string
리턴 Options

SetMax() 공개 메소드

The maximum allowed value
public SetMax ( int value ) : Options
value int The maximum value
리턴 Options

SetMax() 공개 메소드

The maximum allowed value
public SetMax ( string value ) : Options
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. ///
리턴 Options

SetMin() 공개 메소드

The minimum allowed value
public SetMin ( int value ) : Options
value int The minimum value
리턴 Options

SetMin() 공개 메소드

The minimum allowed value
public SetMin ( string value ) : Options
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. ///
리턴 Options

SetNumberFormat() 공개 메소드

Format of numbers passed to Globalize, if available.
public SetNumberFormat ( string value ) : Options
value string /// Most common are "n" for a decimal number and "C" for a currency value. /// Also see the culture option. ///
리턴 Options

SetPage() 공개 메소드

The number of steps to take when paging via the pageUp/pageDown methods.
public SetPage ( int value ) : Options
value int New value
리턴 Options

SetStep() 공개 메소드

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 SetStep ( int step ) : Options
step int The size of the step
리턴 Options

SetStep() 공개 메소드

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 SetStep ( string step ) : Options
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. ///
리턴 Options