public abstract class AbstractTreeNodeChip extends AbstractChip
AbstractTreeNodeChips.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COLLAPSE |
static java.lang.String |
EDIT
Events string for editing the connected object.
|
static java.lang.String |
EXPAND |
static java.lang.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. |
java.util.List |
getAllChildren()
Initializes the set of children
getChildrenInternal() if its not done before. |
protected java.util.List |
getChildrenInternal() |
abstract java.lang.String |
getIcon() |
abstract java.lang.String |
getName() |
boolean |
hasChildren()
This implementation has potential for causing slowdowns in the application.
|
protected abstract java.util.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(java.util.Map<java.lang.String,java.util.List<java.lang.String>> events)
Handles all incoming requests for this chip.
|
protected void |
setChildrenInternal(java.util.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 java.lang.String EXPAND
public static final java.lang.String COLLAPSE
public static final java.lang.String TOGGLE
public static final java.lang.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(java.util.Map<java.lang.String,java.util.List<java.lang.String>> events)
Chippublic abstract java.lang.String getIcon()
public abstract java.lang.String getName()
public boolean hasChildren()
getAllChildren() to answer the question.protected abstract java.util.List initializeChildren()
protected java.util.List getChildrenInternal()
NULL if its not initialized by method
initializeChildren().protected void setChildrenInternal(java.util.List children)
public final java.util.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.