C# Класс Fluqi.Widget.jPushButton.Options

A set of properties to apply to a set of jQuery UI Button.
Properties not yet supported:
Наследование: Core.Options
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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

Описание методов

DiscoverOptions() защищенный Метод

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
Результат void

Finish() публичный Метод

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
Результат Fluqi.Widget.jPushButton.PushButton

Options() публичный Метод

Constructor
public Options ( Fluqi.Widget.jPushButton.PushButton btn ) : System
btn Fluqi.Widget.jPushButton.PushButton PushButton to configure options of
Результат System

Reset() защищенный Метод

Resets all the control properties back to their default settings (i.e. the defaults as documented by jQuery UI library
protected Reset ( ) : void
Результат void

SetDisabled() публичный Метод

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
Результат Options

SetIcons() публичный Метод

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
Результат Options

SetIcons() публичный Метод

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
Результат Options

SetIcons() публичный Метод

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
Результат Options

SetIcons() публичный Метод

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
Результат Options

SetText() публичный Метод

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
Результат Options