|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echoservlet.AbstractComponentPeer
nextapp.echoservlet.AbstractPaneUI
nextapp.echoservlet.ContentPaneUI
public class ContentPaneUI
A peer object for ContentPane
s. This class is responsible for
rendering HTML documents that contain rendered components.
Field Summary | |
---|---|
static StaticText |
SERVICE_CONTENT_PANE_SCRIPT
A JavaScript include that contains functionality required for content panes, such as functions that input and action components will use to notify the server of updated state. |
static StaticText |
SERVICE_DETECT_SCRIPT
|
static StaticText |
SERVICE_KEY_ACTION_COMMAND_SCRIPT
A service that will provide the JavaScript used to manage a keyActionCommand's state. |
static StaticText |
SERVICE_POPS_SCRIPT
|
static StaticText |
SERVICE_TIMER_SCRIPT
A service that will provide the JavaScript used to manage a timer's state. |
static StaticText |
SERVICE_X_SCRIPT
|
Fields inherited from interface nextapp.echoservlet.PaneUI |
---|
SCROLLING_ALWAYS, SCROLLING_AUTO, SCROLLING_NEVER |
Fields inherited from interface nextapp.echoservlet.ComponentPeer |
---|
IGNORE_PROPERTY_CHANGE |
Constructor Summary | |
---|---|
ContentPaneUI()
Creates a new ContentPaneUI . |
Method Summary | |
---|---|
static PleaseWaitRenderer |
getPleaseWaitRenderer()
|
static java.lang.String |
getScriptSetAction(java.lang.String id,
java.lang.String command)
Returns the JavaScript method call necessary to send an action command. |
static java.lang.String |
getScriptSetAction(java.lang.String id,
java.lang.String command,
boolean async)
|
static java.lang.String |
getScriptSetParameter(java.lang.String id,
java.lang.String value)
Returns the JavaScript method call necessary to store a parameter in the Controller frame's hidden form. |
java.lang.String |
getScrolling()
Returns the scrolling property of the pane. |
java.lang.String |
getUri(Connection conn)
Returns the URI from which the pane's service may be rendered. |
boolean |
isRedrawEnabled()
|
static void |
processInitializeScripts(HtmlDocument doc,
Connection conn)
|
void |
propertyChange(java.beans.PropertyChangeEvent e)
|
void |
registered()
Called when the component is registered. |
void |
service(Connection conn)
Services an HTTP request. |
void |
setRedrawEnabled(boolean redrawEnabled)
|
void |
unregistered()
Called when the component is unregistered. |
Methods inherited from class nextapp.echoservlet.AbstractPaneUI |
---|
render |
Methods inherited from class nextapp.echoservlet.AbstractComponentPeer |
---|
addAncillaryService, generateId, getCalculatedBackground, getCalculatedFont, getCalculatedForeground, getChildCount, getChildren, getComponent, getFocusedElementId, getId, getInstancePeer, getParentComponentPeer, getPeer, redraw, registerAncillaryServices, removeAncillaryService, setComponent, setId, setInstancePeer, unregisterAncillaryServices |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface nextapp.echoservlet.PaneUI |
---|
getId |
Methods inherited from interface nextapp.echoservlet.Service |
---|
getId |
Field Detail |
---|
public static final StaticText SERVICE_CONTENT_PANE_SCRIPT
public static final StaticText SERVICE_KEY_ACTION_COMMAND_SCRIPT
public static final StaticText SERVICE_TIMER_SCRIPT
public static final StaticText SERVICE_X_SCRIPT
public static final StaticText SERVICE_POPS_SCRIPT
public static final StaticText SERVICE_DETECT_SCRIPT
Constructor Detail |
---|
public ContentPaneUI()
ContentPaneUI
.
Method Detail |
---|
public static java.lang.String getScriptSetAction(java.lang.String id, java.lang.String command)
id
- The Id of the component setting the action.command
- The action command that is to be sent.public static java.lang.String getScriptSetAction(java.lang.String id, java.lang.String command, boolean async)
public static java.lang.String getScriptSetParameter(java.lang.String id, java.lang.String value)
id
- The Id of the component setting the parameter.value
- The new value of the parameter.public java.lang.String getScrolling()
PaneUI
getScrolling
in interface PaneUI
PaneUI.getScrolling()
public java.lang.String getUri(Connection conn)
PaneUI
getUri
in interface PaneUI
conn
- The connection from which to derive the URI.
PaneUI.getUri(Connection)
public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange
in interface java.beans.PropertyChangeListener
PropertyChangeListener.propertyChange(PropertyChangeEvent)
public void registered()
AbstractComponentPeer
registered
in interface ComponentPeer
registered
in class AbstractComponentPeer
ComponentPeer.registered()
public void service(Connection conn)
Service
service
in interface Service
conn
- A Connection
object which wraps
HttpServletRequest
and
HttpServletResponse
objects and provides
access to the facilities of the Echo application container.Service.service(Connection)
public static void processInitializeScripts(HtmlDocument doc, Connection conn)
public void unregistered()
AbstractComponentPeer
unregistered
in interface ComponentPeer
unregistered
in class AbstractComponentPeer
ComponentPeer.unregistered()
public boolean isRedrawEnabled()
public void setRedrawEnabled(boolean redrawEnabled)
public static PleaseWaitRenderer getPleaseWaitRenderer()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |