|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsamples.javaclient.analyzer.BIPresentationFilter
Filter used for displaying only presentations (Crosstabs and Graphs)
and folders in the PersistenceObjectChooser (Open or Save As dialog) or in the
CatalogExplorer
.
This class implements two interfaces:
Analyzer.jbInit()
method.AnalyzerUtilities.showOpenDialog()
method and the
AnalyzerUtilities.showSaveAsDialog()
method set the
BIPresentationFilter on the PersistenceObjectChooser.
Field Summary | |
private static java.lang.String |
PRESENTATIONS
String to display in the Object Type drop-down of the PersistenceObjectChooser: "Presentations". |
Constructor Summary | |
BIPresentationFilter()
Constructor. |
Method Summary | |
boolean |
evaluate(oracle.dss.bicontext.BISearchResult result)
Indicates whether to include a result in the enumeration of search results. |
javax.swing.Icon |
getDisplayIcon()
Null implementation for the PersistenceObjectFilter interface. |
java.lang.String |
getDisplayText()
Gets the text to display in the Object Type drop-down of the PersistenceObjectChooser. |
java.lang.String |
getFilterExpression()
Null implementation of hidden method in PersistenceObjectChooser interface. |
javax.naming.directory.Attributes |
getMatchingAttributes()
Null implementation for the PersistenceObjectFilter interface. |
javax.naming.directory.SearchControls |
getSearchControls()
Gets the SearchControls that defines the search filter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String PRESENTATIONS
Constructor Detail |
public BIPresentationFilter()
Method Detail |
public boolean evaluate(oracle.dss.bicontext.BISearchResult result)
This is for the BIFilter interface.
evaluate
in interface oracle.dss.bicontext.BIFilter
true
if the result has the object type of
oracle.dss.util.persistence.PersistableConstants.FOLDER,
oracle.dss.util.persistence.PersistableConstants.GRAPH, or
oracle.dss.util.persistence.PersistableConstants.CROSSTAB,
false
if the object type is anything else.public java.lang.String getDisplayText()
This is for the PersistenceObjectFilter interface.
getDisplayText
in interface oracle.dss.persistence.gui.PersistenceObjectFilter
PRESENTATIONS
.public javax.swing.Icon getDisplayIcon()
getDisplayIcon
in interface oracle.dss.persistence.gui.PersistenceObjectFilter
public java.lang.String getFilterExpression()
getFilterExpression
in interface oracle.dss.persistence.gui.PersistenceObjectFilter
public javax.naming.directory.Attributes getMatchingAttributes()
getMatchingAttributes
in interface oracle.dss.persistence.gui.PersistenceObjectFilter
public javax.naming.directory.SearchControls getSearchControls()
This is for the PersistenceObjectFilter interface.
getSearchControls
in interface oracle.dss.persistence.gui.PersistenceObjectFilter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |