|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Viewable
The Viewable interface marks an object as supporting zero, one or more View instances. All implementing classes must call each view's 'update' method when new data enters it. Implementations must take care to synchronize methods of this interface with other methods such that data flow is threadsafe.
Method Summary | |
---|---|
View |
addView(View view)
Add a view to the viewable object. |
List<View> |
getViews()
Returns all added views. |
boolean |
hasViews()
Test is there are any views to the Viewable. |
boolean |
removeView(View view)
Remove a view. |
Methods inherited from interface net.esper.view.EventCollection |
---|
getEventType, iterator |
Method Detail |
---|
View addView(View view)
view
- to add
List<View> getViews()
boolean removeView(View view)
view
- to remove
boolean hasViews()
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |