C# Class Fluqi.Widget.jSelectMenu.Options

A set of properties to apply to a set of jQuery UI SelectMenu.
Inheritance: Core.Options
Mostra file Open project: toepoke/Fluqi

Public Methods

Method Description
Finish ( ) : SelectMenu

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

Options ( SelectMenu selectMenu ) : System

Constructor

SetAppendTo ( string value ) : Options

Which element to append the menu to

SetDisabled ( bool value ) : Options

Disables the control if set to true.

SetIcons ( Core selectMenuIcon ) : Options

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework. (string, default: "ui-icon-triangle-1-s")

SetIcons ( string selectMenuIcon ) : Options

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework. (string, default: "ui-icon-triangle-1-s")

SetWidth ( int width ) : Options

The width of the menu, in pixels

Protected Methods

Method 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 method

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
return void

Finish() public method

Used to flag that configuration of Options has finished, and returns the SelectMenu object so we can continue defining attributes.
public Finish ( ) : SelectMenu
return SelectMenu

Options() public method

Constructor
public Options ( SelectMenu selectMenu ) : System
selectMenu SelectMenu SelectMenu to configure options of
return System

Reset() protected method

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

SetAppendTo() public method

Which element to append the menu to
public SetAppendTo ( string value ) : Options
value string value
return Options

SetDisabled() public method

Disables the control if set to true.
public SetDisabled ( bool value ) : Options
value bool If true disables the control, enabled otherwise
return Options

SetIcons() public method

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework. (string, default: "ui-icon-triangle-1-s")
public SetIcons ( Core selectMenuIcon ) : Options
selectMenuIcon Core Dropdown icon to use
return Options

SetIcons() public method

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework. (string, default: "ui-icon-triangle-1-s")
public SetIcons ( string selectMenuIcon ) : Options
selectMenuIcon string Dropdown icon to use
return Options

SetWidth() public method

The width of the menu, in pixels
public SetWidth ( int width ) : Options
width int width
return Options