public abstract class BaseTextComponent extends BIComplexAttributeBase
Modifier and Type | Field and Description |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
GRAPH_FONT_KEY |
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.FacesBean.Type |
TYPE |
ID_KEY, m_parent, TRANSIENT_KEY
Constructor and Description |
---|
BaseTextComponent() |
Modifier and Type | Method and Description |
---|---|
GraphFont |
getGraphFont()
Retrieves the graph font of this text component, if the font is not set before,
constructs and returns a default font
|
void |
setGraphFont(GraphFont font)
Sets a font to this text component
|
applyProperties, getBeanType, getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, restoreState, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdated
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
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.PropertyKey GRAPH_FONT_KEY
public GraphFont getGraphFont()
public void setGraphFont(GraphFont font)
font
- the font to be set