public class Background extends BIComplexAttributeBase
Modifier and Type | Field and Description |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
FILL_COLOR_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
FILL_TRANSPARENT_KEY |
protected java.awt.Color |
m_defaultColor |
protected boolean |
m_defaultFillTransparent |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SFX_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
ID_KEY, m_parent, TRANSIENT_KEY
Constructor and Description |
---|
Background() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
java.awt.Color |
getFillColor()
Retrieves the fill color of the background of the graph.
|
SpecialEffects |
getSpecialEffects() |
boolean |
isFillTransparent()
Indicates whether the fill color for the background of the graph is transparent.
|
protected void |
resetStyleProperties() |
void |
restoreState(javax.faces.context.FacesContext context, java.lang.Object stateObj) |
void |
setFillColor(java.awt.Color newColor)
Specifies the fill color of the background of the graph.
|
void |
setFillTransparent(boolean yesNo)
Specifies whether the fill color for the background of the graph is transparent.
|
void |
setSpecialEffects(SpecialEffects sfx) |
applyProperties, getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdated
protected java.awt.Color m_defaultColor
protected boolean m_defaultFillTransparent
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey FILL_COLOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey FILL_TRANSPARENT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SFX_KEY
public java.awt.Color getFillColor()
public void setFillColor(java.awt.Color newColor)
newColor
- The fill color of the background of the graph.public boolean isFillTransparent()
true
if the fill color is transparent, false
if the fill color is not transparent.public void setFillTransparent(boolean yesNo)
yesNo
- true
to make the fill color transparent, false
to make the fill color visible.public void restoreState(javax.faces.context.FacesContext context, java.lang.Object stateObj)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class BIComplexAttributeBase
public SpecialEffects getSpecialEffects()
public void setSpecialEffects(SpecialEffects sfx)
protected void resetStyleProperties()
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class BIComplexAttributeBase