public abstract class AbstractAttributeValueChip extends AbstractChip
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_HEIGHT |
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
AbstractAttributeValueChip(DisplayState displayState,
Chip parent,
String jspURI,
Item item,
String qualifier) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowHTMLEscaping()
Returns true by default, which means, the displayvalue may be 'html-escaped' within a jsp.
|
protected abstract String |
getDefaultJSPURI()
Implement this to provide a (default) jsp uri for this chip.
|
abstract String |
getDisplayValue()
Implement this to return the value of this attribute value chip in an appropriate form.
|
int |
getHeight()
Returns the (desired) height of this chip.
|
Item |
getItem() |
String |
getJSPURI()
If a jsp uri was given when this chip was constructed, the that uri is returned.
|
protected String |
getProposedUniqueName() |
String |
getQualifier() |
protected Object |
getValue() |
void |
processEvents(Map events)
Does nothing by default, but can be overridden if necessary.
|
void |
setHeight(int newHeight)
Sets the (desired) height of this chip.
|
addEventListener, checkValid, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getMenuEntries, getNameSpace, getNameSpaceFor, getParent, 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 int DEFAULT_HEIGHT
public AbstractAttributeValueChip(DisplayState displayState, Chip parent, String jspURI, Item item, String qualifier)
public Item getItem()
public String getQualifier()
protected Object getValue()
public String getJSPURI()
public void processEvents(Map events)
Chip.processEvents(java.util.Map)protected abstract String getDefaultJSPURI()
public abstract String getDisplayValue()
public boolean allowHTMLEscaping()
public int getHeight()
public void setHeight(int newHeight)
newHeight - protected String getProposedUniqueName()
getProposedUniqueName in class AbstractChipCopyright © 2017 SAP SE. All Rights Reserved.