The following list describes some of the packages that you can use to customize the CalcBuilder. The Calcbuilder centralizes processing of its content and state through its implementation of the CalcBuilderContext
interface, which extends BuilderContext
.
CalcBuilder -- oracle.dss.calculation.client.calcBuilder.CalcBuilder
implements CalcBuilderContext
. This is the main class of the CalcBuilder bean. The CalcBuilder lets users create and edit calculations.
CalcBuilderContext -- oracle.dss.calculation.client.calcBuilder.CalcBuilderContext
extends BuilderContext
. This package contains methods that are specific to the CalcBuilder
object.
BuilderContext -- oracle.dss.datautil.gui.BuilderContext
extends ComponentContext
. This package contains methods and fields that are specific to the QueryBuilder
and CalcBuilder
objects. In this interface, the term "Builder" is used to refer to both kinds of objects.
ComponentContext -- oracle.dss.datautil.gui.ComponentContext
extends GuiContext
. Common data utility user-interface component objects require these methods for instantiation, often in conjunction with QueryBuilder or CalcBuilder.
GuiContext
-- Common data utility user-interface objects require these methods for instantiation for use with QueryBuilder or CalcBuilder.
The following lists describes some common methods for use with CalcBuilder:
addPanel
-- Adds a panel to this builder object after the other panels.
initializePanelManager
-- Specifies whether to initialize a default list of panels when you want to create your own container.
Note: If this setting is false, then you must create your own container in which to display the CalcBuilder
object.
removePanel
-- Removes a panel from the list of panels in the panel context.
setBuilderContent
-- Specifies the CalcStep
object for the CalcBuilder, as shown in the following example.
m_calcBuilder.setBuilderContent (calcStep);
setDimension
-- Specifies the dimension that the calculation is being added to.
setMetadataManager
-- Specifies the MetadataManager
that contains the connections that are necessary to specify and retrieve MetadataManager and Catalog objects.
setParentFrame
-- Specifies the parent Frame object of the CalcBuilderDialog
object that is to display the CalcBuilder
object.
setQueryContext
-- Specifies the QueryContext
that is used to evaluate queries that are required by the CalcBuilder, for example, when determining a list of available dimension members that are associated with a dimension.
Tip: You can also customize CalcBuilder panels using methods that are shared with QueryBuilder.