public class GenericExplorerMenuTreeNodeChip extends AbstractExplorerMenuTreeNodeChip implements ExtraParamHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
COLLAPSE_ALL |
static String |
EXPAND_ALL |
COLLAPSE, EDIT, EXPAND, TOGGLECHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
GenericExplorerMenuTreeNodeChip(DisplayState displayState,
Chip parent,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(AbstractExplorerMenuTreeNodeChip child) |
protected void |
edit()
Overrides super method to additionally expand/collapse this node (calls super.edit() afterwards).
|
void |
expandAll(boolean expand)
Set the expand status of this node and all subnodes (which are GenericExplorerMenuTreeNodeChips) to the given
expand state.
|
protected List |
getChildren() |
Chip |
getDisplayChip(Chip parent)
Picks up the top-most tree node content chip since it is aleready showing
|
String |
getIcon() |
List |
getMenuEntries()
Here you can specify what Actions you are able to perform at the moment.
|
String |
getName() |
protected String |
getProposedUniqueName() |
void |
handleExtraParams(Map extraParams)
Implementations of this method should handle and consume the parameters they are capable of handling.
|
boolean |
hasDisplayChip() |
boolean |
isActive()
returns whether or not the chip is active inactive chips will be shown with gray icon and grey label default is
true
|
void |
processEvents(Map<String,List<String>> events)
Handles all incoming requests for this chip.
|
canHandleRequest, canHandleRequest, getDescription, getJSPURI, getMenuChip, handleRequest, handleRequest, initializeChildren, isSelected, processAjaxEvents, setContent, setDescription, setSelectedcheckValid, getAllChildren, getChildrenInternal, hasChildren, isExpanded, setChildrenInternal, setExpandedaddEventListener, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getNameSpace, getNameSpaceFor, getParent, getProposedUniqueNameFor, getRequestFocus, getSessionIdentifier, getStringValue, getUniqueName, getWindow, goFullScreen, hasVisibleContextMenuEntries, isButtonPushed, isButtonPushed, isErrorQueueEmpty, isValid, leaveFullScreen, notifyEventListeners, notifyEventListeners, postErrorMessage, postInfoMessage, postWindowEvent, refresh, refreshChild, registerUniqueName, removeEventListener, removeInfoMessage, render, render, setClipboard, setParent, setRequestFocus, setValid, setWindowStatus, translateFormFieldToEventName, translateFormFieldToEventValuepublic static final String EXPAND_ALL
public static final String COLLAPSE_ALL
public GenericExplorerMenuTreeNodeChip(DisplayState displayState, Chip parent, String name)
public String getIcon()
getIcon in class AbstractTreeNodeChippublic String getName()
getName in class AbstractTreeNodeChippublic void addChild(AbstractExplorerMenuTreeNodeChip child)
protected List getChildren()
getChildren in class AbstractExplorerMenuTreeNodeChippublic List getMenuEntries()
AbstractChipgetMenuEntries in interface ChipgetMenuEntries in class AbstractExplorerMenuTreeNodeChipMenuEntrypublic void processEvents(Map<String,List<String>> events)
ChipprocessEvents in interface ChipprocessEvents in class AbstractExplorerMenuTreeNodeChippublic void expandAll(boolean expand)
expand - if true all sub nodes will be expanded, if false all will be collapsedpublic boolean hasDisplayChip()
hasDisplayChip in class AbstractExplorerMenuTreeNodeChippublic Chip getDisplayChip(Chip parent)
getDisplayChip in class AbstractExplorerMenuTreeNodeChipprotected String getProposedUniqueName()
getProposedUniqueName in class AbstractChippublic boolean isActive()
AbstractTreeNodeChipisActive in class AbstractTreeNodeChipprotected void edit()
edit in class AbstractExplorerMenuTreeNodeChipAbstractTreeNodeChip.edit()public void handleExtraParams(Map extraParams)
ExtraParamHandlerhandleExtraParams in interface ExtraParamHandlerCopyright © 2017 SAP SE. All Rights Reserved.