public class LegendTitle extends BaseTextComponent
Modifier and Type | Field and Description |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
HORZ_ALIGN_KEY |
protected java.awt.Color |
m_defaultFontColor |
protected int |
m_defaultFontSize |
protected int |
m_defaultFontStyle |
protected java.lang.String |
m_defaultFontTypeface |
protected int |
m_defaultHorizontalAlignment |
protected boolean |
m_defaultRendered |
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_KEY
ID_KEY, m_parent, TRANSIENT_KEY
Constructor and Description |
---|
LegendTitle() |
Modifier and Type | Method and Description |
---|---|
void |
applyProperties(java.util.HashMap map)
Applications do not need to call this method.
|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
int |
getHorizontalAlignment()
Retrieves the horizontal alignment for the text within the rectangle of
the legend title.
|
java.lang.String |
getText()
Retrives the legend text for the fixed marked on the line in case
of LINE_SELECT_POINT Graph type.
|
boolean |
isRendered()
Indicates whether this legend area is rendered.
|
protected void |
resetStyleProperties() |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object stateObj) |
void |
setHorizontalAlignment(int a)
Specifies the horizontal alignment of the text within the rectangle of
the legend text.
|
void |
setHorizontalAlignment(java.lang.String align)
Specifies the horizontal positioning of the text.
|
void |
setRendered(boolean rendered)
Specifies whether this legend area is rendered.
|
void |
setText(java.lang.String text)
Specified the legend text for the fixed marker on the line in case
of LINE_SELECT_POINT Graph type.
|
getGraphFont, setGraphFont
getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdated
protected int m_defaultHorizontalAlignment
protected java.lang.String m_defaultFontTypeface
protected int m_defaultFontStyle
protected int m_defaultFontSize
protected java.awt.Color m_defaultFontColor
protected boolean m_defaultRendered
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey HORZ_ALIGN_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey TEXT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey RENDERED_KEY
public java.lang.String getText()
public void setText(java.lang.String text)
text
- public boolean isRendered()
true
if it is rendered, false
if it is
not rendered.public void setRendered(boolean rendered)
yesNo
- true
to make it rendered, false
to make it not rendered.public int getHorizontalAlignment()
swing
constant that represents the horizontal
alignment for this legend text.public void setHorizontalAlignment(int a)
a
- A swing
constant that represents the horizontal
alignment of this legend text.public void setHorizontalAlignment(java.lang.String align)
align
- Valid values are: public void applyProperties(java.util.HashMap map)
applyProperties
in class BIComplexAttributeBase
map
- hashMap that contains property value pairs.protected void resetStyleProperties()
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object stateObj)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class BIComplexAttributeBase
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class BIComplexAttributeBase