Utility class used by the default and screen reader tree/treeTable peers Mostly contains shared context menu handling fucntions
Method Summary
|
public Object |
addContextMenuEventListeners()
-
Attach client side context menu listeners
|
public Object |
clearCachedContextMenuItems()
|
public Object |
collapseAllBelowAction(Object componentEvent)
-
collapse all menu item action handler
|
public Object |
createComponentSubId(Object clientId, Object name)
|
public Object |
expandAction(Object componentEvent)
-
Expand menu item action handler
|
public Object |
expandAllBelowAction(Object componentEvent)
-
Expand all menu item action handler
|
public Object |
findContextMenuItems()
|
public Object |
findMenuItemContainer()
|
public Object |
findSelectorItemAndRowKey(Object element)
-
Given a parent node, find the child dom element and its associated row key attribute inside the selector popup
|
public Object |
getCurrencyFromDomElement(Object domEvent, Object domElement, Object rootDomElement, Object attr)
-
Returns the attribute attached to the domElement.
|
public Object |
getParentWithAttribute(Object domElem, Object attributeName, Object attributeValue)
-
Walk up the parent hierarchy and find an element with the given style class
|
private Object |
_getSelectionCount()
|
public Object |
getSelectorIcon()
-
Get hierarchical selector icon by id
|
public Object |
getSelectorItemRowKey(Object nativeEvent, Object target)
-
Get the row key associated with the node inside the selector popup
|
public Object |
getSelectorSelectedRowKey()
-
Return the row key associated with the selected node inside the hierarchical selector popup
|
private Object |
_handleComponentAction(Object componentEvent)
-
Context menu item action handler
|
private Object |
_handleSelectorPopupClosed(Object componentEvent)
-
hiererchical selector popup close handler
|
public Object |
hasPathStamp()
-
Determines if the tree has a pathStamp facet
|
public Object |
hideSelectorPopup()
-
Hide the iererchical selector popup
|
protected Object |
Init(Object peer)
-
Initializes the instance.
|
protected static Object |
InitClass()
|
public Object |
isMultiRoot()
-
Determines if the tree is multi-rooted
|
public Object |
isSelectorIconVisible()
-
Determines if the hierarchical selector icon is shown
|
public Object |
isSelectorPopupVisible()
-
Is the hierarchical selector popup visible
|
public Object |
removeContextMenuEventListeners(Object component)
-
Remove context menu listeners
|
public Object |
selectSelectorPopupItem(Object next)
-
Select the next/previous node inside the hierarchical selector popup
|
public Object |
setAssociatedDisclosedRowKeys(Object newValue, Object oldValue)
|
public Object |
setupDefaultRowContextMenu(Object isLeaf, Object isExpanded, Object nodeDepth, Object isMultiRoot, Object isFocusRow)
-
Setup listeners for context menu
|
public Object |
shouldResetMenuEventListeners()
|
public Object |
showAsTopAction(Object componentEvent)
-
Show as top menu item action handler
|
public Object |
showSelectorPopup()
-
Display the hierarchical selector popup
|
public Object |
sortAscendingAction(Object componentEvent)
-
Sort ascending menu item action handler
|
public Object |
sortDescendingAction(Object componentEvent)
-
Sort descending menu item action handler
|
public Object |
updateContextMenu(Object isLeaf, Object isExpanded, Object nodeDepth, Object isMultiRoot, Object isContextMenuSelect, Object isFocusRow)
-
Update the status of the context menu items
|