Properties Methods Events Config Options Direct Link
Observable
  Component
    BoxComponent
      Container
        Menu
          ColorMenu

Class CQ.Ext.menu.ColorMenu

Package:CQ.Ext.menu
Class:ColorMenu
Extends:CQ.Ext.menu.Menu
Clientlib:cq.widgets
xtype:colormenu

A menu containing a CQ.Ext.ColorPalette Component.

Notes:

  • Although not listed here, the constructor for this class accepts all of the configuration options of CQ.Ext.ColorPalette.
  • If subclassing ColorMenu, any configuration options for the ColorPalette must be applied to the initialConfig property of the ColorMenu. Applying ColorPalette configuration settings to this will not affect the ColorPalette's configuration.
@xtype colormenu

Config Options

Config Options Defined By
  allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
  allowOtherMenus : Boolean
True to allow multiple menus to be displayed at the same time (defaults to false)
Menu
  disabled : Boolean
Render this component disabled (default is false).
Component
  disabledClass : String
CSS class added to the component when it is disabled (defaults to 'x-item-disabled').
Component
  hideOnClick : Boolean
False to continue showing the menu after a color is selected, defaults to true.
ColorMenu
  minWidth : Number
The minimum width of the menu in pixels (defaults to 120)
Menu
  pageX : Number
The page level x coordinate for this component if contained within a positioning container.
BoxComponent
  pageY : Number
The page level y coordinate for this component if contained within a positioning container.
BoxComponent
  showSeparator : Boolean
True to show the icon separator. (defaults to true).
Menu
  x : Number
The local x (left) coordinate for this component if contained within a positioning container.
BoxComponent
  y : Number
The local y (top) coordinate for this component if contained within a positioning container.
BoxComponent
  zIndex : Number
zIndex to use when the menu is floating.
Menu

Public Properties

Property Defined By
  disabled : Boolean
True if this component is disabled. Read-only.
Component
  hidden : Boolean
True if this component is hidden. Read-only.
Component
  initialConfig : Object
This Component's initial configuration specification. Read-only.
Component
  items : MixedCollection
The collection of components in this container as a CQ.Ext.util.MixedCollection
Container
  palette : ColorPalette The
ColorMenu
  refOwner : CQ.Ext.Container The
Component
  rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

Method Defined By

Public Events

Event Defined By