|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 2 (11.1.2.2.0) E17492-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.view.faces.bi.component.BIComplexAttributeBase
oracle.adf.view.faces.bi.component.graph.BaseTextComponent
oracle.adf.view.faces.bi.component.graph.O1TickLabel
public class O1TickLabel
Field Summary | |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
AUTO_ROTATION_KEY |
protected boolean |
m_defaultRendered |
static org.apache.myfaces.trinidad.bean.PropertyKey |
RENDERED_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SKIP_COUNT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SKIP_FIRST_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SKIP_MODE_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, 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 | |
---|---|
O1TickLabel() |
Method Summary | |
---|---|
void |
applyProperties(java.util.HashMap map) Applications do not need to call this method. |
int |
getAutomaticRotation() Retrieves the angle of automatic rotation for the text within the rectangle for each of the O1-axis tick labels. |
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
int |
getTextRotation() Retrieves the rotation of the text for all of the tick labels of this axis in the graph. |
int |
getTickLabelSkipCount() Retrieves the number of O1-axis tick labels that the graph hides between each one that is displayed. |
int |
getTickLabelSkipFirst() Retrieves the index of the first O1-axis tick label that is skipped. |
int |
getTickLabelSkipMode() Retrieves the type of skipping that is used for the O1-axis tick labels. |
boolean |
isRendered() Indicates whether the tick labels are rendered. |
protected void |
resetStyleProperties() |
void |
setAutomaticRotation(int orient) Specifies the angle of automatic rotation for the text within the rectangle for each of the O1-axis tick labels. |
void |
setAutomaticRotation(java.lang.String orient) Specifies the angle of automatic rotation for the text within the rectangle for each of the O1-axis tick labels. |
void |
setRendered(boolean rendered) Specifies whether the tick labels are rendered. |
void |
setTextRotation(int orient) Specifies the rotation of the text for all of the tick labels of this axis in the graph. |
void |
setTickLabelSkipCount(int count) Specifies the number of O1-axis tick labels that the graph hides between each one that is displayed. |
void |
setTickLabelSkipFirst(int first) Specifies the index of the first 01-axis tick label that is skipped. |
void |
setTickLabelSkipMode(int mode) Specifies the type of skipping that is used for the O1-axis tick labels. |
void |
setTickLabelSkipMode(java.lang.String mode) Specifies the type of skipping that is used for the O1-axis tick labels. |
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, 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 |
---|
protected boolean m_defaultRendered
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey SKIP_COUNT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SKIP_FIRST_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SKIP_MODE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey AUTO_ROTATION_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey TEXT_ROTATION_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey RENDERED_KEY
Constructor Detail |
---|
public O1TickLabel()
Method Detail |
---|
public int getTickLabelSkipCount()
TickLabelSkipMode
property is set to TLS_MANUAL
.
Automatic graph layout respects this property, if TickLabelSkipMode
is TLS_MANUAL
. Otherwise, automatic layout ignores this property. The doAutoLayout
method sets it as needed, if TickLabelSkipMode
is TLS_AUTOMATIC
or if you pass RESET_PROPERTIES
as the argument to doAutoLayout
.
setTickLabelSkipMode(int)
, Graph#setAutoLayout
, Graph#doAutoLayout
public void setTickLabelSkipCount(int count)
TickLabelSkipMode
property is set to TLS_MANUAL
.
Automatic graph layout respects this property, if TickLabelSkipMode
is TLS_MANUAL
. Otherwise, automatic layout ignores this property. The doAutoLayout
method sets it as needed, if TickLabelSkipMode
is TLS_AUTOMATIC
or if you pass RESET_PROPERTIES
as the argument to doAutoLayout
.
count
- The number of O1-axis tick labels that the graph hides between each one that is displayed.setTickLabelSkipMode(int)
, Graph#setAutoLayout
, Graph#doAutoLayout
public int getTickLabelSkipFirst()
TickLabelSkipMode
property is set to TLS_MANUAL
.
Automatic graph layout respects this property, if TickLabelSkipMode
is TLS_MANUAL
. Otherwise, automatic layout ignores this property. The doAutoLayout
method sets it as needed, if TickLabelSkipMode
is TLS_AUTOMATIC
or if you pass RESET_PROPERTIES
as the argument to doAutoLayout
.
setTickLabelSkipMode(int)
, setTickLabelSkipCount(int)
, Graph#setAutoLayout
, Graph#doAutoLayout
public void setTickLabelSkipFirst(int first)
TickLabelSkipMode
property is set to TLS_MANUAL
.
Automatic graph layout respects this property, if TickLabelSkipMode
is TLS_MANUAL
. Otherwise, automatic layout ignores this property. The doAutoLayout
method sets it as needed, if TickLabelSkipMode
is TLS_AUTOMATIC
or if you pass RESET_PROPERTIES
as the argument to doAutoLayout
.
first
- The index of the first O1-axis tick label that is skipped. This index should not be greater than the value of TickLabelSkipCount
. For example, if you set the graph to skip two labels between each displayed label, you cannot start with the fourth label (index 3).setTickLabelSkipMode(int)
, setTickLabelSkipCount(int)
, Graph#setAutoLayout
, Graph#doAutoLayout
public int getTickLabelSkipMode()
The doAutoLayout
method always sets this property to TLS_AUTOMATIC
. doAutoLayout(BaseGraphComponent.HONOR_PROPERTIES)
respects this property. doAutoLayout(BaseGraphComponent.RESET_PROPERTIES)
treats this property as TLS_AUTOMATIC
.
setTickLabelSkipCount(int)
, setTickLabelSkipFirst(int)
, BaseGraphComponent.TLS_AUTOMATIC
, BaseGraphComponent.TLS_MANUAL
, BaseGraphComponent.TLS_NOSKIP
, Graph#setAutoLayout
, Graph#doAutoLayout
public void setTickLabelSkipMode(int mode)
The doAutoLayout
method always sets this property to TLS_MANUAL
so you can adjust the related properties as needed. doAutoLayout(BaseGraphComponent.HONOR_PROPERTIES)
respects this property. doAutoLayout(BaseGraphComponent.RESET_PROPERTIES)
treats this property as TLS_AUTOMATIC
.
mode
- A constant that represents the type of skipping that is used for the O1-axis tick labels. Valid constants are listed in the See Also section. If you enter an invalid parameter value, then the graph will log an ErrorHandler
message, and will not change the TickLabelSkipMode
property.BaseGraphComponent.TLS_AUTOMATIC
, BaseGraphComponent.TLS_MANUAL
, BaseGraphComponent.TLS_NOSKIP
, Graph#setAutoLayout
, Graph#doAutoLayout
public void setTickLabelSkipMode(java.lang.String mode)
The doAutoLayout
method always sets this property to TLS_MANUAL
so you can adjust the related properties as needed. doAutoLayout(BaseGraphComponent.HONOR_PROPERTIES)
respects this property. doAutoLayout(BaseGraphComponent.RESET_PROPERTIES)
treats this property as TLS_AUTOMATIC
.
mode
- A constant that represents the type of skipping that is used for the O1-axis tick labels. Valid constants are listed in the See Also section. If you enter an invalid parameter value, then the graph will log an ErrorHandler
message, and will not change the TickLabelSkipMode
property.
public int getAutomaticRotation()
doAutoLayout
method always sets this property to AR_NO_ROTATE
.
doAutoLayout(BaseGraphComponent.HONOR_PROPERTIES)
respects this property. doAutoLayout(BaseGraphComponent.RESET_PROPERTIES)
treats this property as AR_HORIZ_ROTATE_270
.
BaseGraphComponent.AR_NO_ROTATE
, BaseGraphComponent.AR_HORIZ_ROTATE_90
, BaseGraphComponent.AR_HORIZ_ROTATE_270
, Graph#setAutoLayout
public void setAutomaticRotation(int orient)
doAutoLayout
method always sets this property to AR_NO_ROTATE
.
doAutoLayout(BaseGraphComponent.HONOR_PROPERTIES)
respects this property. doAutoLayout(BaseGraphComponent.RESET_PROPERTIES)
treats this property as AR_HORIZ_ROTATE_270
.
orient
- A constant that represents the angle of automatic rotation for the text within the rectangle for each of the O1-axis tick labels. Valid constants are listed in the See Also section. If you pass an invalid value, then the graph does not change the AutomaticRotation
property value. It logs a message with the error handler.BaseGraphComponent.AR_NO_ROTATE
, BaseGraphComponent.AR_HORIZ_ROTATE_90
, BaseGraphComponent.AR_HORIZ_ROTATE_270
public void setAutomaticRotation(java.lang.String orient)
doAutoLayout
method always sets this property to AR_NO_ROTATE
.
doAutoLayout(BaseGraphComponent.HONOR_PROPERTIES)
respects this property. doAutoLayout(BaseGraphComponent.RESET_PROPERTIES)
treats this property as AR_HORIZ_ROTATE_270
.
orient
- A constant that represents the angle of automatic rotation for the text within the rectangle for each of the O1-axis tick labels. Valid constants are listed in the See Also section. If you pass an invalid value, then the graph does not change the AutomaticRotation
property value. It logs a message with the error handler.
public void setTextRotation(int orient)
Automatic rotation respects this property, but setting this property limits the strategies that automatic layout can use to display tick labels. If you specify rotation for tick labels, you eliminate several possibilities for better tick label layout.
If you pass an invalid value, the graph logs a message with the registered error handler, and TextRotation
retains its previous value.
Note: Due to rendering issues, rotation angles that are not multiples of 90 degrees should not be used with the Flash rendering format.
orient
- an int that represents the rotation angle of the text for all of the tick labels of this axis in the graph. Valid values include any integer from 0 to 360.public int getTextRotation()
Automatic rotation respects this property.
public boolean isRendered()
true
if they are rendered, false
if they are not rendered.public void setRendered(boolean rendered)
yesNo
- true
to make them rendered, false
to make them not rendered.public void applyProperties(java.util.HashMap map)
applyProperties
in class BIComplexAttributeBase
map
- hashMap that contains property value pairs.protected void resetStyleProperties()
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class BIComplexAttributeBase
|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 2 (11.1.2.2.0) E17492-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |