public class SocketChip extends AbstractChip
HolderChip. Be aware that an additional name is used here
instead of AbstractChip.getID() to provide a programmer readable identifier.CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
SocketChip(DisplayState displayState,
Chip parent,
String name)
Constructor for creating a socket with no content.
|
SocketChip(DisplayState displayState,
Chip parent,
String name,
Chip initialPlugin)
Constructor for a socket with a initial plugin.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayParameters()
The default implementation returns
Null since this feature is not supported by default. |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
String |
getName() |
Chip |
getPlugin() |
boolean |
hasPlugin() |
void |
processEvents(Map events)
Should never be called.
|
void |
setPlugin(Chip plugin) |
addEventListener, checkValid, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, 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 SocketChip(DisplayState displayState, Chip parent, String name)
name - The name of the socket which will be used for identifying it by the window.public SocketChip(DisplayState displayState, Chip parent, String name, Chip initialPlugin)
name - The name of the socket which will be used for identifying it by the window.initialPlugin - The plugin which will be registered initially.public void setPlugin(Chip plugin)
plugin - Can never be NULL.RuntimeException - If parameter plugin is NULL.public Chip getPlugin()
public boolean hasPlugin()
public String getName()
public String getJSPURI()
Chippublic void processEvents(Map events)
RuntimeException - If its invoked.public String getDisplayParameters()
AbstractChipNull since this feature is not supported by default.getDisplayParameters in interface ChipgetDisplayParameters in class AbstractChipChip.getDisplayParameters()Copyright © 2017 SAP SE. All Rights Reserved.