C# Класс Fluqi.Widget.jMenu.Options

A set of properties to apply to a set of jQuery UI Menu.
Properties not yet supported:
Наследование: Core.Options
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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

Описание методов

DiscoverOptions() защищенный Метод

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
Результат void

Finish() публичный Метод

Used to flag that configuration of Options has finished, and returns the Menu object so we can continue defining Tabs attributes.
public Finish ( ) : Menu
Результат Menu

Options() публичный Метод

Constructor
public Options ( Menu menu ) : System
menu Menu Menu to configure options of
Результат System

Reset() защищенный Метод

Resets all the control properties back to their default settings (i.e. the defaults as documented by jQuery UI library
protected Reset ( ) : void
Результат void

SetDisabled() публичный Метод

Disables the menu if set to true.
public SetDisabled ( bool value ) : Options
value bool If true disables the menu, enabled otherwise
Результат Options

SetIcons() публичный Метод

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
Результат Options

SetIcons() публичный Метод

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
Результат Options

SetMenus() публичный Метод

Selector for the elements that serve as the menu container, including sub-menus.
public SetMenus ( string value ) : Options
value string
Результат Options

SetRole() публичный Метод

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
Результат Options