|
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
The default implementation of the BuilderContext
interface.
Fields inherited from interface oracle.dss.datautil.gui.BuilderContext |
APPLY_MEASURE_FILTER, EVALUATE_MEASURE_DIMENSION, TABBED, WIZARD |
Constructor Summary | |
DefaultBuilderContext() Deprecated. As of 2.6.0.21, replaced by DefaultBuilderContext(Dialog) or by DefaultBuilderContext(Frame) . | |
DefaultBuilderContext(java.awt.Dialog owner) Constructor that specifies the dialog that serves as the parent for the DefaultBuilderContext . | |
DefaultBuilderContext(java.awt.Frame owner) Constructor that specifies the frame that serves as the parent for the DefaultBuilderContext . |
Method Summary | |
void |
addErrorHandler(ErrorHandler errorHandler) Adds an ErrorHandler object to this DefaultBuilderContext object. |
boolean |
addPanel(StandardPanel panel, java.lang.String panelId) Adds a panel to this Builder object after the other 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. |
java.lang.Object |
getBuilderContent() Retrieves the content that is associated with the BuilderContext . |
BuilderDialog |
getContainer() Retrieves the container that is associated with the BuilderContext object. |
java.lang.String |
getDefaultPanelId() Retrieves the identifier for the default panel in the Builder instance. |
ErrorHandler |
getErrorHandler() Retrieves the current error handler. |
oracle.bali.ewt.help.HelpProvider |
getHelpProvider() Retrieves the HelpProvider for the Builder instance. |
java.util.Locale |
getLocale() Retrieves the locale for this Builder object. |
java.lang.String |
getMode() Retrieves the mode for the Builder instance. |
StandardPanel |
getPanel(java.lang.String panelId) Retrieves the panel with the specified identifier. |
java.util.Vector |
getPanelList() Retrieves the list of panels for the Builder instance. |
java.lang.String |
getResourcesLocation() Retrieves the string location of the resource bundle of the Builder object that extends this default implementation of the BuilderContext. |
java.awt.Dimension |
getSize() Retrieves the size for the Builder instance. |
java.lang.String |
getTitle() Retrieves the title for the Builder instance. |
boolean |
initialize() Signals the Builder to create the graphical components. |
boolean |
isPanelVisible(java.lang.String panelId) Indicates whether the panel with the specified identifier is visible. |
boolean |
isShowWelcomeNextTime() Indicates whether the Welcome panel is displayed the next time that the wizard is displayed. |
void |
removeErrorHandler() Overrides a previously set ErrorHandler object in this DefaultBuilderContext object with a default one. |
boolean |
removePanel(java.lang.String panelId) Removes the panel from the list of panels in the panel context. |
boolean |
run() Signals the Builder to run the dialog. |
void |
setBuilderContent(java.lang.Object builderContent) Specifies the content that is associated with the BuilderContext . |
void |
setContainer(BuilderDialog container) Specifies the container that is associated with the BuilderContext . |
void |
setDefaultPanelId(java.lang.String defaultPanelId) Specifies the identifier for the default panel in the Builder instance. |
void |
setHelpProvider(oracle.bali.ewt.help.HelpProvider helpProvider) Specifies the HelpProvider in the Builder instance. |
void |
setLocale(java.util.Locale locale) Specifies the locale for this Builder instance. |
void |
setMode(java.lang.String builderMode) Specifies the mode for the Builder instance. |
boolean |
setPanelVisible(java.lang.String panelId, boolean bVisible) Specifies whether a panel is to be shown or hidden. |
void |
setShowWelcomeNextTime(boolean bVisible) Specifies whether the Welcome panel is displayed the next time that the wizard is displayed. |
void |
setSize(java.awt.Dimension size) Specifies the size for the Builder instance. |
void |
setTitle(java.lang.String title) Specifies the title for the Builder instance. |
Methods inherited from class oracle.dss.datautil.gui.DefaultComponentContext |
getDimensionContext, getDisplayLabelType, getDisplayMemberLabelType, getMeasureContext, getParent, getPopupItemCount, setDimensionContext, setDisplayLabelType, setDisplayMemberLabelType, setMeasureContext, setParent, 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.ComponentContext |
getDimensionContext, getDisplayLabelType, getDisplayMemberLabelType, getMeasureContext, getParent, getPopupItemCount, setDimensionContext, setDisplayLabelType, setDisplayMemberLabelType, setMeasureContext, setParent, setPopupItemCount |
Methods inherited from interface oracle.dss.datautil.gui.GuiContext |
getMetadataManager, getParentFrame, getQueryContext, setMetadataManager, setParentFrame, setQueryContext |
Constructor Detail |
public DefaultBuilderContext()
DefaultBuilderContext(Dialog)
or by DefaultBuilderContext(Frame)
.DefaultBuilderContext
should have a parent dialog or frame associated with it to ensure proper focus handling.public DefaultBuilderContext(java.awt.Dialog owner)
DefaultBuilderContext
.owner
- The dialog to serve as the parent.public DefaultBuilderContext(java.awt.Frame owner)
DefaultBuilderContext
.owner
- The frame to serve as the parent.Method Detail |
public boolean addPanel(StandardPanel panel, java.lang.String panelId)
addPanel
in interface BuilderContext
panel
- The panel to add.panelId
- The identifier of the panel that will come after the new panel.public boolean doApply() throws DataUtilException
Apply
event.doApply
in interface BuilderContext
true
if the operation was successful; false
if the operation was not successful.DataUtilException
- if an error is encountered.public boolean doCancel()
Cancel
event.doCancel
in interface BuilderContext
true
if the operation was successful; false
if the operation was not successful.public boolean doOK() throws DataUtilException
OK
event.doOK
in interface BuilderContext
true
if the operation was successful; false
if the operation was not successful.DataUtilException
- if an error is encountered.public java.lang.Object getBuilderContent()
BuilderContext
.getBuilderContent
in interface BuilderContext
BuilderContext
.public BuilderDialog getContainer()
BuilderContext
object.getContainer
in interface BuilderContext
BuilderDialog
interface.public java.lang.String getDefaultPanelId()
getDefaultPanelId
in interface BuilderContext
public oracle.bali.ewt.help.HelpProvider getHelpProvider()
getHelpProvider
in interface BuilderContext
public java.util.Locale getLocale()
getLocale
in interface BuilderContext
Locale
object for this Builder object.public java.lang.String getMode()
getMode
in interface BuilderContext
BuilderContext.TABBED
and BuilderContext.WIZARD
.BuilderContext.TABBED
, BuilderContext.WIZARD
public StandardPanel getPanel(java.lang.String panelId)
getPanel
in interface BuilderContext
public java.util.Vector getPanelList()
getPanelList
in interface BuilderContext
public java.awt.Dimension getSize()
getSize
in interface BuilderContext
public java.lang.String getTitle()
getTitle
in interface BuilderContext
public boolean initialize()
initialize
in interface BuilderContext
true
if no problems were encountered; false
a problem was encountered.Exception
- if an error is encountered.public boolean isPanelVisible(java.lang.String panelId)
isPanelVisible
in interface BuilderContext
true
if the panel is visible; false
if the panel is not visible.public boolean removePanel(java.lang.String panelId)
removePanel
in interface BuilderContext
panelId
- The identifier of the panel to be removed.true
if the remove operation is successful; false
if the remove operation is not successful.public boolean run() throws java.lang.Exception
run
in interface BuilderContext
true
if the dialog was dismissed with an OK command, false
if the dialog was cancelled.Exception
- if an error is encountered.public void setBuilderContent(java.lang.Object builderContent)
BuilderContext
.setBuilderContent
in interface BuilderContext
builderContent
- The content that is associated with the BuilderContext
.public void setContainer(BuilderDialog container)
BuilderContext
.setContainer
in interface BuilderContext
builderDialog
- A reference to the BuilderDialog
.public void setDefaultPanelId(java.lang.String defaultPanelId)
setDefaultPanelId
in interface BuilderContext
defaultPanelId
- The identifier for the default panel in the Builder instance.public void setHelpProvider(oracle.bali.ewt.help.HelpProvider helpProvider)
setHelpProvider
in interface BuilderContext
helpProvider
- The HelpProvider in the Builder instance.public void setLocale(java.util.Locale locale)
setLocale
in interface BuilderContext
locale
- The Locale
object for this Builder instance.public void setMode(java.lang.String builderMode)
setMode
in interface BuilderContext
builderMode
- The mode for the Builder instance.public boolean setPanelVisible(java.lang.String panelId, boolean bVisible)
setPanelVisible
in interface BuilderContext
panelId
- The identifier of the specified panel.bVisible
- true
if the panel is to be marked visible; false
if the panel is to be hidden.true
if the panel was marked visible, false
if the operation failed.public void setSize(java.awt.Dimension size)
setSize
in interface BuilderContext
size
- The size for the Builder instance.public void setTitle(java.lang.String title)
setTitle
in interface BuilderContext
title
- The title for the Builder instance.public void addErrorHandler(ErrorHandler errorHandler)
ErrorHandler
object to this DefaultBuilderContext
object. The ErrorHandler
object will be called when the visual component traps an error from other parts of the system.addErrorHandler
in interface ErrorHandlerCallback
errorHandler
- The ErrorHandler
object.public ErrorHandler getErrorHandler()
ErrorHandler
that represents the current error handler.public java.lang.String getResourcesLocation()
public void removeErrorHandler()
ErrorHandler
object in this DefaultBuilderContext
object with a default one.removeErrorHandler
in interface ErrorHandlerCallback
public void setShowWelcomeNextTime(boolean bVisible)
bVisible
- true
if the panel is to be displayed; false
if the panel is not to be displayed.public boolean isShowWelcomeNextTime()
true
if the panel is to be displayed; false
if the panel is not to be displayed.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |