C# Class Fluqi.Widget.jMenu.Options

A set of properties to apply to a set of jQuery UI Menu.
Properties not yet supported:
Inheritance: Core.Options
Afficher le fichier Open project: toepoke/Fluqi

Méthodes publiques

Méthode Description
Finish ( ) : Menu

Used to flag that configuration of Options has finished, and returns the Menu object so we can continue defining Tabs attributes.

Options ( Menu menu ) : System

Constructor

SetDisabled ( bool value ) : Options

Disables the menu if set to true.

SetIcons ( Core subMenuIcon ) : Options

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

SetIcons ( string subMenuIcon ) : Options

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

SetMenus ( string value ) : Options

Selector for the elements that serve as the menu container, including sub-menus.

SetRole ( string role ) : Options

Customize the ARIA roles used for the menu and menu items. The default uses "menuitem" for items. Setting the role option to "listbox" will use "option" for items. If set to null, no roles will be set, which is useful if the menu is being controlled by another element that is maintaining focus.

Méthodes protégées

Méthode Description
DiscoverOptions ( Core options ) : void

Builds up a set of options the control can use (i.e. jQuery UI control supports). Which is then used in rendering the JavaScript required to initialise the control properties.

Reset ( ) : void

Resets all the control properties back to their default settings (i.e. the defaults as documented by jQuery UI library

Method Details

DiscoverOptions() protected méthode

Builds up a set of options the control can use (i.e. jQuery UI control supports). Which is then used in rendering the JavaScript required to initialise the control properties.
protected DiscoverOptions ( Core options ) : void
options Core Collection to add the identified options to
Résultat void

Finish() public méthode

Used to flag that configuration of Options has finished, and returns the Menu object so we can continue defining Tabs attributes.
public Finish ( ) : Menu
Résultat Menu

Options() public méthode

Constructor
public Options ( Menu menu ) : System
menu Menu Menu to configure options of
Résultat System

Reset() protected méthode

Resets all the control properties back to their default settings (i.e. the defaults as documented by jQuery UI library
protected Reset ( ) : void
Résultat void

SetDisabled() public méthode

Disables the menu if set to true.
public SetDisabled ( bool value ) : Options
value bool If true disables the menu, enabled otherwise
Résultat Options

SetIcons() public méthode

Icons to use for submenus, matching an icon defined by the jQuery UI CSS Framework.
public SetIcons ( Core subMenuIcon ) : Options
subMenuIcon Core Sub menu icon to use
Résultat Options

SetIcons() public méthode

Icons to use for submenus, matching an icon defined by the jQuery UI CSS Framework.
public SetIcons ( string subMenuIcon ) : Options
subMenuIcon string Sub menu icon to use
Résultat Options

SetMenus() public méthode

Selector for the elements that serve as the menu container, including sub-menus.
public SetMenus ( string value ) : Options
value string
Résultat Options

SetRole() public méthode

Customize the ARIA roles used for the menu and menu items. The default uses "menuitem" for items. Setting the role option to "listbox" will use "option" for items. If set to null, no roles will be set, which is useful if the menu is being controlled by another element that is maintaining focus.
public SetRole ( string role ) : Options
role string Role to use
Résultat Options