public abstract class AbstractItemTreeNodeChip extends AbstractTreeNodeChip implements Comparable
TreeChip. It contains a jalo item as displayable
object, which can be NULL. Furthermore it implements checkValid() for enhanced validation
check. Additionally it implements Comparable by comparing the
AbstractTreeNodeChip.getName(). It doesnt implements the handling of the childs. This
has to be done by subclasses.COLLAPSE, EDIT, EXPAND, TOGGLECHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
AbstractItemTreeNodeChip(DisplayState displayState,
Chip parent,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkValid()
Implements the calling of
AbstractTreeNodeChip.checkValid() of all children AbstractTreeNodeChip.getChildrenInternal(), but not the
handling of invalid children. |
int |
compareTo(Object obj)
Compares via the result of the
AbstractTreeNodeChip.getName() method. |
void |
expandAllChildren(boolean recursively) |
protected Chip |
getDisplayChip(Chip parent)
Default implementation here because its doesnt contains a display chip.
|
Item |
getJaloItem() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
boolean |
hasDisplayChip()
Default implementation here because its doesnt contains a display chip.
|
protected void |
removeChild(AbstractTreeNodeChip chip)
Removes the child from the list of {link #getAllChildren()}.
|
edit, getAllChildren, getChildrenInternal, getIcon, getName, hasChildren, initializeChildren, isActive, isExpanded, isSelected, processEvents, setChildrenInternal, setExpandedaddEventListener, 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 AbstractItemTreeNodeChip(DisplayState displayState, Chip parent, Item item)
public void expandAllChildren(boolean recursively)
recursively - If TRUE the subtree will be expanded completely, otherwise not.public Item getJaloItem()
protected void removeChild(AbstractTreeNodeChip chip)
public boolean hasDisplayChip()
FALSEprotected Chip getDisplayChip(Chip parent)
NULLpublic String getJSPURI()
Chippublic int compareTo(Object obj)
AbstractTreeNodeChip.getName() method.compareTo in interface Comparablepublic void checkValid()
AbstractTreeNodeChipAbstractTreeNodeChip.checkValid() of all children AbstractTreeNodeChip.getChildrenInternal(), but not the
handling of invalid children.checkValid in interface ChipcheckValid in class AbstractTreeNodeChipCopyright © 2017 SAP SE. All Rights Reserved.