|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.dtv.application.AppFilter
public class AppFilter
AppFilter is called to accept an Application in a filter or not.
The behavior of this class, until overridden, is to select applications
that are defined within the current Service, not including Applications
declared as external and allowed to continue to run when the Service changes.
Subclasses override the accepts(com.sun.dtv.application.Application)
method
to apply their own criteria to accept Applications.
AppManager.getActiveApplications(com.sun.dtv.application.AppFilter)
,
AppManager.getApplications(com.sun.dtv.application.AppFilter)
Method Summary | |
---|---|
boolean |
accepts(Application application)
Determine if an Application should be accepted in the filter or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean accepts(Application application)
true
if and only the Application
is available in the current Service.
Subclasses can call super.accepts(application)
to determine if the application is available in the current service.
Subclasses must supply their own conditions and return true
to accept the Application in the filter.
application
- the Application to filter
true
if the application
is available
in the current Service false
otherwise.
|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |