public class PieLabel extends BaseTextComponent
| Modifier and Type | Field and Description |
|---|---|
protected java.awt.Color |
m_defaultFontColor |
protected int |
m_defaultFontSize |
protected int |
m_defaultFontStyle |
protected java.lang.String |
m_defaultFontTypeface |
static org.apache.myfaces.trinidad.bean.PropertyKey |
RENDERED_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
TEXT_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
GRAPH_FONT_KEYID_KEY, m_parent, TRANSIENT_KEY| Constructor and Description |
|---|
PieLabel() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyProperties(java.util.HashMap map)
Applications should not call this method.
|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
java.lang.String |
getText()
Retrieves the text for the title.
|
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 |
setRendered(boolean rendered)
Specifies whether slice labels appear in the graph.
|
void |
setText(java.lang.String str)
Specifies the text for the title.
|
getGraphFont, setGraphFontgetBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdatedprotected java.lang.String m_defaultFontTypeface
protected int m_defaultFontStyle
protected int m_defaultFontSize
protected java.awt.Color m_defaultFontColor
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey TEXT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey RENDERED_KEY
public void setText(java.lang.String str)
Rendered property
of the title is automatically set to true.
If you use token substitution, pass a key string to this method, not a token string.
str - The text of this title.BaseTokenSubstitution.getKeyString(java.lang.String)public java.lang.String getText()
public boolean isRendered()
true if it is rendered, false if it is
not rendered.public void setRendered(boolean rendered)
Rendered property to falserendered - true to display slice labels,
false to hide them.public void applyProperties(java.util.HashMap map)
applyProperties in class BIComplexAttributeBasemap - protected void resetStyleProperties()
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object stateObj)
restoreState in interface javax.faces.component.StateHolderrestoreState in class BIComplexAttributeBaseprotected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType in class BIComplexAttributeBase