|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A filter for classes and package displayed in the ClassPackageBrowser.
If an instance of ClassPackageBrowserFilter is provided to the ClassPackageBrowser, it will be used to check each package and class added to the browser. If a package is not accepted, it and any children will not be shown; rejecting a class results in the class not being shown.
Method Summary | |
boolean |
acceptClass(JotClass cls)
Whether a class should be accepted. |
boolean |
acceptPackage(java.lang.String pkg)
Whether a package should be accepted. |
Method Detail |
public boolean acceptPackage(java.lang.String pkg)
pkg
- the package name.
public boolean acceptClass(JotClass cls)
cls
- the JOT representation of the class.
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.