Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.2.0)

E17492-03


oracle.dss.dataView
Class BaseTitle

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JLabel
                  extended by oracle.dss.dataView.BaseTitle

All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.SwingConstants, BaseTitleAttributes, DataviewTitles, FontAttribute, HorizontalAlignment, Titles, ViewComponent
Direct Known Subclasses:
Footnote, Subtitle, Title

public abstract class BaseTitle
extends javax.swing.JLabel
implements DataviewTitles, ViewComponent, java.io.Serializable, BaseTitleAttributes

The title component for a data view.

See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class javax.swing.JLabel
javax.swing.JLabel.AccessibleJLabel

 

Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent

 

Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer

 

Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy

 

Field Summary
protected  BaseTitleXML _baseTitleXML
           
protected  java.util.BitSet _styleOverrideFlags
           
protected  java.util.BitSet _userOverrideFlags
           
protected  int baseline
           
protected  int constrainWidth
           
protected  int d_fontSize
           
protected  Dataview dataView
           
protected  java.awt.FontMetrics fm
           
protected static java.lang.String m_errorBG
           
protected static java.lang.String m_errorFG
           
protected static java.lang.String m_errorMsg
           
protected static java.lang.String m_errorSetFont
           
protected static java.lang.String m_errorSetHA
           
protected static java.lang.String m_errorSetZoom
           
protected  java.awt.Font m_font
           
protected  int m_horzAlign
           
protected static java.lang.String m_method_setBG
           
protected static java.lang.String m_method_setFG
           
protected static java.lang.String m_method_setFont
           
protected static java.lang.String m_method_setHA
           
protected static java.lang.String m_method_setText
           
protected static java.lang.String m_method_setZoomFactor
           
protected  java.lang.String m_text
           
protected  boolean m_underline
           
protected  java.lang.String m_version
           
protected  int zoomFactor
           

 

Fields inherited from class javax.swing.JLabel
labelFor

 

Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW

 

Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT

 

Fields inherited from interface oracle.dss.dataView.BaseTitleAttributes
ATTR_BACKGROUND, ATTR_FONTBOLD, ATTR_FONTITALIC, ATTR_FONTNAME, ATTR_FONTSIZE, ATTR_FOREGROUND, ATTR_HORIZONTALALIGNMENT, ATTR_STYLE_MAXID, ATTR_UNDERLINE

 

Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST

 

Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH

 

Constructor Summary
BaseTitle(java.lang.String t, Dataview v)
           

 

Method Summary
protected  java.awt.Dimension adjustForEnhancements(java.awt.Dimension size)
           
 void createPropertyOverrideFlags()
           
protected  void drawAlignedString(java.awt.Graphics g, java.lang.String s, int x, int y, int width, boolean bDontdraw)
           
static void drawEnhancedAdornments(java.awt.FontMetrics metrics, java.awt.Graphics g, int x, int y, int sw, boolean underline, boolean doubleUnderline, boolean strikeThrough)
           
 java.beans.BeanInfo getBeanInfo()
          Return a BeanInfo structure representing public properties this component wants to expose in an IDE.
abstract  java.lang.String getComponentName()
          Return the string name for this component.
 java.awt.Font getFont()
          Retrieves a Font object for the title.
 java.lang.String getFontName()
          get font name
 int getFontSize()
          get font size
 int getHorizontalAlignment()
          Retrieves the horizontal alignment for the font within its rectangle.
 java.awt.Dimension getPreferredSize()
           
 oracle.dss.util.xml.ObjectNode getStyleXML(boolean allProperties)
           
 java.lang.String getText()
          Returns the parsed text for a string that includes variables.
 java.lang.String getToolTipText(java.awt.event.MouseEvent event)
           
 java.lang.String getUnParseText()
          Retrieves the unparsed text for the title.
 java.awt.Font getUnscaledFont()
           
 oracle.dss.util.xml.ObjectNode getXML(boolean allProperties)
           
protected  java.awt.Font initializeFont()
           
 boolean isBackgroundUsed()
           
 boolean isBorderOpaque()
           
 boolean isFocusTraversable()
          Indicates whether this component can receive the focus.
 boolean isFontBold()
          is font bold?
 boolean isFontItalic()
          is font italic?
 boolean isForegroundUsed()
           
 boolean isSelected()
           
 boolean isStyleOverrideFlag(int attrID)
           
 boolean isUnderline()
          Indicates whether the text is underlined with one line.
 boolean isUserOverrideFlag(int attrID)
           
 boolean isVisible()
          Indicates whether the title is visible.
 void paintComponent(java.awt.Graphics g)
           
