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

E12063-07

oracle.adf.view.faces.bi.component.graph
Class BaseDataAxisTickLabel

java.lang.Object
  extended by oracle.adf.view.faces.bi.component.BIComplexAttributeBase
      extended by oracle.adf.view.faces.bi.component.graph.BaseTextComponent
          extended by oracle.adf.view.faces.bi.component.graph.BaseDataAxisTickLabel
All Implemented Interfaces:
javax.faces.component.StateHolder
Direct Known Subclasses:
X1TickLabel, Y1TickLabel, Y2TickLabel

public class BaseDataAxisTickLabel
extends BaseTextComponent

Since:
11.0

Field Summary
static org.apache.myfaces.trinidad.bean.PropertyKey AUTOPRECISION_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey CONVERTER_KEY
           
protected  java.awt.Color m_defaultFontColor
           
protected  int m_defaultFontSize
           
protected  int m_defaultFontStyle
           
protected  java.lang.String m_defaultFontTypeface
           
protected  boolean m_defaultRendered
           
protected  int m_defaultTextRotation
           
static org.apache.myfaces.trinidad.bean.PropertyKey RENDERED_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey SCALING_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey TEXT_ROTATION_KEY
           
static org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
           
 
Fields inherited from class oracle.adf.view.faces.bi.component.graph.BaseTextComponent
GRAPH_FONT_KEY
 
Fields inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
ID_KEY, m_parent, TRANSIENT_KEY
 
Constructor Summary
BaseDataAxisTickLabel()
           
 
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()
           
 javax.faces.convert.Converter getConverter()
          Retrieves the number converter
 java.lang.String getScaling()
          Retrieves the scaling of this component.
 int getTextRotation()
          Retrieves the rotation of the text for all of the tick labels of this axis in the graph.
 boolean isRendered()
          Indicates whether the tick labels are rendered.
protected  void resetStyleProperties()
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object stateObj)
           
 void setAutoPrecision(java.lang.String precision)
          Specifies the precision of this component.
 void setConverter(javax.faces.convert.Converter converter)
          Specifies the number converter
 void setRendered(boolean rendered)
          Specifies whether the tick labels are rendered.
 void setScaling(java.lang.String scaling)
          Specifies the scaling of this component.
 void setTextRotation(int orient)
          Specifies the rotation of the text for all of the tick labels of this axis in the graph.
 
Methods inherited from class oracle.adf.view.faces.bi.component.graph.BaseTextComponent
getGraphFont, setGraphFont
 
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

m_defaultTextRotation

protected int m_defaultTextRotation

m_defaultFontTypeface

protected java.lang.String m_defaultFontTypeface

m_defaultFontStyle

protected int m_defaultFontStyle

m_defaultFontSize

protected int m_defaultFontSize

m_defaultFontColor

protected java.awt.Color m_defaultFontColor

m_defaultRendered

protected boolean m_defaultRendered

TYPE

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

TEXT_ROTATION_KEY

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

RENDERED_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey RENDERED_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

CONVERTER_KEY

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

BaseDataAxisTickLabel

public BaseDataAxisTickLabel()
Method Detail

getTextRotation

public int getTextRotation()
Retrieves the rotation of the text for all of the tick labels of this axis in the graph.

Returns:
A constant that represents the rotation of the text for all of the axis tick labels in the graph. Valid constants are listed in the See Also section.
See Also:
BaseGraphComponent.TR_HORIZ, BaseGraphComponent.TR_HORIZ_ROTATE_90, BaseGraphComponent.TR_HORIZ_ROTATE_270, Graph#setAutoLayout

setTextRotation

public void setTextRotation(int orient)
Specifies the rotation of the text for all of the tick labels of this axis in the graph.

Parameters:
orient - A constant that represents the rotation of the text for all of the tick labels of this axis in the graph. Valid constants are listed in the See Also section. If you pass an invalid value, the graph logs a message with the registered error handler, and TextRotation retains its previous value.
See Also:
BaseGraphComponent.TR_HORIZ, BaseGraphComponent.TR_HORIZ_ROTATE_90, BaseGraphComponent.TR_HORIZ_ROTATE_270, Graph#setAutoLayout

isRendered

public boolean isRendered()
Indicates whether the tick labels are rendered.

Returns:
true if they are rendered, false if they are not rendered.

setRendered

public void setRendered(boolean rendered)
Specifies whether the tick labels are rendered.

Parameters:
yesNo - true to make them rendered, false to make them not rendered.

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

applyProperties

public void applyProperties(java.util.HashMap map)
Applications do not need to call this method. This is for internal use.

Overrides:
applyProperties in class BIComplexAttributeBase
Parameters:
map - hashMap that contains property value pairs.

resetStyleProperties

protected void resetStyleProperties()

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object stateObj)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class BIComplexAttributeBase

getBeanType

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

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.