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,
java.lang.String name)
Constructor for creating a socket with no content.
|
SocketChip(DisplayState displayState,
Chip parent,
java.lang.String name,
Chip initialPlugin)
Constructor for a socket with a initial plugin.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayParameters()
The default implementation returns
Null since this feature is not supported by default. |
java.lang.String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
java.lang.String |
getName() |
Chip |
getPlugin() |
boolean |
hasPlugin() |
void |
processEvents(java.util.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, java.lang.String name)
name - The name of the socket which will be used for identifying it by the window.public SocketChip(DisplayState displayState, Chip parent, java.lang.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.java.lang.RuntimeException - If parameter plugin is NULL.public Chip getPlugin()
public boolean hasPlugin()
public java.lang.String getName()
public java.lang.String getJSPURI()
Chippublic void processEvents(java.util.Map events)
java.lang.RuntimeException - If its invoked.public java.lang.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.