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,
java.lang.String jspURI,
Item item,
java.lang.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 java.lang.String |
getDefaultJSPURI()
Implement this to provide a (default) jsp uri for this chip.
|
abstract java.lang.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() |
java.lang.String |
getJSPURI()
If a jsp uri was given when this chip was constructed, the that uri is returned.
|
protected java.lang.String |
getProposedUniqueName() |
java.lang.String |
getQualifier() |
protected java.lang.Object |
getValue() |
void |
processEvents(java.util.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, java.lang.String jspURI, Item item, java.lang.String qualifier)
public Item getItem()
public java.lang.String getQualifier()
protected java.lang.Object getValue()
public java.lang.String getJSPURI()
public void processEvents(java.util.Map events)
Chip.processEvents(java.util.Map)protected abstract java.lang.String getDefaultJSPURI()
public abstract java.lang.String getDisplayValue()
public boolean allowHTMLEscaping()
public int getHeight()
public void setHeight(int newHeight)
newHeight - protected java.lang.String getProposedUniqueName()
getProposedUniqueName in class AbstractChipCopyright © 2017 SAP SE. All Rights Reserved.