C# Class Fluqi.Widget.jSelectMenu.Methods

The "Methods" are called after the control has been initialised. If for instance you want to change the value of a property, or invoke "some" action on the control (e.g. "open" or "close") you call the "Method" rather than through the "Options" (as Options is about the initialisation of the control).
Inheritance: Core.Methods
Mostrar archivo Open project: toepoke/Fluqi

Public Methods

Method Description
Close ( ) : void

Closes the control.

Destroy ( ) : void

Removes the control functionality completely. This will return the element back to its pre-init state.

Disable ( ) : void

Disables the control.

Enable ( ) : void

Enables the control.

GetAppendTo ( ) : void

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

GetDisabled ( ) : void

Disables the control if set to true.

GetIcons ( ) : void

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

GetPosition ( ) : void

Returns [in JavaScript] the current "position" setting.

GetWidth ( ) : void

The width of the menu, in pixels.

Instance ( ) : void

Retrieves the selectmenu's instance object. If the element does not have an associated instance, undefined is returned

MenuWidget ( ) : void

Returns a jQuery object containing the menu element.

Methods ( SelectMenu selectMenu ) : System

Constructor

Open ( ) : void

Opens the control

Refresh ( ) : void

Parses the original element and re-renders the menu. Processes any >option< or >optgroup< elements that were added, removed or disabled.

SetAppendTo ( string appendTo ) : void

Which element to append the menu to

SetDisabled ( bool value ) : void

Disables the control if set to true.

SetIcons ( Core dropdownIcon ) : void

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

SetIcons ( string dropdownIcon ) : void

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

SetPosition ( Core position ) : void

Identifies the position of the menu in relation to the associated button element

SetPosition ( Core pos1, Core pos2 ) : void

Identifies the position of the menu in relation to the associated button element

SetPosition ( int pos1, int pos2 ) : void

Identifies the position of the menu in relation to the associated button element

SetPosition ( string position ) : void

Identifies the position of the menu in relation to the associated button element

SetPosition ( string position, bool inDoubleQuotes ) : void

Identifies the position of the menu in relation to the associated button element

SetPosition ( string pos1, string pos2 ) : void

Identifies the position of the menu in relation to the associated button element

SetPositionJS ( string position ) : void

Identifies the position of the menu in relation to the associated button element

SetWidth ( int width ) : void

The width of the menu, in pixels.

Widget ( ) : void

Returns a jQuery object containing the control.

Method Details

Close() public method

Closes the control.
public Close ( ) : void
return void

Destroy() public method

Removes the control functionality completely. This will return the element back to its pre-init state.
public Destroy ( ) : void
return void

Disable() public method

Disables the control.
public Disable ( ) : void
return void

Enable() public method

Enables the control.
public Enable ( ) : void
return void

GetAppendTo() public method

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework.
public GetAppendTo ( ) : void
return void

GetDisabled() public method

Disables the control if set to true.
public GetDisabled ( ) : void
return void

GetIcons() public method

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework.
public GetIcons ( ) : void
return void

GetPosition() public method

Returns [in JavaScript] the current "position" setting.
public GetPosition ( ) : void
return void

GetWidth() public method

The width of the menu, in pixels.
public GetWidth ( ) : void
return void

Instance() public method

Retrieves the selectmenu's instance object. If the element does not have an associated instance, undefined is returned
public Instance ( ) : void
return void

MenuWidget() public method

Returns a jQuery object containing the menu element.
public MenuWidget ( ) : void
return void

Methods() public method

Constructor
public Methods ( SelectMenu selectMenu ) : System
selectMenu SelectMenu SelectMenu object to call
return System

Open() public method

Opens the control
public Open ( ) : void
return void

Refresh() public method

Parses the original element and re-renders the menu. Processes any >option< or >optgroup< elements that were added, removed or disabled.
public Refresh ( ) : void
return void

SetAppendTo() public method

Which element to append the menu to
public SetAppendTo ( string appendTo ) : void
appendTo string
return void

SetDisabled() public method

Disables the control if set to true.
public SetDisabled ( bool value ) : void
value bool value
return void

SetIcons() public method

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework.
public SetIcons ( Core dropdownIcon ) : void
dropdownIcon Core
return void

SetIcons() public method

Icons to use for opening the control, matching an icon defined by the jQuery UI CSS Framework.
public SetIcons ( string dropdownIcon ) : void
dropdownIcon string
return void

SetPosition() public method

Identifies the position of the menu in relation to the associated button element
public SetPosition ( Core position ) : void
position Core New position setting
return void

SetPosition() public method

Identifies the position of the menu in relation to the associated button element
public SetPosition ( Core pos1, Core pos2 ) : void
pos1 Core First position setting
pos2 Core Second position setting
return void

SetPosition() public method

Identifies the position of the menu in relation to the associated button element
public SetPosition ( int pos1, int pos2 ) : void
pos1 int First position setting
pos2 int Second position setting
return void

SetPosition() public method

Identifies the position of the menu in relation to the associated button element
public SetPosition ( string position ) : void
position string New position setting
return void

SetPosition() public method

Identifies the position of the menu in relation to the associated button element
public SetPosition ( string position, bool inDoubleQuotes ) : void
position string New position setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
return void

SetPosition() public method

Identifies the position of the menu in relation to the associated button element
public SetPosition ( string pos1, string pos2 ) : void
pos1 string First position setting
pos2 string Second position setting
return void

SetPositionJS() public method

Identifies the position of the menu in relation to the associated button element
public SetPositionJS ( string position ) : void
position string New position setting
return void

SetWidth() public method

The width of the menu, in pixels.
public SetWidth ( int width ) : void
width int value
return void

Widget() public method

Returns a jQuery object containing the control.
public Widget ( ) : void
return void