|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
oracle.dss.gridView.gui.StylePanel
Defines the gridView Style panel. End-users use the gridView Style panel to set options of table or crosstab
This class fires propertyChange
events for every property that is exposed in this panel.
Constructor Summary | |
StylePanel(UIGridView gridView) Constructor. |
Method Summary | |
void |
addStyleToList(UIStyle style) Add new style to Style List |
boolean |
apply() Applies to the gridView the changes that have been made to this panel. |
void |
cleanUp() Clean up the inner classes and components |
java.lang.String |
getApplicationName() Retrieves the name of the application that uses this panel. |
CustomObjectManager |
getCustomObjectManager() Retrives persistance object manager for StylePanel |
ErrorHandler |
getErrorHandler() Retrieves the error handler that this Style uses. |
FormatsPanel |
getFormatsPanel() Retrive FormatsPanel working with current StylePanel |
UIGridView |
getGridView() Retrive the gridView whose properties this panel sets. |
java.lang.String |
getHelpContextID() Retrieves the Help context ID for this panel. |
java.awt.Dimension |
getMinimumSize() Retrieves the minimum size of the Plot Area panel. |
OptionsPanel |
getOptionsPanel() Retrive OptionsPanel working with current StylePanel |
java.awt.Dimension |
getPreferredSize() Retrieves the size at which the Plot Area panel looks best. |
TitlePanel |
getTitlePanel() Retrive TitlePanel working with current StylePanel |
boolean |
isHelpEnabled() Indicates whether a Help button in a dialog box that is displayed by this panel, is displayed. |
void |
removeStyleFromList(int index) Remove style to Style List |
void |
setApplicationName(java.lang.String name) Specifies the name of application that uses this panel. |
void |
setCustomObjectManager(CustomObjectManager customObjectManager) Specify persistance object manager for StylePanel |
void |
setErrorHandler(ErrorHandler eh) Specifies an error handler for this Style . |
void |
setFormatsPanel(FormatsPanel formatsPanel) Specify FormatsPanel working with current StylePanel |
void |
setGridView(UIGridView gridView) Specifies the gridView whose properties this panel sets. |
void |
setHelpContextID(java.lang.String strHelpContextID) Sets the Help context ID for this panel. |
void |
setHelpEnabled(boolean bValue) Specifies whether a Help button in a dialog box that is displayed by this panel, is displayed. |
void |
setLocale(java.util.Locale loc) Specifies the current Locale that the gridView uses. |
void |
setOptionsPanel(OptionsPanel optionsPanel) Specify OptionsPanel working with current StylePanel |
void |
setTitlePanel(TitlePanel titlePanel) Specify TitlePanel working with current StylePanel |
Methods inherited from interface java.awt.event.ItemListener |
itemStateChanged |
Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
Methods inherited from interface javax.swing.event.ChangeListener |
stateChanged |
Methods inherited from interface java.awt.event.ActionListener |
actionPerformed |
Methods inherited from interface javax.swing.event.ListSelectionListener |
valueChanged |
Constructor Detail |
public StylePanel(UIGridView gridView)
gridView
- The GridView to which this object belongs.Method Detail |
public void setGridView(UIGridView gridView)
gridView
that is specified either in this method or in the constructor.gridView
- The gridView whose properties this panel sets.public UIGridView getGridView()
gridView
that is specified either in this method or in the constructor.gridView
- The gridView whose properties this panel sets.public void setErrorHandler(ErrorHandler eh)
Style
. If an error handler has been set, then this Style
reports error conditions to the handler. Otherwise, it prints the stack trace.eh
- The error handler that this panel should use.public ErrorHandler getErrorHandler()
Style
uses.null
if no error handler has been set.public void cleanUp()
public void setLocale(java.util.Locale loc)
Locale
that the gridView uses.setLocale
in class java.awt.Component
loc
- The current Locale
.public java.lang.String getHelpContextID()
getHelpContextID
in interface HelpContext
public void setHelpContextID(java.lang.String strHelpContextID)
setHelpContextID
in interface HelpContext
oracle.dss.util.help.HelpContext
strHelpContextID
- a String
value that represents the Help context ID.public boolean apply()
public void addStyleToList(UIStyle style)
style
- the new style to be added to list.public void removeStyleFromList(int index)
index
- the index of style to be removed from list.public void setCustomObjectManager(CustomObjectManager customObjectManager)
CustomObjectManager
- persistance object manager.public CustomObjectManager getCustomObjectManager()
public java.awt.Dimension getPreferredSize()
Dimension
object. If no panel size has been specified, then the preferred size is the default size of the panel.getPreferredSize
in class javax.swing.JComponent
Dimension
object that specifies the size for the Plot Area panel.public void setApplicationName(java.lang.String name)
name
- The name to display in alerts that this panel produces. In localized versions, pass a localized String
.public java.lang.String getApplicationName()
public java.awt.Dimension getMinimumSize()
Dimension
object.getMinimumSize
in class javax.swing.JComponent
Dimension
object that specifies the smallest size that the panel can be made without truncating its components in the UI.public void setHelpEnabled(boolean bValue)
For example, suppose that this panel had a font button and that font button displayed a font dialog box. If that font dialog box had a Help button, then this method would specify whether that Help button is displayed.
bValue
- true
to display the Help button, false
to hide it.public boolean isHelpEnabled()
For example, suppose that this panel had a font button and that font button displayed a font dialog box. If that font dialog box had a Help button, then this method would tell you whether that Help button is displayed.
true
if the Help button is hidden, false
if it is displayed.public void setFormatsPanel(FormatsPanel formatsPanel)
formatsPanel
- instance of FormatsPanelpublic void setOptionsPanel(OptionsPanel optionsPanel)
optionsPanel
- instance of OptionsPanelpublic void setTitlePanel(TitlePanel titlePanel)
titlePanel
- instance of TitlePanelpublic FormatsPanel getFormatsPanel()
public OptionsPanel getOptionsPanel()
public TitlePanel getTitlePanel()
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |