C# 클래스 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).
상속: Core.Methods
파일 보기 프로젝트 열기: toepoke/Fluqi

공개 메소드들

메소드 설명
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.

메소드 상세

Close() 공개 메소드

Closes the control.
public Close ( ) : void
리턴 void

Destroy() 공개 메소드

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

Disable() 공개 메소드

Disables the control.
public Disable ( ) : void
리턴 void

Enable() 공개 메소드

Enables the control.
public Enable ( ) : void
리턴 void

GetAppendTo() 공개 메소드

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

GetDisabled() 공개 메소드

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

GetIcons() 공개 메소드

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

GetPosition() 공개 메소드

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

GetWidth() 공개 메소드

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

Instance() 공개 메소드

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

MenuWidget() 공개 메소드

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

Methods() 공개 메소드

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

Open() 공개 메소드

Opens the control
public Open ( ) : void
리턴 void

Refresh() 공개 메소드

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

SetAppendTo() 공개 메소드

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

SetDisabled() 공개 메소드

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

SetIcons() 공개 메소드

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

SetIcons() 공개 메소드

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

SetPosition() 공개 메소드

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

SetPosition() 공개 메소드

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
리턴 void

SetPosition() 공개 메소드

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
리턴 void

SetPosition() 공개 메소드

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

SetPosition() 공개 메소드

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 (') ///
리턴 void

SetPosition() 공개 메소드

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
리턴 void

SetPositionJS() 공개 메소드

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

SetWidth() 공개 메소드

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

Widget() 공개 메소드

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