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

E12063-07

oracle.dss.gauge
Class BaseText

java.lang.Object
  extended by oracle.dss.gauge.BaseGaugeComponent
      extended by oracle.dss.gauge.BaseText
All Implemented Interfaces:
FontAttribute
Direct Known Subclasses:
BaseLabel, GaugeSetTitle, LegendText, LegendTitle, TickLabel, ToolTips

public abstract class BaseText
extends BaseGaugeComponent
implements FontAttribute

Since:
11.0

Field Summary
protected  java.awt.Font m_defaultFont
           
protected  java.awt.Color m_defaultFontColor
           
protected  java.lang.String m_fontColorKey
           
protected  java.lang.String m_fontKey
           
protected  boolean m_isGaugeSetComponent
           
 
Fields inherited from class oracle.dss.gauge.BaseGaugeComponent
m_commonGauge, m_compType
 
Constructor Summary
BaseText(CommonGauge gauge, int compType)
           
 
Method Summary
 java.awt.Font getFont()
          Retrieves a Font object for this text component.
 java.awt.Color getFontColor()
          Retrieves a Color object.
 void setFont(java.awt.Font f)
          Specifies a Font object for this text component.
 void setFontColor(java.awt.Color color)
          Specifies a Color object for this font.
 
Methods inherited from class oracle.dss.gauge.BaseGaugeComponent
getComponentName, getComponentType, selectObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_fontKey

protected java.lang.String m_fontKey

m_fontColorKey

protected java.lang.String m_fontColorKey

m_defaultFont

protected java.awt.Font m_defaultFont

m_defaultFontColor

protected java.awt.Color m_defaultFontColor

m_isGaugeSetComponent

protected boolean m_isGaugeSetComponent
Constructor Detail

BaseText

public BaseText(CommonGauge gauge,
                int compType)
Method Detail

getFont

public java.awt.Font getFont()
Retrieves a Font object for this text component. This is the awt object with properties such as name, style, and absolute size.

Specified by:
getFont in interface FontAttribute
Returns:
A Font object for the object.

setFont

public void setFont(java.awt.Font f)
Specifies a Font object for this text component. This is the awt object with properties such as name, style, and absolute size.

Specified by:
setFont in interface FontAttribute
Parameters:
f - A Font object for this object.

getFontColor

public java.awt.Color getFontColor()
Retrieves a Color object.

Returns:
A Color object.

setFontColor

public void setFontColor(java.awt.Color color)
Specifies a Color object for this font.

Parameters:
color - A Color object.

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

E12063-07

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