C# Class Fluqi.Widget.jPushButton.Options

A set of properties to apply to a set of jQuery UI Button.
Properties not yet supported:
Inheritance: Core.Options
Afficher le fichier Open project: toepoke/Fluqi

Méthodes publiques

Méthode Description
Finish ( ) : Fluqi.Widget.jPushButton.PushButton

Used to flag that configuration of Options has finished, and returns the PushButton object so we can continue defining Tabs attributes.

Options ( Fluqi.Widget.jPushButton.PushButton btn ) : System

Constructor

SetDisabled ( bool disable ) : Options

Disables (true) or enables (false) the button. Can be set when initialising (first creating) the button.

SetIcons ( Core primaryIconClass ) : Options

Icons to display, with or without text (see text option). The primary icon is displayed by default on the left of the label text, the secondary by default is on the right. Value for the primary and secondary properties must be a classname (String), eg. "ui-icon-gear". For using only one icon: icons: {primary:'ui-icon-locked'}.

SetIcons ( Core primaryIconClass, Core secondaryIconClass ) : Options

Icons to display, with or without text (see text option). The primary icon is displayed by default on the left of the label text, the secondary by default is on the right. Value for the primary and secondary properties must be a classname (String), eg. "ui-icon-gear". For using only one icon: icons: {primary:'ui-icon-locked'}. For using two icons: icons: {primary:'ui-icon-gear',secondary:'ui-icon-triangle-1-s'}

SetIcons ( string primaryIcon ) : Options

Icons to display, with or without text (see text option). The primary icon is displayed by default on the left of the label text, the secondary by default is on the right. Value for the primary and secondary properties must be a classname (String), eg. "ui-icon-gear". For using only one icon: icons: {primary:'ui-icon-locked'}.

SetIcons ( string primaryIcon, string secondaryIcon ) : Options

Icons to display, with or without text (see text option). The primary icon is displayed by default on the left of the label text, the secondary by default is on the right. Value for the primary and secondary properties must be a classname (String), eg. "ui-icon-gear". For using only one icon: icons: {primary:'ui-icon-locked'}. For using two icons: icons: {primary:'ui-icon-gear',secondary:'ui-icon-triangle-1-s'}

SetText ( bool text ) : Options

Whether to show any text - when set to false (display no text), icons (see icons option) must be enabled, otherwise it'll be ignored.

Méthodes protégées

Méthode Description
DiscoverOptions ( Core options ) : void

Builds up a set of options the control can use (i.e. jQuery UI control supports). Which is then used in rendering the JavaScript required to initialise the control properties.

Reset ( ) : void

Resets all the control properties back to their default settings (i.e. the defaults as documented by jQuery UI library

Method Details

DiscoverOptions() protected méthode

Builds up a set of options the control can use (i.e. jQuery UI control supports). Which is then used in rendering the JavaScript required to initialise the control properties.
protected DiscoverOptions ( Core options ) : void
options Core Collection to add the identified options to
Résultat void

Finish() public méthode

Used to flag that configuration of Options has finished, and returns the PushButton object so we can continue defining Tabs attributes.
public Finish ( ) : Fluqi.Widget.jPushButton.PushButton
Résultat Fluqi.Widget.jPushButton.PushButton

Options() public méthode

Constructor
public Options ( Fluqi.Widget.jPushButton.PushButton btn ) : System
btn Fluqi.Widget.jPushButton.PushButton PushButton to configure options of
Résultat System

Reset() protected méthode

Resets all the control properties back to their default settings (i.e. the defaults as documented by jQuery UI library
protected Reset ( ) : void
Résultat void

SetDisabled() public méthode

Disables (true) or enables (false) the button. Can be set when initialising (first creating) the button.
public SetDisabled ( bool disable ) : Options
disable bool Whether the control is disabled or not
Résultat Options

SetIcons() public méthode

Icons to display, with or without text (see text option). The primary icon is displayed by default on the left of the label text, the secondary by default is on the right. Value for the primary and secondary properties must be a classname (String), eg. "ui-icon-gear". For using only one icon: icons: {primary:'ui-icon-locked'}.
public SetIcons ( Core primaryIconClass ) : Options
primaryIconClass Core New setting
Résultat Options

SetIcons() public méthode

Icons to display, with or without text (see text option). The primary icon is displayed by default on the left of the label text, the secondary by default is on the right. Value for the primary and secondary properties must be a classname (String), eg. "ui-icon-gear". For using only one icon: icons: {primary:'ui-icon-locked'}. For using two icons: icons: {primary:'ui-icon-gear',secondary:'ui-icon-triangle-1-s'}
public SetIcons ( Core primaryIconClass, Core secondaryIconClass ) : Options
primaryIconClass Core New setting
secondaryIconClass Core New setting
Résultat Options

SetIcons() public méthode

Icons to display, with or without text (see text option). The primary icon is displayed by default on the left of the label text, the secondary by default is on the right. Value for the primary and secondary properties must be a classname (String), eg. "ui-icon-gear". For using only one icon: icons: {primary:'ui-icon-locked'}.
public SetIcons ( string primaryIcon ) : Options
primaryIcon string New setting
Résultat Options

SetIcons() public méthode

Icons to display, with or without text (see text option). The primary icon is displayed by default on the left of the label text, the secondary by default is on the right. Value for the primary and secondary properties must be a classname (String), eg. "ui-icon-gear". For using only one icon: icons: {primary:'ui-icon-locked'}. For using two icons: icons: {primary:'ui-icon-gear',secondary:'ui-icon-triangle-1-s'}
public SetIcons ( string primaryIcon, string secondaryIcon ) : Options
primaryIcon string New setting
secondaryIcon string New setting
Résultat Options

SetText() public méthode

Whether to show any text - when set to false (display no text), icons (see icons option) must be enabled, otherwise it'll be ignored.
public SetText ( bool text ) : Options
text bool New flag setting
Résultat Options