public class Frame extends AbstractChip implements ExtraParamHandler
Chip which will be displayed. Also this chip displays the
container frame.jsp which has to be present. getScrollX() and
getScrollY().| Modifier and Type | Field and Description |
|---|---|
static String |
SET_SCROLLDOWNABSOLUTE
Deprecated.
since 3.0 M2, this field didn't serve any purpose for a long time anyway
|
static String |
SET_SCROLLDOWNRELATIVE
Deprecated.
since 3.0 M2, this field didn't serve any purpose for a long time anyway
|
static String |
SET_SCROLLX |
static String |
SET_SCROLLY |
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
Frame(DisplayState displayState,
Chip parent) |
Frame(DisplayState displayState,
Chip parent,
String frameName) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkValid()
Delegates the check for validity to
getMainChip(). |
boolean |
displayHeader() |
static Frame |
getCurrent() |
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.
|
Chip |
getMainChip()
Returns the main chip of this frame.
|
protected String |
getProposedUniqueName() |
int |
getScrollX()
Returns the client side x scroll position.
|
int |
getScrollY()
Returns the client side y scroll position.
|
String |
getSystemMessage() |
Window |
getWindow()
Tries to find the surrounding window
|
void |
handleExtraParams(Map extraParams)
Implementations of this method should handle and consume the parameters they are capable of handling.
|
boolean |
hasSystemMessage() |
boolean |
isUpdating() |
void |
processEvents(Map events)
Handles all incoming requests for this chip.
|
void |
refresh()
Refreshes the frame using a
FrameRefreshEvent. |
protected void |
revivePreviousMainChip()
Uses the predecessor relation to get the previous main chip
|
protected static void |
setCurrent(Frame frame) |
void |
setDisplayHeader(boolean displayHeader) |
void |
setMainChip(Chip aChip)
Sets the main chip of this frame.
|
void |
setScrollX(int scrollX) |
void |
setScrollY(int scrollY) |
void |
setUpdating(boolean isUpdating) |
protected static void |
unsetCurrent() |
addEventListener, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getMenuEntries, getNameSpace, getNameSpaceFor, getParent, getProposedUniqueNameFor, getRequestFocus, getSessionIdentifier, getStringValue, getUniqueName, goFullScreen, hasVisibleContextMenuEntries, isButtonPushed, isButtonPushed, isErrorQueueEmpty, isValid, leaveFullScreen, notifyEventListeners, notifyEventListeners, postErrorMessage, postInfoMessage, postWindowEvent, refreshChild, registerUniqueName, removeEventListener, removeInfoMessage, render, render, setClipboard, setParent, setRequestFocus, setValid, setWindowStatus, translateFormFieldToEventName, translateFormFieldToEventValuepublic static final String SET_SCROLLX
public static final String SET_SCROLLY
@Deprecated public static final String SET_SCROLLDOWNABSOLUTE
@Deprecated public static final String SET_SCROLLDOWNRELATIVE
public Frame(DisplayState displayState, Chip parent, String frameName)
public Frame(DisplayState displayState, Chip parent)
protected static final void setCurrent(Frame frame)
public static final Frame getCurrent()
protected static final void unsetCurrent()
public Chip getMainChip()
null is returned!public void setMainChip(Chip aChip)
public String getJSPURI()
Chipprotected final void revivePreviousMainChip()
public final void processEvents(Map events)
ChipprocessEvents in interface Chippublic boolean isUpdating()
public void setUpdating(boolean isUpdating)
public void checkValid()
getMainChip().checkValid in interface ChipcheckValid in class AbstractChippublic void refresh()
FrameRefreshEvent. Please note this is overridden in
Window.refresh()refresh in class AbstractChippublic Window getWindow()
AbstractChipgetWindow in class AbstractChipNULL if the chip is not part of a window.public void setScrollX(int scrollX)
public int getScrollX()
SET_SCROLLX.public void setScrollY(int scrollY)
public int getScrollY()
SET_SCROLLY.protected String getProposedUniqueName()
getProposedUniqueName in class AbstractChippublic void setDisplayHeader(boolean displayHeader)
public boolean displayHeader()
public String getDisplayParameters()
AbstractChipNull since this feature is not supported by default.getDisplayParameters in interface ChipgetDisplayParameters in class AbstractChipChip.getDisplayParameters()public boolean hasSystemMessage()
public String getSystemMessage()
public void handleExtraParams(Map extraParams)
ExtraParamHandlerhandleExtraParams in interface ExtraParamHandlerCopyright © 2017 SAP SE. All Rights Reserved.