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

E17492-02

oracle.dss.gauge
Class LegendText

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

public class LegendText
extends BaseText

Since:
11.0

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
LegendText(CommonGauge gauge)
           
 
Method Summary
 int getMinLength()
          Retrieves the minimum length of text to display before truncation when there is no room to display all the text.
 int getNumberType()
          Gets the type of number to be displayed for items in the legend.
 void setMinLength(int min)
          Specifies the minimum length of text to display before truncation when there is no room to display all the text.
 void setNumberType(int type)
          Sets the type of number to be displayed for items in the legend.
 
Methods inherited from class oracle.dss.gauge.BaseText
getFont, getFontColor, setFont, setFontColor
 
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
 

Constructor Detail

LegendText

public LegendText(CommonGauge gauge)
Method Detail

getNumberType

public int getNumberType()
Gets the type of number to be displayed for items in the legend.

Returns:
Integer representing the type of number; valid values are constants in Gauge beginning with NT_

setNumberType

public void setNumberType(int type)
Sets the type of number to be displayed for items in the legend.

Parameters:
type - Integer representing the type of number intended for display in this gauge; valid values are constants in the Gauge class beginning with NT_

setMinLength

public void setMinLength(int min)
Specifies the minimum length of text to display before truncation when there is no room to display all the text.

Parameters:
min - the minimum length of text

getMinLength

public int getMinLength()
Retrieves the minimum length of text to display before truncation when there is no room to display all the text.

Returns:
the minimum length of text

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

E17492-02

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