public class SearchResultTreeChip extends AbstractTreeNodeChip implements AjaxRequestHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
COLLAPSE_ALL |
static String |
EXPAND_ALL |
protected boolean |
hasGathered |
COLLAPSE, EDIT, EXPAND, TOGGLECHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
SearchResultTreeChip(DisplayState displayState,
SearchResultNavigationChip parent,
Facet.FacetValue value) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(SearchResultTreeChip child) |
protected void |
edit()
Activated by the event string
AbstractTreeNodeChip.EDIT. |
void |
expandAll(boolean expand)
Set the expand status of this node and all subnodes (which are GenericExplorerMenuTreeNodeChips) to the given
expand state.
|
void |
gatherChildren() |
protected SearchResultTreeChip |
getChild(String code) |
protected Collection<SearchResultTreeChip> |
getChildren() |
String |
getIcon() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
List |
getMenuEntries()
Here you can specify what Actions you are able to perform at the moment.
|
String |
getName() |
protected SearchResultNavigationChip |
getParentNavigation() |
Facet.FacetValue |
getValue() |
protected List |
initializeChildren() |
boolean |
isActive()
returns whether or not the chip is active inactive chips will be shown with gray icon and grey label default is
true
|
boolean |
isSelected() |
void |
processAjaxEvents(HttpServletRequest request,
HttpServletResponse response,
PrintWriter out,
Map requestParameters) |
void |
processEvents(Map events)
Handles all incoming requests for this chip.
|
void |
setExpanded(boolean expand) |
protected void |
setValue(Facet.FacetValue value) |
String |
toString() |
void |
update(Facet facet) |
checkValid, getAllChildren, getChildrenInternal, hasChildren, isExpanded, setChildrenInternaladdEventListener, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getNameSpace, getNameSpaceFor, getParent, getProposedUniqueName, 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
protected boolean hasGathered
public SearchResultTreeChip(DisplayState displayState, SearchResultNavigationChip parent, Facet.FacetValue value)
protected void edit()
AbstractTreeNodeChipAbstractTreeNodeChip.EDIT.edit in class AbstractTreeNodeChippublic String getName()
getName in class AbstractTreeNodeChippublic String getJSPURI()
Chippublic boolean isActive()
AbstractTreeNodeChipisActive in class AbstractTreeNodeChippublic String getIcon()
getIcon in class AbstractTreeNodeChippublic boolean isSelected()
isSelected in class AbstractTreeNodeChipprotected SearchResultNavigationChip getParentNavigation()
public void addChild(SearchResultTreeChip child)
protected Collection<SearchResultTreeChip> getChildren()
protected SearchResultTreeChip getChild(String code)
protected List initializeChildren()
initializeChildren in class AbstractTreeNodeChippublic void processAjaxEvents(HttpServletRequest request,
HttpServletResponse response,
PrintWriter out,
Map requestParameters)
processAjaxEvents in interface AjaxRequestHandlerpublic List getMenuEntries()
AbstractChipgetMenuEntries in interface ChipgetMenuEntries in class AbstractChippublic void processEvents(Map events)
ChipprocessEvents in interface ChipprocessEvents in class AbstractTreeNodeChippublic void expandAll(boolean expand)
expand - if true all sub nodes will be expanded, if false all will be collapsedpublic void gatherChildren()
public void setExpanded(boolean expand)
setExpanded in class AbstractTreeNodeChipprotected void setValue(Facet.FacetValue value)
public void update(Facet facet)
public Facet.FacetValue getValue()
Copyright © 2017 SAP SE. All Rights Reserved.