protected  void paintFocus(java.awt.Graphics g, java.awt.Rectangle focusRect)
           
 void resetStyle()
           
 void resetToDefault(int reset)
           
 void resetToDefault(int reset, java.lang.String version)
           
 void setBackground(java.awt.Color bg)
          Specifies the background color of this component.
 void setFont(java.awt.Font f)
          Specifies a Font object for the title.
 void setFontBold(boolean bold)
          specifies wheather the font is bold.
 void setFontItalic(boolean italic)
          specifies wheather the font is italic.
 void setFontName(java.lang.String name)
          specifies the font name.
 void setFontSize(int size)
          specifies the font size.
 void setForeground(java.awt.Color fg)
          Specifies the foreground color of this component.
 void setHorizontalAlignment(int alignment)
          Specifies the horizontal alignment for the font within its rectangle.
 void setSelected(boolean sel)
           
 void setStyleProperty(int attrID, java.lang.String value)
           
 void setStyleXML(oracle.dss.util.xml.ObjectNode node, java.lang.String version, int reset)
           
 void setText(java.lang.String t)
          Specifies the parsed text for a String that includes variables.
 void setUnderline(boolean underline)
          Specifies whether the text is underlined with one line.
 void setVisible(boolean b)
          Specifies whether the title is visible.
 void setXML(oracle.dss.util.xml.ObjectNode node, java.lang.String version, int reset)
           
 void setXML(oracle.dss.util.xml.ObjectNode node, java.lang.String version, int reset, java.util.HashMap map)
           
 void setZoomFactor(int f)
           
 java.lang.String toString()
           

 

Methods inherited from class javax.swing.JLabel
checkHorizontalKey, checkVerticalKey, getAccessibleContext, getDisabledIcon, getDisplayedMnemonic, getDisplayedMnemonicIndex, getHorizontalTextPosition, getIcon, getIconTextGap, getLabelFor, getUI, getUIClassID, getVerticalAlignment, getVerticalTextPosition, imageUpdate, paramString, setDisabledIcon, setDisplayedMnemonic, setDisplayedMnemonic, setDisplayedMnemonicIndex, setHorizontalTextPosition, setIcon, setIconTextGap, setLabelFor, setUI, setVerticalAlignment, setVerticalTextPosition, updateUI

 

Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update

 

Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree

 

Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus, transferFocusUpCycle

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Methods inherited from interface oracle.dss.dataView.ViewComponent
getID

 

Methods inherited from interface oracle.dss.dataView.DataviewTitles
getBackground, getForeground

 

Field Detail

_userOverrideFlags

protected java.util.BitSet _userOverrideFlags
For internal use only. Application developers should not use this

_styleOverrideFlags

protected java.util.BitSet _styleOverrideFlags
For internal use only. Application developers should not use this

dataView

protected Dataview dataView
For internal use only. Application developers should not use this
The host bean

m_underline

protected boolean m_underline
For internal use only. Application developers should not use this

m_horzAlign

protected int m_horzAlign
For internal use only. Application developers should not use this

m_font

protected java.awt.Font m_font
For internal use only. Application developers should not use this

fm

protected java.awt.FontMetrics fm
For internal use only. Application developers should not use this

baseline

protected int baseline
For internal use only. Application developers should not use this

constrainWidth

protected int constrainWidth
For internal use only. Application developers should not use this

zoomFactor

protected int zoomFactor
For internal use only. Application developers should not use this
Zoom factor

m_text

protected java.lang.String m_text
For internal use only. Application developers should not use this
unparse text

m_errorMsg

protected static final java.lang.String m_errorMsg
See Also:
Constant Field Values
For internal use only. Application developers should not use this

m_errorBG

protected static final java.lang.String m_errorBG
See Also:
Constant Field Values
For internal use only. Application developers should not use this

m_errorFG

protected static final java.lang.String m_errorFG
See Also:
Constant Field Values
For internal use only. Application developers should not use this

m_errorSetFont

protected static final java.lang.String m_errorSetFont
See Also:
Constant Field Values
For internal use only. Application developers should not use this

m_errorSetZoom

protected static final java.lang.String m_errorSetZoom
See Also:
Constant Field Values
For internal use only. Application developers should not use this

m_errorSetHA

protected static final java.lang.String m_errorSetHA
See Also:
Constant Field Values
For internal use only. Application developers should not use this

m_method_setText

protected static final java.lang.String m_method_setText
See Also:
Constant Field Values
For internal use only. Application developers should not use this

m_method_setBG

protected static final java.lang.String m_method_setBG
See Also:
Constant Field Values
For internal use only. Application developers should not use this

m_method_setFG

protected static final java.lang.String m_method_setFG
See Also:
Constant Field Values
For internal use only. Application developers should not use this

m_method_setFont

protected static final java.lang.String m_method_setFont
See Also:
Constant Field Values
For internal use only. Application developers should not use this

m_method_setZoomFactor

protected static final java.lang.String m_method_setZoomFactor
See Also:
Constant Field Values
For internal use only. Application developers should not use this

m_method_setHA

protected static final java.lang.String m_method_setHA
See Also:
Constant Field Values
For internal use only. Application developers should not use this

_baseTitleXML

protected BaseTitleXML _baseTitleXML

d_fontSize

protected int d_fontSize

m_version

protected java.lang.String m_version

Constructor Detail

BaseTitle

public BaseTitle(java.lang.String t,
                 Dataview v)
Parameters:
t - The text for the title.
v - The data view that the title belongs to.
For internal use only. Application developers should not use this
Constructor.

Method Detail

isFocusTraversable

public boolean isFocusTraversable()
Indicates whether this component can receive the focus.
Overrides:
isFocusTraversable in class java.awt.Component
Returns:
true if this component can receive the focus.

setVisible

public void setVisible(boolean b)
Specifies whether the title is visible.
Specified by:
setVisible in interface Titles
Overrides:
setVisible in class javax.swing.JComponent
Parameters:
b - true to make the title visible, false to make the title invisible.

isVisible

public boolean isVisible()
Indicates whether the title is visible.
Specified by:
isVisible in interface Titles
Overrides:
isVisible in class java.awt.Component
Returns:
true if it is visible, false if it is invisible.

setText

public void setText(java.lang.String t)
Specifies the parsed text for a String that includes variables.
Specified by:
setText in interface Titles
Overrides:
setText in class javax.swing.JLabel
Parameters:
t - The parsed text for a String that includes variables. If you pass an empty string, then this method logs an error with the error handler and does not change the text.

getText

public java.lang.String getText()
Returns the parsed text for a string that includes variables.
Specified by:
getText in interface Titles
Overrides:
getText in class javax.swing.JLabel
Returns:
The parsed text for a string that includes variables.

getUnParseText

public java.lang.String getUnParseText()
Retrieves the unparsed text for the title. Unparsed text is text with variable names instead of variable definitions.
Specified by:
getUnParseText in interface Titles
Returns:
The unparsed text for the title.
See Also:
TokenSubstitution

setBackground

public void setBackground(java.awt.Color bg)
Specifies the background color of this component.
Specified by:
setBackground in interface DataviewTitles
Overrides:
setBackground in class javax.swing.JComponent
Parameters:
bg - The background color for this title.

setForeground

public void setForeground(java.awt.Color fg)
Specifies the foreground color of this component.
Specified by:
setForeground in interface DataviewTitles
Overrides:
setForeground in class javax.swing.JComponent
Parameters:
fg - The foreground color for this title.

setFont

public void setFont(java.awt.Font f)
Specifies a Font object for the title. A Font object is the awt object with attributes such as name, style, and absolute size.
Specified by:
setFont in interface FontAttribute
Overrides:
setFont in class javax.swing.JComponent
Parameters:
f - A Font object for the title.

getFont

public java.awt.Font getFont()
Retrieves a Font object for the title. A Font object is the awt object with attributes such as name, style, and absolute size.
Specified by:
getFont in interface java.awt.MenuContainer
Specified by:
getFont in interface FontAttribute
Overrides:
getFont in class java.awt.Component
Returns:
A Font object for the title.

getUnscaledFont

public java.awt.Font getUnscaledFont()
Returns:
A Font object for the title, that is not scaled by the ZoomFactor.
For internal use only. Application developers should not use this
Retrieves a Font object for the title, that is not scaled by the ZoomFactor.

getFontSize

public int getFontSize()
get font size

setFontSize

public void setFontSize(int size)
specifies the font size.
Parameters:
size - of the font

getFontName

public java.lang.String getFontName()
get font name

setFontName

public void setFontName(java.lang.String name)
specifies the font name.
Parameters:
name - of the font

isFontBold

public boolean isFontBold()
is font bold?

setFontBold

