Jx.Menu.Separator

Extends: Object

A convenience class to create a visual separator in a menu.

Example

License

Copyright © 2008, DM Solutions Group Inc.

This file is licensed under an MIT style license

Summary
Jx.Menu.SeparatorExtends: Object
Properties
domObj{HTMLElement} the HTML element that the separator is contained within
owner{Jx.Menu, Jx.Menu.SubMenu} the menu that the separator is in.
Constructor
Jx.Menu.SeparatorCreate a new instance of a menu separator
Functions
setOwnerSet the ownder of this menu item
hideHide the menu item.
showShow the menu item

Properties

domObj

{HTMLElement} the HTML element that the separator is contained within

owner

{Jx.Menu, Jx.Menu.SubMenu} the menu that the separator is in.

Constructor

Jx.Menu.Separator

Create a new instance of a menu separator

Functions

setOwner

setOwner: function(obj)

Set the ownder of this menu item

Parameters

obj{Object} the new owner

hide

Hide the menu item.

show

Show the menu item

Extends: Object
Extends: Jx.Menu.Item
setOwner: function(obj)
Set the ownder of this menu item