|
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.dataView.gui.TitlePanel
Defines the Title panel. The Title panel is used to specify text and font properties for the title, subtitle, and footnote of a gridview.
This class fires propertyChange
events for every property that is exposed in this panel.
Field Summary | |
static java.lang.String |
DEFAULT_FORMAT_CHANGED |
static java.lang.String |
PROPERTY_FOOTNOTE_TEXT Property: Footnote Text. |
static java.lang.String |
PROPERTY_FOOTNOTE_VISIBLE Property: Footnote Visible. |
static java.lang.String |
PROPERTY_SUBTITLE_TEXT Property: Subtitle Text. |
static java.lang.String |
PROPERTY_SUBTITLE_VISIBLE Property: Subtitle Visible. |
static java.lang.String |
PROPERTY_TITLE_TEXT Property: Title Text. |
static java.lang.String |
PROPERTY_TITLE_VISIBLE Property: Title Visible. |
Constructor Summary | |
TitlePanel(UIDataview dataview) Constructor. |
Method Summary | |
boolean |
apply() Applies to the dataview, the changes that have been made to this panel. |
void |
cleanUp() Clean up memory space |
java.awt.Color[][] |
getColorPalette() Retreives the grid of colors used by title font color choosers. |
java.lang.String |
getHelpContextID() Retrieves the Help context ID for this panel. |
oracle.bali.ewt.help.HelpProvider |
getHelpProvider() Gets the Help provider for this panel. |
java.awt.Dimension |
getMinimumSize() Retrieves the minimum size of the Title panel. |
java.awt.Dimension |
getPreferredSize() Retrieves the size at which the Title panel looks best. |
boolean |
isHelpEnabled() Indicates whether a Help button in a dialog box that is displayed by this panel, is displayed. |
void |
setColorPalette(java.awt.Color[][] colors) Specifies the grid of colors to use in color palettes of title font color choosers. |
void |
setDataview(UIDataview dataview) 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 |
setHelpProvider(oracle.bali.ewt.help.HelpProvider helpProvider) Sets the Help provider for this panel. |
void |
setLocale(java.util.Locale loc) The Locale for this object. |
Methods inherited from interface java.awt.event.ActionListener |
actionPerformed |
Methods inherited from interface java.awt.event.ItemListener |
itemStateChanged |
Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
Methods inherited from interface javax.swing.event.CaretListener |
caretUpdate |
Field Detail |
public static final java.lang.String PROPERTY_TITLE_VISIBLE
apply
method of this panel sets the Visible
property of the GraphTitle
object.public static final java.lang.String PROPERTY_SUBTITLE_VISIBLE
apply
method of this panel sets the Visible
property of the GraphSubtitle
object.public static final java.lang.String PROPERTY_FOOTNOTE_VISIBLE
apply
method of this panel sets the Visible
property of the GraphFootnote
object.public static final java.lang.String PROPERTY_TITLE_TEXT
apply
method of this panel sets the Text
property of the Title
object.public static final java.lang.String PROPERTY_SUBTITLE_TEXT
apply
method of this panel sets the Text
property of the Subtitle
object.public static final java.lang.String PROPERTY_FOOTNOTE_TEXT
apply
method of this panel sets the Text
property of the ootnote
object.public static final java.lang.String DEFAULT_FORMAT_CHANGED
Constructor Detail |
public TitlePanel(UIDataview dataview)
gridView
- The gridview that this panel belongs to.Method Detail |
public void setDataview(UIDataview dataview)
UIGridView
that is specified either in this method or in the constructor.gridview
- The gridview whose properties this panel sets.public void setColorPalette(java.awt.Color[][] colors)
colors
- two dimesional array of Colorspublic java.awt.Color[][] getColorPalette()
public void cleanUp()
public void setLocale(java.util.Locale loc)
Locale
for this object.setLocale
in class java.awt.Component
loc
- The Locale
for this object.public boolean apply()
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 Title panel.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 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 void setHelpProvider(oracle.bali.ewt.help.HelpProvider helpProvider)
public oracle.bali.ewt.help.HelpProvider getHelpProvider()
public void setHelpEnabled(boolean bValue)
For example, this panel has Font buttons that each display a Font dialog box. The Font dialog box displays a Help button by default. Setting the parameter value of this method to false
would hide that Help button.
bValue
- true
to display the Help button, false
to hide it.public boolean isHelpEnabled()
For example, this panel has Font buttons that each display a Font dialog box. The Font dialog box displays a Help button by default. If the return value of this method is false
, then that Help button is hidden.
true
if the Help button is displayed, false
if it is hidden.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |