public abstract class AbstractItemListEntryChip extends ListEntryChip implements Comparable
checkValid() method to ensure the correct setting
of the validation state. Furthermore it has to implement the removing of this entry from its list. It implements
Comparable providing a default sorting functionality. This should be overridden by concrete
subclasses to provide a spohisticated behavior.ItemListChip,
Serialized FormCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
AbstractItemListEntryChip(DisplayState displayState,
ItemListChip parent,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkValid()
Gives the chip the possibility to check if its objects are still valid.
|
int |
compareTo(Object object)
Default implementation by comparing the PK of the underlying item.
|
HashMap |
getAttributeDisplayChips() |
List |
getAttributeNodes() |
List |
getChildNodes() |
String |
getIcon() |
Item |
getItem() |
String |
getItemAsString() |
ItemLayoutNode |
getItemLayoutNode() |
protected ComposedType |
getItemType() |
protected void |
setItem(Item anItem) |
getPosition, isFancyaddEventListener, 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, translateFormFieldToEventValueequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJSPURI, processEventspublic AbstractItemListEntryChip(DisplayState displayState, ItemListChip parent, Item item)
parent - The parent of this chip, which has to ensure the calling of the validation checking method
checkValid().item - The jalo item to be represented by this list entry chip.public Item getItem()
public String getItemAsString()
protected ComposedType getItemType()
public String getIcon()
protected void setItem(Item anItem)
public void checkValid()
AbstractChipcheckValid in interface ChipcheckValid in class AbstractChippublic int compareTo(Object object)
compareTo in interface Comparablepublic List getAttributeNodes()
public List getChildNodes()
public ItemLayoutNode getItemLayoutNode()
public HashMap getAttributeDisplayChips()
Copyright © 2017 SAP SE. All Rights Reserved.