|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo.Component nextapp.echo.AbstractPane nextapp.echo.ContentPane echopoint.asynch.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.ContentPane |
BACKGROUND_IMAGE_PROPERTIES_CHANGED_PROPERTY, DEFAULT_INSETS, HEIGHT_CHANGED_PROPERTY, HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY, INSETS_CHANGED_PROPERTY, SCROLL_BAR_ALWAYS, SCROLL_BAR_AUTO, SCROLL_BAR_NEVER, SCROLL_BAR_POLICY_CHANGED_PROPERTY, SCROLL_BAR_X_CHANGED_PROPERTY, SCROLL_BAR_Y_CHANGED_PROPERTY, STYLE_BACKGROUND_IMAGE, STYLE_BACKGROUND_IMAGE_PROPERTIES, STYLE_HEIGHT, STYLE_HORIZONTAL_ALIGNMENT, STYLE_INSETS, STYLE_SCROLL_BAR_POLICY, STYLE_VERTICAL_ALIGNMENT, STYLE_WIDTH, VERTICAL_ALIGNMENT_CHANGED_PROPERTY, WIDTH_CHANGED_PROPERTY |
Fields inherited from class nextapp.echo.AbstractPane |
PROPORTIONAL, RESIZABLE_CHANGED_PROPERTY, STYLE_RESIZABLE |
Fields inherited from class nextapp.echo.Component |
BACKGROUND_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FONT_CHANGED_PROPERTY, FOREGROUND_CHANGED_PROPERTY, IDENTIFIER_CHANGED_PROPERTY, listenerList, LOCALE_CHANGED_PROPERTY, MODEL_CHANGED_PROPERTY, STYLE_BACKGROUND, STYLE_FONT, STYLE_FOREGROUND, UPDATE_PROPERTY, VISIBLE_CHANGED_PROPERTY |
Constructor Summary | |
AsynchContentPane()
|
Method Summary | |
void |
add(nextapp.echo.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(nextapp.echo.Component c)
If the component that is removed, supports AsynchEventSource, then its AsynchEventSink is set to null. |
Methods inherited from class nextapp.echo.ContentPane |
applyStyle, getBackgroundImage, getBackgroundImageProperties, getHeight, getHorizontalAlignment, getInsets, getScrollBarPolicy, getScrollBarX, getScrollBarY, getVerticalAlignment, getWidth, setBackgroundImage, setBackgroundImageProperties, setHeight, setHorizontalAlignment, setInsets, setScrollBarPolicy, setScrollBarX, setScrollBarY, setVerticalAlignment, setWidth |
Methods inherited from class nextapp.echo.AbstractPane |
isResizable, setResizable |
Methods inherited from class nextapp.echo.Component |
add, addHierarchyListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getComponent, getComponentCount, getComponents, getEchoInstance, getFont, getForeground, getIdentifier, getLocale, getParent, indexOf, init, isAncestorOf, isEnabled, isRegistered, isShowing, isVisible, remove, removeAll, removeHierarchyListener, removePropertyChangeListener, setBackground, setEnabled, setFont, setForeground, setIdentifier, setLocale, setVisible, update, validate |
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 AsynchEventSink
java.lang.InterruptedException
AsynchEventSink.getEvent()
public AsynchEvent getEvent(long waitTime) throws java.lang.InterruptedException
AsynchEventSink
getEvent
in interface AsynchEventSink
waitTime
- - how long to wait for an event
java.lang.InterruptedException
AsynchEventSink.getEvent(long)
public boolean putEvent(AsynchEvent asynchEvent) throws java.lang.InterruptedException
AsynchEventSink
putEvent
in interface AsynchEventSink
asynchEvent
- - the event to place in the sink
java.lang.InterruptedException
AsynchEventSink.putEvent(echopoint.asynch.AsynchEvent)
public boolean putEvent(AsynchEvent asynchEvent, int waitTime) throws java.lang.InterruptedException
AsynchEventSink
putEvent
in interface AsynchEventSink
asynchEvent
- - the event to place in the sinkwaitTime
- - how long to wait for room in the sink or - 1 to wait for ever
java.lang.InterruptedException
AsynchEventSink.putEvent(echopoint.asynch.AsynchEvent, int)
public void add(nextapp.echo.Component c, int n)
Component.add(nextapp.echo.Component, int)
public void remove(nextapp.echo.Component c)
Component.remove(nextapp.echo.Component)
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |