Skip navigation links
oracle.adf.view.faces.bi.component.graph
Class SliceLabel
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.SliceLabel
- All Implemented Interfaces:
- javax.faces.component.StateHolder
-
public class SliceLabel
- extends BaseTextComponent
- Since:
- 11.0
Method Summary |
void |
applyProperties(java.util.HashMap map)
Applications should not call this method. |
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType()
|
oracle.adf.view.faces.bi.component.util.NumberFormat |
getNumberFormat()
|
int |
getTextType()
Retrieves a text type for this label. |
boolean |
isRendered()
Indicates whether slice labels appear in the graph. |
protected void |
resetStyleProperties()
|
void |
restoreState(javax.faces.context.FacesContext context, java.lang.Object stateObj)
|
void |
setNumberFormat(oracle.adf.view.faces.bi.component.util.NumberFormat format)
|
void |
setRendered(boolean rendered)
Specifies whether slice labels appear in the graph. |
void |
setTextType(int i)
Specifies a text type of this label. |
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 |
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
TYPE
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
TEXT_TYPE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey TEXT_TYPE_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
SliceLabel
public SliceLabel()
getTextType
public int getTextType()
- Retrieves a text type for this label. Text type represents the kind of information that this label displays such as value or percent value. The constants are listed in the See Also section.
-
- Returns:
- A constant that represents a text type for this label.
- See Also:
BaseGraphComponent.LD_TEXT
, BaseGraphComponent.LD_VALUE
, BaseGraphComponent.LD_PERCENT
, BaseGraphComponent.LD_TEXT_PERCENT
setTextType
public void setTextType(int i)
- Specifies a text type of this label. Text type represents the kind of information that this label displays such as value or percent value. The constants are listed in the See Also section.
-
- Parameters:
i
- A constant that represents a text type of this label.
- See Also:
BaseGraphComponent.LD_TEXT
, BaseGraphComponent.LD_VALUE
, BaseGraphComponent.LD_PERCENT
, BaseGraphComponent.LD_TEXT_PERCENT
isRendered
public boolean isRendered()
- Indicates whether slice labels appear in the graph.
-
- Returns:
true
if it is rendered, false
if it is not rendered.
setRendered
public void setRendered(boolean rendered)
- Specifies whether slice labels appear in the graph. Setting the
Rendered
property to false
-
- Parameters:
rendered
- true
to display slice labels, false
to hide them.
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()
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
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
Skip navigation links
Copyright © 1997, 2009, Oracle. All rights reserved.