public class TextChip extends AbstractChip
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
TextChip(DisplayState displayState,
Chip parent)
Creates a new TextChip for the given DisplayState and parent chip.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getJSPURI()
Returns the uri of the jsp which should render this chip.
|
String |
getName()
Returns the name of this chip which will be used as a key to obtain a localized text.
|
String |
getText()
Returns the localized String which is obtained using the name of this chip as a key.
|
int |
getWidth()
Returns the width of this chip in pixels.
|
void |
processEvents(Map events)
This chip does not handle any events so this method is empty.
|
void |
setName(String name)
Sets the name of this chip which will be used as a key to obtain a localized text.
|
void |
setWidth(int width)
Sets the width of this chip in pixels.
|
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, 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 TextChip(DisplayState displayState, Chip parent)
public void processEvents(Map events)
public String getJSPURI()
public String getName()
public void setName(String name)
name - the name of this chip which is used for localizationpublic int getWidth()
public void setWidth(int width)
width - the width of this chip in pixels.public String getText()
Copyright © 2017 SAP SE. All Rights Reserved.