public void setFontBold(boolean bold)
specifies wheather the font is bold.
Parameters:
bold - true to set the font to bold false to prevent the font to be bold.

isFontItalic

public boolean isFontItalic()
is font italic?

setFontItalic

public void setFontItalic(boolean italic)
specifies wheather the font is italic.
Parameters:
italic - true to set the font to italic false to prevent the font to be italic.

setStyleProperty

public void setStyleProperty(int attrID,
                             java.lang.String value)
Specified by:
setStyleProperty in interface BaseTitleAttributes
For internal use only. Application developers should not use this
set a font attributes to a specified value

setUnderline

public void setUnderline(boolean underline)
Specifies whether the text is underlined with one line.
Specified by:
setUnderline in interface DataviewTitles
Parameters:
underline - true to underline the text with one line, false to prevent the text from being underlined with one line.

isUnderline

public boolean isUnderline()
Indicates whether the text is underlined with one line.
Specified by:
isUnderline in interface DataviewTitles
Returns:
true if the text is underlined with one line, false if the text is not underlined with one line.

setHorizontalAlignment

public void setHorizontalAlignment(int alignment)
Specifies the horizontal alignment for the font within its rectangle.
Specified by:
setHorizontalAlignment in interface HorizontalAlignment
Overrides:
setHorizontalAlignment in class javax.swing.JLabel
Parameters:
alignment - A swing constant that represents the horizontal alignment of the font within its rectangle. Valid constants are SwingConstants.RIGHT, SwingConstants.LEFT, SwingConstants.CENTER, and SwingConstants.LEADING. The SwingConstants class is defined in the javax.swing package.

getHorizontalAlignment

public int getHorizontalAlignment()
Retrieves the horizontal alignment for the font within its rectangle. Valid constants are SwingConstants.RIGHT, SwingConstants.LEFT, SwingConstants.CENTER, and SwingConstants.LEADING. The SwingConstants class is defined in the javax.swing package.
Specified by:
getHorizontalAlignment in interface HorizontalAlignment
Overrides:
getHorizontalAlignment in class javax.swing.JLabel
Returns:
A swing constant that represents the horizontal alignment of the font within its rectangle.

isBorderOpaque

public boolean isBorderOpaque()
Returns:
true if it is opaque, false if you cannot see through it.
For internal use only. Application developers should not use this
Indicates whether the border is opaque. When an object or an attribute is opaque, you can see through it.

getBeanInfo

public java.beans.BeanInfo getBeanInfo()
Description copied from interface: ViewComponent
Return a BeanInfo structure representing public properties this component wants to expose in an IDE.
Specified by:
getBeanInfo in interface ViewComponent
Returns:
array of BeanInfo structures if there are any, null if there are none.
For internal use only. Application developers should not use this
Retrieves the BeanInfo structures that represent the properties for this title component that you want to expose in an IDE.

getToolTipText

public java.lang.String getToolTipText(java.awt.event.MouseEvent event)
Overrides:
getToolTipText in class javax.swing.JComponent
Returns:
tooltip text, if any
For internal use only. Application developers should not use this
Return tool tip appropriate for title.

getPreferredSize

public java.awt.Dimension getPreferredSize()
Overrides:
getPreferredSize in class javax.swing.JComponent
Returns:
desired size
For internal use only. Application developers should not use this
Return the desired total rectangle size of the label.

paintComponent

public void paintComponent(java.awt.Graphics g)
Overrides:
paintComponent in class javax.swing.JComponent
Parameters:
g - graphics context
For internal use only. Application developers should not use this
Paint the label text.

drawEnhancedAdornments

public static void drawEnhancedAdornments(java.awt.FontMetrics metrics,
                                          java.awt.Graphics g,
                                          int x,
                                          int y,
                                          int sw,
                                          boolean underline,
                                          boolean doubleUnderline,
                                          boolean strikeThrough)
Parameters:
metrics - The font metrics for the font of the title. Font metrics specify detailed information about the font, such as ascenders, descenders and leading.
g - The graphic context for painting the title.
x - The horizontal position of the text within the rectangle of this title.
y - The vertical position of the text within the rectangle of this title.
sw - The width for the string of the title.
underline - true to underline the text with one line, false to display the text without a single underline.
doubleUnderline - true to underline the text with two lines, false to display the text without a double underline.
strikeThrough - true to draw a line through the text, false to display the text without a line drawn through it.
For internal use only. Application developers should not use this
Specifies enhanced font attributes for the title. To use the doubleUnderline parameter value, set the parameter value for underline to false.

