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

E12063-02

oracle.adf.view.faces.bi.component.gauge
Class TickMark

java.lang.Object
  extended by oracle.adf.view.faces.bi.component.BIComplexAttributeBase
      extended by oracle.adf.view.faces.bi.component.gauge.TickMark
All Implemented Interfaces:
javax.faces.component.StateHolder

public class TickMark
extends BIComplexAttributeBase

Since:
11.0

Field Summary
static org.apache.myfaces.trinidad.bean.PropertyKey CONTENT_KEY
           
protected  java.awt.Color m_defaultMajorTickColor
           
protected  java.lang.Integer m_defaultMajorTickCount
           
static org.apache.myfaces.trinidad.bean.PropertyKey MAJORTICK_COLOR_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey MAJORTICK_COUNT_KEY
           
static org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
           
 
Fields inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
ID_KEY, m_parent, TRANSIENT_KEY
 
Constructor Summary
TickMark()
           
 
Method Summary
protected  org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
           
 int getContent()
          Gets the tick content specification for all gauges in this gauge set.
 java.awt.Color getMajorTickColor()
          Gets the color for the majorTick of all gauges in this gauge set.
 java.lang.Integer getMajorTickCount()
          Gets the majorTickCount of all gauges in this gauge set.
protected  void resetStyleProperties()
           
 void setContent(int content)
          Sets the content of tick labels in a gauge.
 void setMajorTickColor(java.awt.Color tickColor)
          Sets the MajorTick color for all gauges in this gauge set.
 void setMajorTickCount(int tickCount)
          Sets the MajorTick count for all gauges in this gauge set.
 
Methods inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
applyProperties, getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, restoreState, 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

MAJORTICK_COUNT_KEY

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

MAJORTICK_COLOR_KEY

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

m_defaultMajorTickColor

protected java.awt.Color m_defaultMajorTickColor

m_defaultMajorTickCount

protected java.lang.Integer m_defaultMajorTickCount
Constructor Detail

TickMark

public TickMark()
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_.

getMajorTickCount

public java.lang.Integer getMajorTickCount()
Gets the majorTickCount of all gauges in this gauge set.

Returns:
Integer representing the majorTickCount

setMajorTickCount

public void setMajorTickCount(int tickCount)
Sets the MajorTick count for all gauges in this gauge set. When the specified count is < 0 the increments are calculated automatically based on the gauge width.

Parameters:
tickCount - Integer representing MajorTick count.

getMajorTickColor

public java.awt.Color getMajorTickColor()
Gets the color for the majorTick of all gauges in this gauge set.

Returns:
Color representing the color of the majorTicks

setMajorTickColor

public void setMajorTickColor(java.awt.Color tickColor)
Sets the MajorTick color for all gauges in this gauge set.

Parameters:
tickColor - Color representing MajorTick color.

resetStyleProperties

protected void resetStyleProperties()

getBeanType

protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
Specified by:
getBeanType in class BIComplexAttributeBase

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

E12063-02

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