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.graph
Class BaseDataAxis

java.lang.Object
  extended by oracle.adf.view.faces.bi.component.BIComplexAttributeBase
      extended by oracle.adf.view.faces.bi.component.graph.BaseDataAxis
All Implemented Interfaces:
javax.faces.component.StateHolder
Direct Known Subclasses:
X1Axis, Y1Axis, Y2Axis

public class BaseDataAxis
extends BIComplexAttributeBase

Since:
11.0

Field Summary
static org.apache.myfaces.trinidad.bean.PropertyKey AXIS_MAX_AUTO_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey AXIS_MAX_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey AXIS_MIN_AUTO_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey AXIS_MIN_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey AXIS_ZOOM_MAX_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey AXIS_ZOOM_MIN_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey LINE_COLOR_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey LINE_WIDTH_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey LOG_BASE_KEY
           
protected  java.awt.Color m_axisLineColor
           
protected  int m_axisLineWidth
           
protected  double m_axisLogBase
           
protected  boolean m_axisMaxAutoScaled
           
protected  boolean m_axisMinAutoScaled
           
protected  boolean m_axisScaledLogarithmic
           
protected  boolean m_axisTickAuto
           
protected  boolean m_rendered
           
static org.apache.myfaces.trinidad.bean.PropertyKey MAJOR_TICK_STEP_AUTO_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey MAJOR_TICK_STEP_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey NUMBER_FORMAT_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey RENDERED_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey SCALED_LOG_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
BaseDataAxis()
           
 
Method Summary
 void applyProperties(java.util.HashMap map)
          Applications should not call this method.
 double getAxisMaxValue()
          Retrieves the high value for the range of this axis, when the high value is not set automatically.
 double getAxisMinValue()
          Retrieves the low value for the range of this axis, when the low value is not set automatically.
 double getAxisZoomMaxValue()
          Retrieves the high value for the range that the axis can zoom to, when the high value is not set automatically.
 double getAxisZoomMinValue()
          Retrieves the low value for the range that the axis can zoom to, when the low value is not set automatically.
protected  org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
           
 java.awt.Color getLineColor()
          Retrieves the color for the object.
 int getLineWidth()
          Retrieves the width of the object in pixels.
 double getLogarithmicBase()
          Retrieves a logarithmic or linear scale for this data axis.
 double getMajorTickStep()
          Retrieves the number of tick marks that the graph hides between tick marks that are displayed on this data axis.
 oracle.adf.view.faces.bi.component.util.NumberFormat getNumberFormat()
           
 boolean isAxisMaxAutoScaled()
          Indicates whether the graph automatically sets the high value for this axis.
 boolean isAxisMinAutoScaled()
          Indicates whether the graph automatically sets the minimum value for this axis.
 boolean isMajorTickStepAutomatic()
          Indicates whether the number of tick marks that the graph hides between tick marks that are displayed is calculated automatically.
 boolean isRendered()
          Indicates whether this axis is rendered.
 boolean isScaledLogarithmic()
          Indicates whether this data axis is scaled logarithmically.
protected  void resetStyleProperties()
           
 void setAxisMaxAutoScaled(boolean auto)
          Specifies whether the graph automatically sets the high value for this axis.
 void setAxisMaxValue(double value)
          Specifies the high value for the range of this axis, when the high value is not set automatically.
 void setAxisMinAutoScaled(boolean auto)
          Specifies whether the graph automatically sets the the minimum value for this axis.
 void setAxisMinValue(double value)
          Specifies the low value for the range of this axis, when the low value is not set automatically.
 void setAxisZoomMaxValue(double value)
          Specifies the high value for the range that the axis can zoom to, when the high value is not set automatically.
 void setAxisZoomMinValue(double value)
          Specifies the low value for the range that the axis can zoom to, when the low value is not set automatically.
 void setLineColor(java.awt.Color newColor)
          Specifies the color for the object.
 void setLineWidth(int width)
          Specifies the width of the object in pixels.
 void setLogarithmicBase(double value)
          Selects a logarithmic or linear scale for this data axis.
 void setMajorTickStep(double value)
          Specifies the number of tick marks that the graph hides between tick marks that are displayed on this data axis.
 void setMajorTickStepAutomatic(boolean auto)
          Specifies whether the number of tick marks that the graph hides between tick marks that are displayed is calculated automatically.
 void setNumberFormat(oracle.adf.view.faces.bi.component.util.NumberFormat format)
           
 void setRendered(boolean rendered)
          Specifies whether this axis is rendered.
 void setScaledLogarithmic(boolean logScale)
          Specifies whether this data axis is scaled logarithmically.
 
