Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.4.0)

E12063-05

oracle.dss.gauge
Class ToolTips

java.lang.Object
  extended by oracle.dss.gauge.BaseGaugeComponent
      extended by oracle.dss.gauge.BaseText
          extended by oracle.dss.gauge.ToolTips
All Implemented Interfaces:
FontAttribute

public class ToolTips
extends BaseText


Field Summary
 
Fields inherited from class oracle.dss.gauge.BaseText
m_defaultFont, m_defaultFontColor, m_fontColorKey, m_fontKey, m_isGaugeSetComponent
 
Fields inherited from class oracle.dss.gauge.BaseGaugeComponent
m_commonGauge, m_compType
 
Constructor Summary
ToolTips(CommonGauge gauge)
           
 
Method Summary
protected  java.lang.String getComponentName()
           
 int getHorizontalAlignment()
          Retrieves the horizontal alignment for the text within the rectangle of the tooltip.
 void setHorizontalAlignment(int a)
          Specifies the horizontal alignment of the text within the rectangle of the tooltip.
 
Methods inherited from class oracle.dss.gauge.BaseText
getFont, getFontColor, setFont, setFontColor
 
Methods inherited from class oracle.dss.gauge.BaseGaugeComponent
getComponentType, selectObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolTips

public ToolTips(CommonGauge gauge)
Method Detail

getHorizontalAlignment

public int getHorizontalAlignment()
Retrieves the horizontal alignment for the text within the rectangle of the tooltip. The constants are SwingConstants.LEFT, SwingConstants.CENTER, and SwingConstants.RIGHT.

Returns:
A swing constant that represents the horozontal alignment for the text of this title.

setHorizontalAlignment

public void setHorizontalAlignment(int a)
Specifies the horizontal alignment of the text within the rectangle of the tooltip.

Parameters:
a - A Swing constant that represents the horizontal alignment for the text of the title. Valid constants are SwingConstants.LEFT, SwingConstants.CENTER, and SwingConstants.RIGHT.

getComponentName

protected java.lang.String getComponentName()
Overrides:
getComponentName in class BaseGaugeComponent
For internal use only. Application developers should not use this
Retrieves the name of the object.

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.4.0)

E12063-05

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