|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--oracle.dss.datautil.gui.DefaultGuiContext
|
+--oracle.dss.datautil.gui.DefaultComponentContext
|
+--oracle.dss.datautil.gui.DefaultBuilderContext
|
+--oracle.dss.calculation.client.calcBuilder.CalcBuilder
The main class of the CalcBuilder bean. The CalcBuilder lets users create and edit calculations. It simplifies and harnesses the calculation capability of Oracle OLAP.
| Field Summary | |
static java.lang.String |
CALCBUILDER_NAMEANDTYPEA NameTypePanel object. |
static java.lang.String |
CALCBUILDER_SAVECALCA SaveCalcPanel object. |
static java.lang.String |
CALCBUILDER_TEMPLATEA TemplatePanel object. |
static java.lang.String |
CALCBUILDER_WELCOMEA WelcomePanel object. |
| Fields inherited from interface oracle.dss.datautil.gui.BuilderContext |
APPLY_MEASURE_FILTER, EVALUATE_MEASURE_DIMENSION, TABBED, WIZARD |
| Constructor Summary | |
CalcBuilder()Deprecated. As of 2.6.0.20, replaced by CalcBuilder(Dialog owner) or CalcBuilder(Frame owner). | |
CalcBuilder(java.awt.Dialog owner)Constructor that specifies the dialog that serves as the parent for the CalcBuilder. | |
CalcBuilder(java.awt.Frame owner)Constructor that specifies the frame that serves as the parent for the CalcBuilder. | |
| Method Summary | |
boolean |
addPanel(StandardPanel panel, java.lang.String panelId)Adds a panel to this CalcBuilder object, before the specified panel. |
void |
cleanup()Performs clean-up on resources that were allocated by the CalcBuilder object or any panels. |
boolean |
doApply()Signals the occurrence of the Apply event. |
boolean |
doCancel()Signals the occurrence of the Cancel event. |
boolean |
doOK()Signals the occurrence of the OK event. |
CalcStep |
getCalcStep()Retrieves the current CalcStep object that is associated with the CalcBuilder. |
java.util.Vector |
getDefaultNumbers()Retrieves a list of default numbers that are formatted by each associated ViewFormat that should be added to the Calculation Builder's number format combo box. |
StandardPanel |
getPanel(java.lang.String panelId)Retrieves the panel with the specified ID. |
java.util.Vector |
getPanelList()Retrieves the list of panels for the Builder instance. |
Query |
getQueryFilter()Retrieves the Query to use to filter the panels of the CalcBuilder, based on the associated measures, dimensions, and hierarchies. |
java.lang.String |
getResourcesLocation()Retrieves the string location of the resource bundle of the Builder object that extends this default implementation of the Builder Context. |
int |
getSavedLocationsDisplayCount()Retrieves the count of saved location paths that are to be displayed in the save location page. |
java.util.Vector |
getSavedLocationsList()Retrieves the list of saved location paths. |
java.util.Vector |
getViewFormats()Retrieves a list of ViewFormat objects that are used to format each associated default number that should be added to the Calculation Builder's number format combo box. |
boolean |
initialize()Signals the CalcBuilder to create the graphical components. |
boolean |
isPanelVisible(java.lang.String panelId)Indicates whether the specified panel id is visible. |
boolean |
removePanel(java.lang.String panelId)Removes the panel from the list of panels in the panel context. |
boolean |
run()Displays the CalcBuilderDialog object that displays this CalcBuilder object. |
java.util.Vector |
setDefaultNumbers(java.util.Vector vstrDefaultNumbers)Specifies a list of default numbers that are formatted by each associated ViewFormat that should be added to the Calculation Builder's number format combo box. |
void |
setLocale(java.util.Locale locale)Specifies the locale for this Builder instance. |
void |
setMode(java.lang.String builderMode)Specifies the mode of the CalcBuilderDialog object that will display this CalcBuilder object. |
boolean |
setPanelVisible(java.lang.String panelId, boolean bVisible)Indicates whether the specified panel is to be shown or hidden. |
void |
setParent(java.awt.Component component)Specifies the parent of the Component. |
void |
setQueryFilter(Query queryFilter)Specifies the Query to use to filter the panels of the CalcBuilder, based on the associated measures, dimensions, and hierarchies. |
void |
setSavedLocationsDisplayCount(int nCount)Specifies the count of saved location paths that are to be displayed in the save location page. |
void |
setSavedLocationsList(java.util.Vector listSavedLocations)Specifies the list of saved locations. |
void |
setViewFormats(java.util.Vector vViewFormats)Specifies a list of ViewFormat objects that are used to format each associated default number that should be added to the Calculation Builder's number format combo box. |
| Methods inherited from class oracle.dss.datautil.gui.DefaultBuilderContext |
addErrorHandler, getBuilderContent, getContainer, getDefaultPanelId, getErrorHandler, getHelpProvider, getLocale, getMode, getSize, getTitle, isShowWelcomeNextTime, removeErrorHandler, setBuilderContent, setContainer, setDefaultPanelId, setHelpProvider, setShowWelcomeNextTime, setSize, setTitle |
| Methods inherited from class oracle.dss.datautil.gui.DefaultComponentContext |
getDimensionContext, getDisplayLabelType, getDisplayMemberLabelType, getMeasureContext, getParent, getPopupItemCount, setDimensionContext, setDisplayLabelType, setDisplayMemberLabelType, setMeasureContext, setPopupItemCount |
| Methods inherited from class oracle.dss.datautil.gui.DefaultGuiContext |
getMetadataManager, getParentFrame, getQueryContext, setMetadataManager, setParentFrame, setQueryContext |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.dss.datautil.gui.BuilderContext |
getBuilderContent, getContainer, getDefaultPanelId, getHelpProvider, getLocale, getMode, getSize, getTitle, setBuilderContent, setContainer, setDefaultPanelId, setHelpProvider, setSize, setTitle |
| Methods inherited from interface oracle.dss.datautil.gui.ComponentContext |
getDimensionContext, getDisplayLabelType, getDisplayMemberLabelType, getMeasureContext, getParent, getPopupItemCount, setDimensionContext, setDisplayLabelType, setDisplayMemberLabelType, setMeasureContext, setPopupItemCount |
| Methods inherited from interface oracle.dss.datautil.gui.GuiContext |
getMetadataManager, getParentFrame, getQueryContext, setMetadataManager, setParentFrame, setQueryContext |
| Field Detail |
public static final java.lang.String CALCBUILDER_WELCOME
WelcomePanel object. The Welocome panel presents a template for creating a particular type of calculation.public static final java.lang.String CALCBUILDER_NAMEANDTYPE
NameTypePanel object. The Name and Type panel lets users specify the dimension to which a calculation is to be added (if not already identified), the name and type of the calculation.public static final java.lang.String CALCBUILDER_TEMPLATE
TemplatePanel object. The Template panel presents a template for creating a particular type of calculation.public static final java.lang.String CALCBUILDER_SAVECALC
SaveCalcPanel object. The Save panel lets users save a calculation and specify information such as the short name, long name, and a description for the calculation.| Constructor Detail |
public CalcBuilder(java.awt.Dialog owner)
throws CalcBuilderException
CalcBuilder.owner - The dialog to serve as the parent.CalcBuilderException - if the CalcBuilder cannot be created or initialized.
public CalcBuilder(java.awt.Frame owner)
throws CalcBuilderException
CalcBuilder.owner - The frame to serve as the parent.CalcBuilderException - if the CalcBuilder cannot be created or initialized.
public CalcBuilder()
throws CalcBuilderException
CalcBuilder(Dialog owner) or CalcBuilder(Frame owner).CalcBuilderException - if the CalcBuilder cannot be created or initialized.| Method Detail |
public CalcStep getCalcStep()
CalcStep object that is associated with the CalcBuilder.CalcStep that is associated with the CalcBuilder.public void cleanup()
public java.lang.String getResourcesLocation()
getResourcesLocation in class DefaultBuilderContextpublic void setLocale(java.util.Locale locale)
setLocale in interface BuilderContextsetLocale in class DefaultBuilderContextlocale - The Locale object for this Builder instance.
public boolean addPanel(StandardPanel panel,
java.lang.String panelId)
CalcBuilder object, before the specified panel. See the BI Beans Help system for important information about adding panels, especially before the Welcome panel.addPanel in interface BuilderContextaddPanel in class DefaultBuilderContextpanel - The panel to add.panelId - The ID of the panel that appears after the new panel.public boolean doApply()
doApply in interface BuilderContextdoApply in class DefaultBuilderContexttrue if the operation was successful; false if the operation was not successful.public boolean doCancel()
doCancel in interface BuilderContextdoCancel in class DefaultBuilderContexttrue if the operation was successful; false if the operation was not successful.public boolean doOK()
doOK in interface BuilderContextdoOK in class DefaultBuilderContexttrue if the operation was successful; false if the operation was not successful.public StandardPanel getPanel(java.lang.String panelId)
getPanel in interface BuilderContextgetPanel in class DefaultBuilderContextpanelId - The ID for the panel that should be retrieved.public java.util.Vector getPanelList()
getPanelList in interface BuilderContextgetPanelList in class DefaultBuilderContextpublic boolean isPanelVisible(java.lang.String panelId)
isPanelVisible in interface BuilderContextisPanelVisible in class DefaultBuilderContextpanelId - The id of the specified panel.true if the specified panel is visible; false if the specified panel is not visible.public boolean removePanel(java.lang.String panelId)
removePanel in interface BuilderContextremovePanel in class DefaultBuilderContextpanelId - The ID of the panel to be removed.true if the remove operation was successful; false if the remove operation was not successful.public boolean initialize()
initialize in interface BuilderContextinitialize in class DefaultBuilderContexttrue if no problems were encountered; false if a problem was encountered.
public boolean run()
throws CalcBuilderException
CalcBuilderDialog object that displays this CalcBuilder object.run in interface BuilderContextrun in class DefaultBuilderContexttrue if the mode of the CalcBuilderDialog object is set to WIZARD and the object ran successfully, or if the mode is set to TABBED; false if the mode is set to WIZARD and the CalcBuilderDialog object was cancelled.CalcBuilderException - If an error is encountered.BuilderContext.TABBED, BuilderContext.WIZARDpublic void setMode(java.lang.String builderMode)
CalcBuilderDialog object that will display this CalcBuilder object.setMode in interface BuilderContextsetMode in class DefaultBuilderContextbuilderMode - A constant that represents the mode of the CalcBuilderDialog object. The valid constants are: TABBED or WIZARD.BuilderContext.TABBED, BuilderContext.WIZARD
public boolean setPanelVisible(java.lang.String panelId,
boolean bVisible)
setPanelVisible in interface BuilderContextsetPanelVisible in class DefaultBuilderContextpanelId - The ID of the specified panel.bVisible - true if the panel is to be marked visible, false if the panel is not to be marked visible.true if the panel was marked successfully, false if the operation failed.public void setQueryFilter(Query queryFilter)
Query to use to filter the panels of the CalcBuilder, based on the associated measures, dimensions, and hierarchies.setQueryFilter in interface CalcBuilderContextquery - The Query to use for filtering.public Query getQueryFilter()
Query to use to filter the panels of the CalcBuilder, based on the associated measures, dimensions, and hierarchies.getQueryFilter in interface CalcBuilderContextQuery to use for filtering.public int getSavedLocationsDisplayCount()
getSavedLocationsDisplayCount in interface CalcBuilderContextpublic java.util.Vector getSavedLocationsList()
getSavedLocationsList in interface CalcBuilderContextpublic void setSavedLocationsDisplayCount(int nCount)
setSavedLocationsDisplayCount in interface CalcBuilderContextnCount - The number of saved location paths to be displayed.public void setSavedLocationsList(java.util.Vector listSavedLocations)
setSavedLocationsList in interface CalcBuilderContextlistSavedLocations - List of saved locations.public java.util.Vector getDefaultNumbers()
ViewFormat that should be added to the Calculation Builder's number format combo box. Each default number that appears in the list should have an associated ViewFormat specified in the same relative position. If this value is null, a default list of numbers is used.getDefaultNumbers in interface CalcBuilderContextVector value containing the list of String values which contain the numbers that should formatted and added to the number format combo box.getViewFormats(), setDefaultNumbers(Vector vstrDefaultNumbers)public java.util.Vector setDefaultNumbers(java.util.Vector vstrDefaultNumbers)
ViewFormat that should be added to the Calculation Builder's number format combo box. Each default number that appears in the list should have an associated ViewFormat specified in the same relative position. If this value is null, a default list of numbers is used.setDefaultNumbers in interface CalcBuilderContextvstrDefaultNumbers - A Vector of String values which represent the numbers that should formatted and added to the number format combo box.Vector value containing the list of String values which represent the numbers that should formatted and added to the number format combo box.setViewFormats(Vector vViewFormats), getDefaultNumbers()public java.util.Vector getViewFormats()
ViewFormat objects that are used to format each associated default number that should be added to the Calculation Builder's number format combo box. Each ViewFormat object that appears in the list should have an associated default number specified in the same relative position. The formatted numbers are added to the number format combo box in the same order that they appear in the ViewFormat and default number lists. If this value is null, a default list of ViewFormat values is used.getViewFormats in interface CalcBuilderContextVector of ViewFormat objects associated with the Calculation Builder's number format combo box.getDefaultNumbers(), setViewFormats(Vector vViewFormats)public void setViewFormats(java.util.Vector vViewFormats)
ViewFormat objects that are used to format each associated default number that should be added to the Calculation Builder's number format combo box. Each ViewFormat object that appears in the list should have an associated default number specified in the same relative position. The formatted numbers are added to the number format combo box in the same order that they appear in the ViewFormat and default number lists. If this value is null, a default list of ViewFormat values is used.setViewFormats in interface CalcBuilderContextvViewFormats - A Vector of ViewFormat objects used to format each associated default number.setDefaultNumbers(Vector vstrDefaultNumbers), getViewFormats()public void setParent(java.awt.Component component)
Component.setParent in interface ComponentContextsetParent in class DefaultComponentContextcomponent - The parent of the Component instance.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||