C# 클래스 Fluqi.Widget.jSelectMenuItem.SelectMenuItem

Defines the logic and rendering of a single option.
상속: SelectMenuItemBase
파일 보기 프로젝트 열기: toepoke/Fluqi 1 사용 예제들

공개 메소드들

메소드 설명
SelectMenuItem ( SelectMenuItemBase parent ) : System

Constructor for a child menu option

SelectMenuItem ( jSelectMenu owner ) : System

Constructor

SetDisabled ( ) : SelectMenuItem

Sets this menu item as disabled

SetIcon ( Core value ) : SelectMenuItem

Sets the icon which appears to the left of the menu item. This is one of the built in icons provdided by the jQuery UI framework.

SetIcon ( string cssClass ) : SelectMenuItem

Sets the icon which appears to the left of the menu title.

Use this for adding your own icon. The "ui-icon" jQuery UI class will still be added first (so you can use this for sizing), but the "ui-icon" prefix won't be added in front of your CSS class.

SetSelected ( bool selected ) : SelectMenuItem

Flags that this item is selected (or not)

SetTag ( string value ) : SelectMenuItem

Sets the tag to use (should only be "OPTION" really)

SetTitle ( string title ) : SelectMenuItem

Changes the title that appears in the menu item.

Dunno why you'd want to do this after it's already been defined when adding the menu item but I'm leaving it here if only for the sake of consistency with the API.

SetValue ( object value ) : SelectMenuItem

Changes the value of the menu item.

보호된 메소드들

메소드 설명
BuildTagHtml ( Fluqi.Extension.Helpers.jStringBuilder sb ) : void

Builds up the Html for a select menuitem

RenderChildren ( Fluqi.Extension.Helpers.jStringBuilder sb ) : void

Renders the list of SelectMenuItems to the string builder. Note: For the SelectMenu this only happens for the root (i.e. this isn't recursive like the Menu control)

Reset ( ) : void

Resets the object back to a known state.

비공개 메소드들

메소드 설명
RenderCloseItem ( Fluqi.Extension.Helpers.jStringBuilder sb ) : void
RenderOpenItem ( Fluqi.Extension.Helpers.jStringBuilder sb ) : void
RenderRootCloseItem ( Fluqi.Extension.Helpers.jStringBuilder sb ) : void
RenderRootOpenItem ( Fluqi.Extension.Helpers.jStringBuilder sb ) : void

메소드 상세

BuildTagHtml() 보호된 메소드

Builds up the Html for a select menuitem
protected BuildTagHtml ( Fluqi.Extension.Helpers.jStringBuilder sb ) : void
sb Fluqi.Extension.Helpers.jStringBuilder
리턴 void

RenderChildren() 보호된 메소드

Renders the list of SelectMenuItems to the string builder. Note: For the SelectMenu this only happens for the root (i.e. this isn't recursive like the Menu control)
protected RenderChildren ( Fluqi.Extension.Helpers.jStringBuilder sb ) : void
sb Fluqi.Extension.Helpers.jStringBuilder StringBuilder
리턴 void

Reset() 보호된 메소드

Resets the object back to a known state.
protected Reset ( ) : void
리턴 void

SelectMenuItem() 공개 메소드

Constructor for a child menu option
public SelectMenuItem ( SelectMenuItemBase parent ) : System
parent SelectMenuItemBase SelectMenuItem object _this_ item belongs to
리턴 System

SelectMenuItem() 공개 메소드

Constructor
public SelectMenuItem ( jSelectMenu owner ) : System
owner jSelectMenu SelectMenu object _this_ item belongs to
리턴 System

SetDisabled() 공개 메소드

Sets this menu item as disabled
public SetDisabled ( ) : SelectMenuItem
리턴 SelectMenuItem

SetIcon() 공개 메소드

Sets the icon which appears to the left of the menu item. This is one of the built in icons provdided by the jQuery UI framework.
public SetIcon ( Core value ) : SelectMenuItem
value Core
리턴 SelectMenuItem

SetIcon() 공개 메소드

Sets the icon which appears to the left of the menu title.
Use this for adding your own icon. The "ui-icon" jQuery UI class will still be added first (so you can use this for sizing), but the "ui-icon" prefix won't be added in front of your CSS class.
public SetIcon ( string cssClass ) : SelectMenuItem
cssClass string
리턴 SelectMenuItem

SetSelected() 공개 메소드

Flags that this item is selected (or not)
public SetSelected ( bool selected ) : SelectMenuItem
selected bool selected value
리턴 SelectMenuItem

SetTag() 공개 메소드

Sets the tag to use (should only be "OPTION" really)
public SetTag ( string value ) : SelectMenuItem
value string
리턴 SelectMenuItem

SetTitle() 공개 메소드

Changes the title that appears in the menu item.
Dunno why you'd want to do this after it's already been defined when adding the menu item but I'm leaving it here if only for the sake of consistency with the API.
public SetTitle ( string title ) : SelectMenuItem
title string
리턴 SelectMenuItem

SetValue() 공개 메소드

Changes the value of the menu item.
public SetValue ( object value ) : SelectMenuItem
value object value
리턴 SelectMenuItem