|
NextApp Echo App Container 1.0.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echoservlet.OutgoingUpdateQueue
Manages outgoing updates to the client. Managed updates include:
Field Summary | |
private java.util.Set |
closedWindows
A set containing WindowUIs that need to be closed on the client. |
private InstancePeer |
instancePeer
The InstancePeer with which this OutgoingUpdateQueue is associated. |
private java.util.Set |
loweredWindows
A set containing WindowUIs that need to be lowered on the client. |
private java.util.Set |
openedWindows
A set containing WindowUI's that need to be opened on the client. |
private java.util.Set |
paneUpdates
A set containing all services that need to be refreshed on the client. |
private java.util.Set |
raisedWindows
A set containing WindowUIs that need to be raised on the client. |
private java.util.Set |
windowTitleUpdates
A set containing all WindowUI's whose titles need to be updated on the client. |
private java.util.Set |
windowUpdates
A set containing all WindowUI's whose content needs to be updated on the client. |
Constructor Summary | |
(package private) |
OutgoingUpdateQueue(InstancePeer instancePeer)
Creates a new OutgoingUpdateQueue for the specified InstancePeer. |
Method Summary | |
(package private) void |
deleteComponentUpdate(ComponentPeer componentPeer)
Removes all previously scheduled service updates for services that are descendants of the specified ComponentPeer . |
(package private) java.util.Iterator |
dequeuePaneUpdate()
Returns all services (panes and windows) that are present on the client and need to be refreshed such that they are in sync with their respective server-side representations. |
(package private) java.util.Iterator |
dequeueWindowClose()
Returns an iterator over all windows that are presently open on the client and need to be closed. |
(package private) java.util.Iterator |
dequeueWindowLower()
Returns an iterator over all windows that need to be lowered on the client. |
(package private) java.util.Iterator |
dequeueWindowOpen()
Returns an iterator over all windows that are presently closed on the client and need to be opened. |
(package private) java.util.Iterator |
dequeueWindowRaise()
Returns an iterator over all windows that need to be raised on the client. |
(package private) java.util.Iterator |
dequeueWindowTitleUpdate()
Returns an iterator over all open windows that need to have their titles updated on the client. |
(package private) java.util.Iterator |
dequeueWindowUpdate()
Returns an iterator over all open windows that need to have their content updated on the client. |
(package private) void |
enqueueComponentUpdate(ComponentPeer componentPeer)
Causes the service containing the given component to be re-rendered. |
private void |
enqueuePaneUpdate(ComponentPeer componentPeer)
Adds the Service that is responsible for rendering the
specified ComponentPeer to the list of services needing
to be refreshed. |
(package private) void |
enqueueWindowClose(WindowUI windowUI)
Removes a window from the application. |
(package private) void |
enqueueWindowLower(WindowUI windowUI)
Schedules a window to be lowered to the background of the client application. |
(package private) void |
enqueueWindowOpen(WindowUI windowUI)
Adds a window to the application. |
(package private) void |
enqueueWindowRaise(WindowUI windowUI)
Adds the specified WindowUI to the list of windows that
need to have be raised on the client. |
(package private) void |
enqueueWindowTitleUpdate(WindowUI windowUI)
Adds the specified WindowUI to the list of windows that
need to have their titles updated. |
private void |
enqueueWindowUpdate(WindowUI windowUI)
Adds the specified WindowUI to the list of windows that
need to have their content updated. |
(package private) boolean |
isPaneUpdateRequired()
Returns true if there are services that need to be refreshed on the client. |
(package private) boolean |
isWindowCloseRequired()
Returns true if there are windows on the client that need to be closed. |
(package private) boolean |
isWindowLowerRequired()
Returns true if there are windows that need to be lowered to the background of the screen. |
(package private) boolean |
isWindowOpenRequired()
Returns true if there are windows that need to be opened on the client. |
(package private) boolean |
isWindowRaiseRequired()
Returns true if there are windows that need to be raised to the foreground of the screen. |
(package private) boolean |
isWindowTitleUpdateRequired()
Returns true if there are windows that need their titles updated on the client. |
(package private) boolean |
isWindowUpdateRequired()
Returns true if there are windows that need their content updated on the client. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Set closedWindows
private java.util.Set raisedWindows
private java.util.Set loweredWindows
private InstancePeer instancePeer
private java.util.Set openedWindows
private java.util.Set paneUpdates
private java.util.Set windowTitleUpdates
private java.util.Set windowUpdates
Constructor Detail |
OutgoingUpdateQueue(InstancePeer instancePeer)
instancePeer
- The InstancePeer that this OutgoingUpdateQueue will handle
updates for.Method Detail |
void deleteComponentUpdate(ComponentPeer componentPeer)
ComponentPeer
. It is
necessary to remove descendant services if the componentPeer has been
removed or has become invisible.
componentPeer
- The component peer whose descendant services
are to be removed.java.util.Iterator dequeuePaneUpdate()
java.util.Iterator dequeueWindowClose()
java.util.Iterator dequeueWindowLower()
java.util.Iterator dequeueWindowOpen()
java.util.Iterator dequeueWindowRaise()
java.util.Iterator dequeueWindowTitleUpdate()
java.util.Iterator dequeueWindowUpdate()
void enqueueComponentUpdate(ComponentPeer componentPeer)
componentPeer
- A ComponentPeer
whose represented
Component
has changed and therefore needs to be
updated on the client browser.private void enqueuePaneUpdate(ComponentPeer componentPeer)
Service
that is responsible for rendering the
specified ComponentPeer
to the list of services needing
to be refreshed.
componentPeer
- The component that needs to be re-rendered.void enqueueWindowClose(WindowUI windowUI)
addWindow()
).
windowUI
- The window to be removed.void enqueueWindowLower(WindowUI windowUI)
windowUI
- The window to lower.void enqueueWindowOpen(WindowUI windowUI)
removeWindow()
).
windowUI
- The window to be added.void enqueueWindowRaise(WindowUI windowUI)
WindowUI
to the list of windows that
need to have be raised on the client.
windowUI
- the peer of a Window
which should be
raised on the client.void enqueueWindowTitleUpdate(WindowUI windowUI)
WindowUI
to the list of windows that
need to have their titles updated.
windowUI
- The peer of a Window
whose title has been
changed.private void enqueueWindowUpdate(WindowUI windowUI)
WindowUI
to the list of windows that
need to have their content updated.
windowUI
- The peer of a Window
whose content has been
changed.boolean isPaneUpdateRequired()
boolean isWindowCloseRequired()
boolean isWindowLowerRequired()
boolean isWindowOpenRequired()
boolean isWindowRaiseRequired()
boolean isWindowTitleUpdateRequired()
boolean isWindowUpdateRequired()
|
NextApp Echo App Container 1.0.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |