public class LegendText 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 |
static org.apache.myfaces.trinidad.bean.PropertyKey |
MIN_LENGTH_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
GRAPH_FONT_KEYID_KEY, m_parent, TRANSIENT_KEY| Constructor and Description |
|---|
LegendText() |
| 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 text.
|
int |
getMinLength()
Retrieves the minimum length of text to display before truncation when
there is no room to display all the text.
|
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 |
setMinLength(int min)
Specifies the minimum length of text to display before truncation when
there is no room to display all the text.
|
getGraphFont, setGraphFontgetBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdatedprotected int m_defaultHorizontalAlignment
protected 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 HORZ_ALIGN_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey MIN_LENGTH_KEY
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 setMinLength(int min)
min - the minimum length of textpublic int getMinLength()
public void applyProperties(java.util.HashMap map)
applyProperties in class BIComplexAttributeBasemap - 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.StateHolderrestoreState in class BIComplexAttributeBaseprotected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType in class BIComplexAttributeBase