public abstract class TreeViewChip extends AbstractChip implements AjaxRequestHandler
| Modifier and Type | Field and Description |
|---|---|
protected List |
children |
static String |
COLLAPSE |
static String |
EXPAND |
static String |
TOGGLE |
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
TreeViewChip(DisplayState displayState,
Chip parent,
AttributeDescriptor attributeDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkValid()
Gives the chip the possibility to check if its objects are still valid.
|
AttributeDescriptor |
getAttributeDescriptor() |
String |
getAttributeLabel() |
String |
getAttributeLabel(AttributeDescriptor attributeDescriptor) |
List |
getChildren() |
boolean |
hasChildren() |
protected abstract void |
initialize() |
static boolean |
isAttributeVisible(ComposedType itemType,
AttributeDescriptor feature) |
boolean |
isExpanded() |
protected boolean |
isInitialized() |
boolean |
isLast() |
boolean |
isRoot() |
static boolean |
isTypeVisible(ComposedType type) |
void |
processAjaxEvents(HttpServletRequest request,
HttpServletResponse response,
PrintWriter out,
Map requestParameters) |
void |
processEvents(Map events)
Handles all incoming requests for this chip.
|
void |
setChildren(List children) |
void |
setExpanded(boolean isExpanded) |
void |
setLast(boolean last) |
void |
setRoot(boolean root) |
boolean |
wasRecentlyActive() |
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
protected List children
public TreeViewChip(DisplayState displayState, Chip parent, AttributeDescriptor attributeDescriptor)
public void setLast(boolean last)
public boolean isLast()
public void setRoot(boolean root)
public boolean isRoot()
public void setExpanded(boolean isExpanded)
public boolean isExpanded()
public List getChildren()
public boolean hasChildren()
public void setChildren(List children)
public String getAttributeLabel()
public String getAttributeLabel(AttributeDescriptor attributeDescriptor)
public AttributeDescriptor getAttributeDescriptor()
public void processEvents(Map events)
ChipprocessEvents in interface Chippublic boolean wasRecentlyActive()
public static boolean isAttributeVisible(ComposedType itemType, AttributeDescriptor feature)
public static boolean isTypeVisible(ComposedType type)
public void checkValid()
AbstractChipcheckValid in interface ChipcheckValid in class AbstractChipprotected abstract void initialize()
protected boolean isInitialized()
public void processAjaxEvents(HttpServletRequest request,
HttpServletResponse response,
PrintWriter out,
Map requestParameters)
processAjaxEvents in interface AjaxRequestHandlerCopyright © 2017 SAP SE. All Rights Reserved.