|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo.AbstractComponent
nextapp.echo.AbstractPane
nextapp.echo.ContentPane
echopoint.asynch.AsynchContentPane
public class AsynchContentPane
AsynchContentPane is a ContentPane pane that can receive
asynchronous communications events, because it implements
AsynchEventSink.
Components that are added to the ContentPane can implement the special client side support code and receive asynchonous event notifications.
| Field Summary |
|---|
| Fields inherited from class nextapp.echo.AbstractPane |
|---|
PROPORTIONAL, RESIZABLE_CHANGED_PROPERTY, STYLE_RESIZABLE |
| Constructor Summary | |
|---|---|
AsynchContentPane()
|
|
| Method Summary | |
|---|---|
void |
add(Component c,
int n)
If the component that is added, supports AsynchEventSource, then this pane is set as its AsynchEventSink. |
AsynchEvent |
getEvent()
Returns the next event in the sink, waiting forever till one is available. |
AsynchEvent |
getEvent(long waitTime)
Returns the next event in the sink, waiting for waitTime. |
boolean |
putEvent(AsynchEvent asynchEvent)
Puts an event into the sink, waiting forever until there is room to place the event.. |
boolean |
putEvent(AsynchEvent asynchEvent,
int waitTime)
Puts an event into the sink, waiting up to waitTime until there is room to place the event. |
void |
remove(Component c)
If the component that is removed, supports AsynchEventSource, then its AsynchEventSink is set to null. |
| Methods inherited from class nextapp.echo.AbstractPane |
|---|
getHeight, getWidth, isResizable, setResizable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AsynchContentPane()
| Method Detail |
|---|
public AsynchEvent getEvent()
throws java.lang.InterruptedException
AsynchEventSink
getEvent in interface AsynchEventSinkjava.lang.InterruptedExceptionAsynchEventSink.getEvent()
public AsynchEvent getEvent(long waitTime)
throws java.lang.InterruptedException
AsynchEventSink
getEvent in interface AsynchEventSinkwaitTime - - how long to wait for an event
java.lang.InterruptedExceptionAsynchEventSink.getEvent(long)
public boolean putEvent(AsynchEvent asynchEvent)
throws java.lang.InterruptedException
AsynchEventSink
putEvent in interface AsynchEventSinkasynchEvent - - the event to place in the sink
java.lang.InterruptedExceptionAsynchEventSink.putEvent(echopoint.asynch.AsynchEvent)
public boolean putEvent(AsynchEvent asynchEvent,
int waitTime)
throws java.lang.InterruptedException
AsynchEventSink
putEvent in interface AsynchEventSinkasynchEvent - - the event to place in the sinkwaitTime - - how long to wait for room in the sink or - 1 to wait for ever
java.lang.InterruptedExceptionAsynchEventSink.putEvent(echopoint.asynch.AsynchEvent, int)
public void add(Component c,
int n)
add in interface Componentadd in class AbstractComponentc - The child component to add.n - The index at which to add the child component, or -1 to add
the component at the end.Component.add(nextapp.echo.Component, int)public void remove(Component c)
remove in interface Componentremove in class AbstractComponentc - The child component to remove.Component.remove(nextapp.echo.Component)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||