public class UrlAsImageDisplayChip extends AbstractAttributeDisplayChip
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
UrlAsImageDisplayChip(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.
|
String |
getDisplayValue()
Implement this to return the value of this attribute value chip in an appropriate form.
|
int |
getHeight()
Returns the height of this display chip, calculated using the given height (or the default height of 50px).
|
String |
getLinkStyle()
Returns "class = \"imagelink\"" to provide a hover effect for the result list link.
|
void |
setParameters(Map parameters)
Sets the map of parameters used to configure the display chip (may contain width and height).
|
createAttributeDisplayChip, getDefaultJSPURI, getLinkTarget, getLinkTitle, getLinkUrl, isAlignRight, isDefaultLink, setAlignRightgetItem, getJSPURI, getProposedUniqueName, getQualifier, getValue, processEvents, setHeightaddEventListener, 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 UrlAsImageDisplayChip(DisplayState displayState, Chip parent, String jspURI, Item item, String qualifier)
displayState - parent - jspURI - item - qualifier - public String getDisplayValue()
AbstractAttributeValueChipgetDisplayValue in class AbstractAttributeValueChippublic int getHeight()
getHeight in class AbstractAttributeValueChippublic void setParameters(Map parameters)
setParameters in class AbstractAttributeDisplayChipparameters - map of parameters used to configure the display chip.public boolean allowHTMLEscaping()
AbstractAttributeValueChipallowHTMLEscaping in class AbstractAttributeValueChipAbstractAttributeValueChip.allowHTMLEscaping()public String getLinkStyle()
getLinkStyle in class AbstractAttributeDisplayChipAbstractAttributeDisplayChip.getLinkStyle()Copyright © 2017 SAP SE. All Rights Reserved.