Methods inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
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

m_axisMinAutoScaled

protected boolean m_axisMinAutoScaled

m_axisMaxAutoScaled

protected boolean m_axisMaxAutoScaled

m_axisTickAuto

protected boolean m_axisTickAuto

m_axisLogBase

protected double m_axisLogBase

m_axisScaledLogarithmic

protected boolean m_axisScaledLogarithmic

m_axisLineWidth

protected int m_axisLineWidth

m_axisLineColor

protected java.awt.Color m_axisLineColor

m_rendered

protected boolean m_rendered

TYPE

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

LINE_COLOR_KEY

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

LINE_WIDTH_KEY

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

MAJOR_TICK_STEP_AUTO_KEY

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

MAJOR_TICK_STEP_KEY

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

AXIS_MAX_KEY

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

AXIS_MAX_AUTO_KEY

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

AXIS_ZOOM_MAX_KEY

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

AXIS_MIN_KEY

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

AXIS_MIN_AUTO_KEY

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

AXIS_ZOOM_MIN_KEY

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

LOG_BASE_KEY

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

SCALED_LOG_KEY

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

NUMBER_FORMAT_KEY

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

RENDERED_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey RENDERED_KEY
Constructor Detail

BaseDataAxis

public BaseDataAxis()
Method Detail

getLineColor

public java.awt.Color getLineColor()
Retrieves the color for the object.

Returns:
The color for the object.

setLineColor

public void setLineColor(java.awt.Color newColor)
Specifies the color for the object.

Parameters:
newColor - The color for the object.

getLineWidth

public int getLineWidth()
Retrieves the width of the object in pixels.

Returns:
The width of the object in pixels.

setLineWidth

public void setLineWidth(int width)
Specifies the width of the object in pixels.

Parameters:
width - The width of the object in pixels.

isMajorTickStepAutomatic

public boolean isMajorTickStepAutomatic()
Indicates whether the number of tick marks that the graph hides between tick marks that are displayed is calculated automatically.

Returns:
true if the number is calculated automatically, false if it is set in the setMajorTickStep method.
See Also:
setMajorTickStep(double)

setMajorTickStepAutomatic

public void setMajorTickStepAutomatic(boolean auto)
Specifies whether the number of tick marks that the graph hides between tick marks that are displayed is calculated automatically.

Parameters:
auto - true to make the graph calculate it automatically, false to make the graph use the value that is set in the setMajorTickStep method.
See Also:
setMajorTickStep(double)

getMajorTickStep

public double getMajorTickStep()
Retrieves the number of tick marks that the graph hides between tick marks that are displayed on this data axis. For example, if you set MajorTickStep to 10, then the tick marks appear at 0, 10, 20, 30, and so on. (This assumes that AxisAutoScaledFromZero and AxisMinAutoScaled are both set to true.)

To make the graph use the value that this method returns, set the setMajorTickStepAutomatic method to false.

Returns:
The interval (or step) at which to tick marks are displayed on this data axis.
See Also:
setMajorTickStepAutomatic(boolean)

setMajorTickStep

public void setMajorTickStep(double value)
Specifies the number of tick marks that the graph hides between tick marks that are displayed on this data axis. For example, if you set MajorTickStep to 10, then the tick marks appear at 0, 10, 20, 30, and so on. (This assumes that AxisAutoScaledFromZero and AxisMinAutoScaled are both set to true.)

To make the graph use the value that is set in this method, set the setMajorTickStepAutomatic method to false.

Parameters:
value - The interval (or step) at which to display tick marks on this data axis.
See Also:
setMajorTickStepAutomatic(boolean)

getAxisMaxValue

public double getAxisMaxValue()
Retrieves the high value for the range of this axis, when the high value is not set automatically. To make the axis use the value that this method returns, set the setAxisMaxAutoScaled method to false.

Returns:
The high value for the range of this axis, when the high value is not set automatically.

setAxisMaxValue

public void setAxisMaxValue(double value)
Specifies the high value for the range of this axis, when the high value is not set automatically. To make the axis use the parameter value that is passed by this method, set the setAxisMaxAutoScaled method to false.

Parameters:
value - The high value for the range of this axis, when the high value is not set automatically.

isAxisMaxAutoScaled

public boolean isAxisMaxAutoScaled()
Indicates whether the graph automatically sets the high value for this axis. When this method returns false, the graph uses the value that is set in the setAxisMaxValue method.

