public class MenuChip extends AbstractChip implements DisplayRequestHandler, SearchRequestHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
HOME |
static String |
MENU |
static String |
SCROLLX |
static String |
SCROLLY |
static String |
TREE |
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
MenuChip(DisplayState displayState,
Chip parent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandleRequest(DisplayRequest request) |
boolean |
canHandleRequest(SearchRequest request)
Implementation of SearchRequestHandler interface.
|
void |
checkValid()
Gives the chip the possibility to check if its objects are still valid.
|
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
GenericExplorerMenuTreeNodeContentChip |
getMenuContentChip() |
List |
getRootChips()
Return all root chips.
|
int |
getScrollX() |
int |
getScrollY() |
Chip |
getSelected() |
String |
getUserName()
Returns the name of the current session user.
|
void |
handleRequest(DisplayRequest request) |
void |
handleRequest(SearchRequest request)
Implementation of SearchRequestHandler interface.
|
boolean |
isChildSelected(Chip chip) |
boolean |
isHomeSelected() |
boolean |
isSelected(Chip chip) |
void |
processEvents(Map events)
Handles all incoming requests for this chip.
|
void |
setSelected(Chip chip) |
addEventListener, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getMenuEntries, 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 TREE
public static final String MENU
public static final String SCROLLX
public static final String SCROLLY
public static final String HOME
public MenuChip(DisplayState displayState, Chip parent)
public GenericExplorerMenuTreeNodeContentChip getMenuContentChip()
public List getRootChips()
List of Root-Chipspublic void processEvents(Map events)
ChipprocessEvents in interface Chippublic int getScrollX()
public int getScrollY()
public String getJSPURI()
Chippublic String getUserName()
null, the login of the current session
user is returned as a fallback.null, the login of the current session
user is returned as a fallbackpublic boolean isSelected(Chip chip)
public void setSelected(Chip chip)
public Chip getSelected()
public boolean isHomeSelected()
public boolean isChildSelected(Chip chip)
public void checkValid()
AbstractChipcheckValid in interface ChipcheckValid in class AbstractChippublic boolean canHandleRequest(DisplayRequest request)
canHandleRequest in interface DisplayRequestHandlerpublic void handleRequest(DisplayRequest request)
handleRequest in interface DisplayRequestHandlerpublic boolean canHandleRequest(SearchRequest request)
canHandleRequest in interface SearchRequestHandlerrequest - the SearchRequest to be handledpublic void handleRequest(SearchRequest request)
handleRequest in interface SearchRequestHandlerrequest - the SearchRequest to be handledCopyright © 2017 SAP SE. All Rights Reserved.