|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClassPackageView
This class should have package-private access. It is not intended for external use.
Method Summary | |
---|---|
void |
activateView() Called to indicate that the view is active. |
java.awt.Component |
getComponent() Gets the default component. |
java.lang.String[] |
getSelectedItems() Gets the one or more selected class or package names. |
java.lang.String |
getSelection() A valid class or package name. |
java.lang.String |
getTitle() Gets the title for this view. |
void |
setClassAndPackageNameFilters(ClassNameFilter classNameFilter, PackageNameFilter pkgNameFilter) Supplies the class with the data needed to filter classes and packages. |
void |
setFilter(ClassPackageBrowserFilterV2 filterV2) Supplies the view with a ClassPackageBrowserFilterV2 which is used to check each package and class before adding it to the browser. |
void |
setJavaManager(JavaManager javaManager) Sets the JavaManager for the view. |
void |
setMode(int classPackageMode) Indicates whether the view shows classes, packages, or both. |
void |
setMultiSelect(boolean multiSelect) Determines whether multiple selections are allowed. |
void |
setSelectedItems(java.lang.String[] defaultSelection) Initializes the selection in the dialog tabs. |
void |
setSelection(java.lang.String defaultSelection) Initializes the dialog state. |
Method Detail |
---|
void activateView()
java.lang.String getTitle()
java.awt.Component getComponent()
void setSelection(java.lang.String defaultSelection)
Note: This method is only intended to initialize the dialog state. It is not a complement to getSelection()
which is not guaranteed to return the supplied initial selection. The getSelection()
method returns the resolved value, or null if the resolution has not completed or the search criteria resulted in no matching items.
defaultSelection
- the initial search textvoid setSelectedItems(java.lang.String[] defaultSelection)
Note: This method is only intended to initialize the dialog state. It is not a complement to getSelectedItems()
, which is not guaranteed to return the supplied initial selection. This method returns the resolved value, or an empty array if the resolution has not completed or the search criteria resulted in no matching items.
defaultSelection
- an array of class and/or package namesjava.lang.String getSelection()
java.lang.String[] getSelectedItems()
void setJavaManager(JavaManager javaManager)
JavaManager
for the view.javaManager
- a JavaManagerJavaManager
void setClassAndPackageNameFilters(ClassNameFilter classNameFilter, PackageNameFilter pkgNameFilter)
classNameFilter
- a filter for class namespkgNameFilter
- the filter for package namesClassNameFilter
, PackageNameFilter
void setFilter(ClassPackageBrowserFilterV2 filterV2)
ClassPackageBrowserFilterV2
which is used to check each package and class before adding it to the browser.filterV2
-ClassPackageBrowserFilterV2
void setMultiSelect(boolean multiSelect)
multiSelect
- when true
, multiple selection is allowed, otherwise it's notvoid setMode(int classPackageMode)
classPackageMode
- the ClassPackageBrowserV2 mode, class, package or classes and packagesClassPackageBrowserV2.PACKAGE_ONLY
, ClassPackageBrowserV2.CLASS_ONLY
, ClassPackageBrowserV2.CLASS_AND_PACKAGE
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |