Class ZmTagMenu
Extends
ZmPopupMenu.
This class represents a menu structure of tags that can be added to or removed
from item(s). Based on the items passed in when it renders, it presents a
list of tags that can be added (any tag all the items don't already have), and a
list of tags that can be removed (tags that any of the items have).
Since the content is set every time it is displayed, the tag menu doesn't need
a change listener.
Defined in: ZmTagMenu.js.
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
Creates an empty tag menu.
|
- Methods borrowed from class ZmPopupMenu:
- addSelectionListener, createMenuItem, createSeparator, enable, enableAll, getMenuItem, getMenuItems, getSearchMenu, removeSelectionListener, setItemVisible
- Methods borrowed from class DwtMenu:
- addPopdownListener, addPopupListener, checkItem, getItem, getItemById, getItemCount, getItems, isPoppedUp, removePopdownListener, removePopupListener, scrollToItem, setSelectedItem
- Methods borrowed from class DwtComposite:
- addChild, cleanupSeparators, clear, dispose, getChild, getChildren, getNumChildren, getTabGroupMember, removeChild, removeChildren
- Methods borrowed from class DwtControl:
- addClassName, addControlListener, addDisposeListener, addListener, appendElement, blur, clearContent, clearHandler, condClassName, delClassName, focus, getBounds, getClassName, getContent, getCursor, getData, getDragBox, getDragSource, getDropTarget, getEnabled, getFocusElement, getH, getHtmlElement, getHTMLElId, getInsetBounds, getInsets, getLocation, getMargins, getOpacity, getOuterSize, getPosition, getScrollContainer, getScrollStyle, getSize, getTooltipBase, getToolTipContent, getVisibility, getVisible, getW, getX, getXW, getY, getYH, getZIndex, hasFocus, isAlertShown, isDisposed, isInitialized, isListenerRegistered, notifyListeners, preventContextMenu, preventSelection, removeAllListeners, removeControlListener, removeDisposeListener, removeListener, reparent, reparentHtmlElement, replaceElement, setBounds, setClassName, setContent, setCursor, setData, setDisplay, setDisplayState, setDragBox, setDragSource, setDropTarget, setEnabled, setEventPropagation, setFocusElement, setHandler, setHtmlElementId, setLocation, setOpacity, setPosition, setScrollStyle, setSize, setToolTipContent, setVisibility, setVisible, setZIndex, showAlert, zShow
Class Detail
ZmTagMenu(parent, controller)
Creates an empty tag menu.
- Parameters:
-
{DwtControl} parent
- the parent widget
-
{ZmController} controller
- the owning controller
|