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.adf.view.faces.bi.component.gauge
Class TickLabel

java.lang.Object
  extended by oracle.adf.view.faces.bi.component.BIComplexAttributeBase
      extended by oracle.adf.view.faces.bi.component.gauge.BaseText
          extended by oracle.adf.view.faces.bi.component.gauge.BaseLabel
              extended by oracle.adf.view.faces.bi.component.gauge.TickLabel

All Implemented Interfaces:
javax.faces.component.StateHolder

public class TickLabel
extends BaseLabel
Since:
11.0

Field Summary
static org.apache.myfaces.trinidad.bean.PropertyKey AUTOPRECISION_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey CONTENT_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey CONVERTER_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey NUMBER_FORMAT_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey NUMBER_TYPE_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey SCALING_KEY
           
static org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
           

 

Fields inherited from class oracle.adf.view.faces.bi.component.gauge.BaseLabel
a_aboveGauge, a_belowGauge, a_insideGauge, a_insideGaugeLeft, a_insideGaugeRight, a_none, a_withBottomLabel, m_defaultPosition, POSITION_KEY

 

Fields inherited from class oracle.adf.view.faces.bi.component.gauge.BaseText
FONT_COLOR_KEY, GAUGE_FONT_KEY, m_defaultFontColor, m_defaultFontSize, m_defaultFontStyle, m_defaultFontTypeface

 

Fields inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
ID_KEY, m_parent, TRANSIENT_KEY

 

Constructor Summary
TickLabel()
           

 

Method Summary
 void applyProperties(java.util.HashMap map)
          Applications do not need to call this method.
 java.lang.String getAutoPrecision()
          Retrieves the precision of this component.
protected  org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
           
 int getContent()
          Gets the tick content specification for all gauges in this gauge set.
 javax.faces.convert.Converter getConverter()
          Retrieves the number converter
 NumberFormat getNumberFormat()
          Deprecated. Use Converter Gets the number format
 int getNumberType()
          Gets the type of number displayed in the tick label.
 int getPosition()
          Returns the position of the label.
 java.lang.String getScaling()
          Retrieves the scaling of this component.
protected  void resetStyleProperties()
           
 void setAutoPrecision(java.lang.String precision)
          Specifies the precision of this component.
 void setContent(int content)
          Sets the content of tick labels in a gauge.
 void setContent(java.lang.String content)
          Specifies where tick labels occur within a gauge set.
 void setConverter(javax.faces.convert.Converter converter)
          Specifies the number converter
 void setNumberFormat(NumberFormat format)
          Deprecated. Use Converter Sets the number format
 void setNumberType(int type)
          Sets the type of number to be displayed in the tick label.
 void setNumberType(java.lang.String type)
          Format for numbers that are displayed in the metric label.
 void setPosition(int position)
          Specifies the position of the label.
 void setPosition(java.lang.String position)
          Specifies the location of the label.
 void setScaling(java.lang.String scaling)
          Specifies the scaling of this component.

 

Methods inherited from class oracle.adf.view.faces.bi.component.gauge.BaseText
getGaugeFont, restoreState, setGaugeFont

 

Methods inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdated

 

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

 

Field Detail

TYPE

public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE

CONTENT_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey CONTENT_KEY

NUMBER_TYPE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey NUMBER_TYPE_KEY

NUMBER_FORMAT_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey NUMBER_FORMAT_KEY

CONVERTER_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey CONVERTER_KEY

SCALING_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SCALING_KEY

AUTOPRECISION_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey AUTOPRECISION_KEY

Constructor Detail

TickLabel

public TickLabel()

Method Detail

getContent

public int getContent()
Gets the tick content specification for all gauges in this gauge set. Returned value represents 0 or more values added together to specify which tick marks should appear in a gauge.
Returns:
Integer representing 0 or more tick types to display; valid values include those constants in GaugeConstants beginning with TICK_.

setContent