Returns:
true if the high value is automatically set, false if the graph uses the value that is set in the setAxisMaxValue method.

setAxisMaxAutoScaled

public void setAxisMaxAutoScaled(boolean auto)
Specifies whether the graph automatically sets the high value for this axis. When you set this method to false, the graph uses the value that is set in the setAxisMaxValue method.

Parameters:
auto - true to make the graph set the high value automatically, false to make the graph use the value that is set in the setAxisMaxValuemethod.

getAxisZoomMaxValue

public double getAxisZoomMaxValue()
Retrieves the high value for the range that the axis can zoom to, when the high value is not set automatically. To make the axis use the value that this method returns, set the setAxisMaxAutoScaled method to false.

Returns:
The high value for the range of this zoom axis, when the high value is not set automatically.

setAxisZoomMaxValue

public void setAxisZoomMaxValue(double value)
Specifies the high value for the range that the axis can zoom to, when the high value is not set automatically. To make the axis use the parameter value that is passed by this method, set the setAxisMaxAutoScaled method to false.

Parameters:
value - The high value for the range of this zoom axis, when the high value is not set automatically.

getAxisMinValue

public double getAxisMinValue()
Retrieves the low value for the range of this axis, when the low value is not set automatically. To make the axis use the value that this method returns, set the setAxisMinAutoScaled method to false.

Returns:
The low value for the range of this axis, when the low value is not set automatically.

setAxisMinValue

public void setAxisMinValue(double value)
Specifies the low value for the range of this axis, when the low value is not set automatically. To make the axis use the parameter value that is passed by this method, set the setAxisMinAutoScaled method to false.

Parameters:
value - The low value for the range of this axis, when the low value is not set automatically.

isAxisMinAutoScaled

public boolean isAxisMinAutoScaled()
Indicates whether the graph automatically sets the minimum value for this axis. When this method is set to false, the graph uses the value that is set in the setAxisMinValue method.

Returns:
true if the minimum value is set automatically, false if the graph uses the value that is set in the setAxisMinValue method.

setAxisMinAutoScaled

public void setAxisMinAutoScaled(boolean auto)
Specifies whether the graph automatically sets the the minimum value for this axis. When you set this method to false, the graph uses the value that is set in the setAxisMinValue method.


getAxisZoomMinValue

public double getAxisZoomMinValue()
Retrieves the low value for the range that the axis can zoom to, when the low value is not set automatically. To make the axis use the value that this method returns, set the setAxisMinAutoScaled method to false.

Returns:
The low value for the range of this zoom axis, when the low value is not set automatically.

setAxisZoomMinValue

public void setAxisZoomMinValue(double value)
Specifies the low value for the range that the axis can zoom to, when the low value is not set automatically. To make the axis use the parameter value that is passed by this method, set the setAxisMinAutoScaled method to false.

Parameters:
value - The low value for the range of this zoom axis, when the low value is not set automatically.

getLogarithmicBase

public double getLogarithmicBase()
Retrieves a logarithmic or linear scale for this data axis.

Returns:
A logarithmic or linear scale for this data axis.

setLogarithmicBase

public void setLogarithmicBase(double value)
Selects a logarithmic or linear scale for this data axis.

Parameters:
value - A logarithmic or linear scale for this data axis.

isScaledLogarithmic

public boolean isScaledLogarithmic()
Indicates whether this data axis is scaled logarithmically.

Returns:
true if it is scaled logarithmically, false if it is not.

setScaledLogarithmic

public void setScaledLogarithmic(boolean logScale)
Specifies whether this data axis is scaled logarithmically.

Parameters:
logScale - true to scale it logarithmically, false to prohibit logarithmic scaling.

isRendered

public boolean isRendered()
Indicates whether this axis is rendered.

Returns:
true if it is rendered, false if it is not rendered.

setRendered

public void setRendered(boolean rendered)
Specifies whether this axis is rendered.

Parameters:
rendered - true to make it rendered, false to make it not rendered.

applyProperties

public void applyProperties(java.util.HashMap map)
Applications should not call this method.

Overrides:
applyProperties in class BIComplexAttributeBase
Parameters:
map -

resetStyleProperties

protected void resetStyleProperties()

getNumberFormat

public oracle.adf.view.faces.bi.component.util.NumberFormat getNumberFormat()

setNumberFormat

public void setNumberFormat(oracle.adf.view.faces.bi.component.util.NumberFormat format)

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.