C# Class Fluqi.Widget.jSelectMenuItem.SelectMenuOptGroup

Defines the logic and rendering of a single option.
Inheritance: SelectMenuItemBase
Mostrar archivo Open project: toepoke/Fluqi Class Usage Examples

Public Methods

Method Description
SelectMenuOptGroup ( SelectMenuItemBase parent ) : System

Constructor for a child menu option

SelectMenuOptGroup ( jSelectMenu owner ) : System

Constructor

SetDisabled ( ) : SelectMenuOptGroup

Sets this menu item as disabled

SetLabel ( string label ) : SelectMenuOptGroup

Changes the label

Protected Methods

Method Description
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.

Private Methods

Method Description
RenderRootCloseItem ( Fluqi.Extension.Helpers.jStringBuilder sb ) : void
RenderRootOpenItem ( Fluqi.Extension.Helpers.jStringBuilder sb ) : void

Method Details

BuildTagHtml() protected method

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

RenderChildren() protected method

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

Reset() protected method

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

SelectMenuOptGroup() public method

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

SelectMenuOptGroup() public method

Constructor
public SelectMenuOptGroup ( jSelectMenu owner ) : System
owner jSelectMenu SelectMenu object _this_ item belongs to
return System

SetDisabled() public method

Sets this menu item as disabled
public SetDisabled ( ) : SelectMenuOptGroup
return SelectMenuOptGroup

SetLabel() public method

Changes the label
public SetLabel ( string label ) : SelectMenuOptGroup
label string
return SelectMenuOptGroup