setZoomFactor

public void setZoomFactor(int f)
Parameters:
f - The zoom factor of this title.
For internal use only. Application developers should not use this
Specifies the zoom factor of this title within its data view. A value greater than 1 is zoomed in. The values range from 0 to 100.

setSelected

public void setSelected(boolean sel)
Parameters:
sel - true if title should be marked as selected
For internal use only. Application developers should not use this
Set that this title is selected

isSelected

public boolean isSelected()
Returns:
true if selected
For internal use only. Application developers should not use this
Get that this title is selected

toString

public java.lang.String toString()
Overrides:
toString in class java.awt.Component
Returns:
The name of the class that you are debugging.
For internal use only. Application developers should not use this
Prevents a stack overflow when you are debugging.

isForegroundUsed

public boolean isForegroundUsed()
Specified by:
isForegroundUsed in interface BaseTitleAttributes
For internal use only. Application developers should not use this

isBackgroundUsed

public boolean isBackgroundUsed()
Specified by:
isBackgroundUsed in interface BaseTitleAttributes
For internal use only. Application developers should not use this

paintFocus

protected void paintFocus(java.awt.Graphics g,
                          java.awt.Rectangle focusRect)
For internal use only. Application developers should not use this
Draw a focus rectangle

drawAlignedString

protected void drawAlignedString(java.awt.Graphics g,
                                 java.lang.String s,
                                 int x,
                                 int y,
                                 int width,
                                 boolean bDontdraw)
For internal use only. Application developers should not use this
Draw a string based on the current alignment at the given position

adjustForEnhancements

protected java.awt.Dimension adjustForEnhancements(java.awt.Dimension size)
For internal use only. Application developers should not use this
Adjust a given dimension object to accomodate set enhancements

getComponentName

public abstract java.lang.String getComponentName()
Description copied from interface: ViewComponent
Return the string name for this component.
Specified by:
getComponentName in interface BaseTitleAttributes
Specified by:
getComponentName in interface ViewComponent
Returns:
The name of the instance.
For internal use only. Application developers should not use this
Retrieves the name of the instance.

setXML

public void setXML(oracle.dss.util.xml.ObjectNode node,
                   java.lang.String version,
                   int reset)
Specified by:
setXML in interface BaseTitleAttributes
For internal use only. Application developers should not use this
Sets XML on this component

setXML

public void setXML(oracle.dss.util.xml.ObjectNode node,
                   java.lang.String version,
                   int reset,
                   java.util.HashMap map)
Specified by:
setXML in interface BaseTitleAttributes
For internal use only. Application developers should not use this
Sets XML on this component

getXML

public oracle.dss.util.xml.ObjectNode getXML(boolean allProperties)
Specified by:
getXML in interface BaseTitleAttributes
For internal use only. Application developers should not use this
Retrieves XML from this component

setStyleXML

public void setStyleXML(oracle.dss.util.xml.ObjectNode node,
                        java.lang.String version,
                        int reset)
Specified by:
setStyleXML in interface BaseTitleAttributes
For internal use only. Application developers should not use this
Sets Style XML on this component

getStyleXML

public oracle.dss.util.xml.ObjectNode getStyleXML(boolean allProperties)
Specified by:
getStyleXML in interface BaseTitleAttributes
For internal use only. Application developers should not use this
Retrieves Style XML from this component

resetToDefault

public void resetToDefault(int reset)
For internal use only. Application developers should not use this
resets to default values

resetToDefault

public void resetToDefault(int reset,
                           java.lang.String version)
For internal use only. Application developers should not use this
resets to default values

initializeFont

protected java.awt.Font initializeFont()
For internal use only. Application developers should not use this

createPropertyOverrideFlags

public void createPropertyOverrideFlags()
For internal use only. Application developers should not use this
Create both styleOverride and userOverride flags

isUserOverrideFlag

public boolean isUserOverrideFlag(int attrID)
Specified by:
isUserOverrideFlag in interface BaseTitleAttributes
For internal use only. Application developers should not use this
check to see if a property is overridden by user?

isStyleOverrideFlag

public boolean isStyleOverrideFlag(int attrID)
Specified by:
isStyleOverrideFlag in interface BaseTitleAttributes
For internal use only. Application developers should not use this
check to see if a property is overridden by style?

resetStyle

public void resetStyle()
For internal use only. Application developers should not use this
reset style properties

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.2.0)

E17492-03


Copyright © 1997, 2012, Oracle. All rights reserved.