The following list describes how you can customize a CalcBuilder or a QueryBuilder using methods that are shared by the builders. The methods that are listed are contained in the oracle.dss.datautil.gui.DefaultBuilderContext
superclass that is used by both the QueryBuilder bean and the CalcBuilder bean. Because the QueryBuilder bean and the CalcBuilder bean subclass this superclass, you can call these methods as if they were in the oracle.dss.queryBuilder.QueryBuilder
class or in the oracle.dss.calculation.client.calcBuilder.CalcBuilder
class.
addErrorHandler
-- Specifies an error handler for the QueryBuilder
or CalcBuilder
object.
isPanelVisible
-- Determines whether a panel is visible.
setDefaultPanel
-- Specifies which of the top-level panels is to be visible by default.
setDefaultPanelID
-- Specifies the ID of the default panel.
setMode
-- Specifies the mode (either tabbed or wizard) of the QueryBuilderDialog
or CalcBuilderDialog
object that is to display the QueryBuilder
or CalcBuilder
object.
setPanelVisible
-- Specifies whether a panel is to be visible.
setSize
-- Specifies the size of the QueryBuilderDialog
or CalcBuilderDialog
object that is to display the QueryBuilder
or CalcBuilder
object.
setTitle
-- Specifies the title of the QueryBuilderDialog
or CalcBuilderDialog
object that is to display the QueryBuilder
or CalcBuilder
object.
Tip: For other methods that are common to the CalcBuilder bean and the QueryBuilder bean, refer to the following classes in the oracle.dss.datautil.gui
package:
GuiContext.java
BuilderContext.java
Adding or Removing Builder Panels
at Runtime
Adding New Panels to a Builder Container