public void setContent(int content)
Sets the content of tick labels in a gauge.
Parameters:
content - Integer representing the types of tick labels to be displayed; valid constants are in the GaugeConstants class starting with TICK_.

setContent

public void setContent(java.lang.String content)
Specifies where tick labels occur within a gauge set. Valid values include any combination of the following separated by spaces or commas. Default value is: TC_MIN_MAX | TC_INCREMENTS
Parameters:
content - Valid values are:
  • increments -Displays tick labels by increments.
  • majorTick - Displays tick labels for minimum, maximum, and increments.
  • minMax - Displays tick labels for minimum and maximum values.
  • metric - Displays tick labels for actual metric values.
  • none - Displays no tick labels.
  • threshold - Displays tick labels for threshold values.

getNumberFormat

@Deprecated
public NumberFormat getNumberFormat()
Deprecated. Use Converter Gets the number format
Returns:
format

setNumberFormat

@Deprecated
public void setNumberFormat(NumberFormat format)
Deprecated. Use Converter Sets the number format
Parameters:
format -

getNumberType

public int getNumberType()
Gets the type of number displayed in the tick label.
Returns:
Integer representing the type of number intended for display in this gauge; valid values are constants in Gauge beginning with NT_

setNumberType

public void setNumberType(int type)
Sets the type of number to be displayed in the tick label.
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_

setNumberType

public void setNumberType(java.lang.String type)
Format for numbers that are displayed in the metric label. Valid values are:
Parameters:
type - Valid values are:
  • number - (Default) Specifies that the actual values for the thresholds are displayed.
  • percent - Specifies that the percentages for the thresholds are displayed.

getPosition

public int getPosition()
Returns the position of the label.
Overrides:
getPosition in class BaseLabel
Returns:
the integer constant that represents where the label is placed: GaugeAttributes.TLP_INTERIOR, GaugeAttributes.TLP_EXTERIOR.

setPosition

public void setPosition(int position)
Specifies the position of the label.
Overrides:
setPosition in class BaseLabel
Parameters:
position - the integer constant that represents where the label is placed: GaugeAttributes.TLP_INTERIOR, GaugeAttributes.TLP_EXTERIOR.

setPosition

public void setPosition(java.lang.String position)
Specifies the location of the label.
Overrides:
setPosition in class BaseLabel
Parameters:
position - the String indicating where the labels are placed. Valid values are:
  • exterior - Specifies that the tick labels are displayed outside the plotArea.
  • interior - (Default) Specifies that the tick labels are displayed inside the plotArea.

getScaling

public java.lang.String getScaling()
Retrieves the scaling of this component. It is the scaling for numbers that are displayed. Valid values are:
Returns:
the scaling factor

setScaling

public void setScaling(java.lang.String scaling)
Specifies the scaling of this component. It is the scaling for numbers that are displayed. Valid values are:
Parameters:
scaling - the scaling factor

getAutoPrecision

public java.lang.String getAutoPrecision()
Retrieves the precision of this component. Whether to turn on the automatic precision for decimal digits. Valid values are:
Returns:
the precision

setAutoPrecision

public void setAutoPrecision(java.lang.String precision)
Specifies the precision of this component. Whether to turn on the automatic precision for decimal digits. Valid values are:
Parameters:
precision - the precision

getConverter

public javax.faces.convert.Converter getConverter()
Retrieves the number converter
Returns:
the numberConverter

setConverter

public void setConverter(javax.faces.convert.Converter converter)
Specifies the number converter
Parameters:
converter - the numberConverter

resetStyleProperties

protected void resetStyleProperties()
Overrides:
resetStyleProperties in class BaseLabel

applyProperties

public void applyProperties(java.util.HashMap map)
Description copied from class: BIComplexAttributeBase
Applications do not need to call this method. This is for internal use.
Overrides:
applyProperties in class BaseText
Parameters:
map - hashMap that contains property value pairs.

getBeanType

protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
Overrides:
getBeanType in class BaseLabel

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.