public abstract class AbstractTreeNodeChip extends AbstractChip
AbstractTreeNodeChips.| Modifier and Type | Field and Description |
|---|---|
static String |
COLLAPSE |
static String |
EDIT
Events string for editing the connected object.
|
static String |
EXPAND |
static String |
TOGGLE |
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
AbstractTreeNodeChip(DisplayState displayState,
Chip parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkValid()
Implements the calling of
checkValid() of all children getChildrenInternal(), but not the
handling of invalid children. |
protected abstract void |
edit()
Activated by the event string
EDIT. |
List |
getAllChildren()
Initializes the set of children
getChildrenInternal() if its not done before. |
protected List |
getChildrenInternal() |
abstract String |
getIcon() |
abstract String |
getName() |
boolean |
hasChildren()
This implementation has potential for causing slowdowns in the application.
|
protected abstract 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 |
isExpanded() |
boolean |
isSelected() |
void |
processEvents(Map<String,List<String>> events)
Handles all incoming requests for this chip.
|
protected void |
setChildrenInternal(List children) |
void |
setExpanded(boolean isExpanded) |
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 EXPAND
public static final String COLLAPSE
public static final String TOGGLE
public static final String EDIT
edit().public AbstractTreeNodeChip(DisplayState displayState, Chip parent)
public boolean isExpanded()
public void setExpanded(boolean isExpanded)
protected abstract void edit()
EDIT.public void processEvents(Map<String,List<String>> events)
Chippublic abstract String getIcon()
public abstract String getName()
public boolean hasChildren()
getAllChildren() to answer the question.protected abstract List initializeChildren()
protected List getChildrenInternal()
NULL if its not initialized by method
initializeChildren().protected void setChildrenInternal(List children)
public final List getAllChildren()
getChildrenInternal() if its not done before.AbstractTreeNodeChips.public void checkValid()
checkValid() of all children getChildrenInternal(), but not the
handling of invalid children.checkValid in interface ChipcheckValid in class AbstractChippublic boolean isSelected()
public boolean isActive()
Copyright © 2017 SAP SE. All Rights Reserved.