C# Class Fluqi.Widget.jMenu.Menu

Afficher le fichier Open project: toepoke/Fluqi Class Usage Examples

Méthodes publiques

Méthode Description
Items ( ) : jMenuItem.MenuItems

The MenuItems that should appear under the menu

Menu ( TextWriter writer ) : System

Detailed constructor

Menu ( TextWriter writer, string id ) : System

Detailed constructor

Render ( ) : void

Writes the HTML for the Menu control to the response stream.

Méthodes protégées

Méthode Description
GetControlScript ( int tabDepth ) : string

Writes out the calling script for the jQuery Tabs plugin, adding options that have been a defined.

GetTagHtml ( ) : string

Builds and returns the HTML for the Menu control (basically the DIV). JavaScript initialisation for the control is also added to the response stream if the AutoScript rendering option is true.

Reset ( TextWriter writer, string id ) : void

Resets the underlying menu object back to it's initial state

Method Details

GetControlScript() protected méthode

Writes out the calling script for the jQuery Tabs plugin, adding options that have been a defined.
protected GetControlScript ( int tabDepth ) : string
tabDepth int /// How far to indent the script code setting. ///
Résultat string

GetTagHtml() protected méthode

Builds and returns the HTML for the Menu control (basically the DIV). JavaScript initialisation for the control is also added to the response stream if the AutoScript rendering option is true.
protected GetTagHtml ( ) : string
Résultat string

Items() public méthode

The MenuItems that should appear under the menu
public Items ( ) : jMenuItem.MenuItems
Résultat jMenuItem.MenuItems

Menu() public méthode

Detailed constructor
public Menu ( TextWriter writer ) : System
writer TextWriter Response stream to write the control to
Résultat System

Menu() public méthode

Detailed constructor
public Menu ( TextWriter writer, string id ) : System
writer TextWriter Response stream to write the control to
id string ID of the control (which must be unique on the page)
Résultat System

Render() public méthode

Writes the HTML for the Menu control to the response stream.
public Render ( ) : void
Résultat void

Reset() protected méthode

Resets the underlying menu object back to it's initial state
protected Reset ( TextWriter writer, string id ) : void
writer TextWriter Textwriter to use when rendering
id string ID to render for the control
Résultat void