public class ParetoLine extends BIComplexAttributeBase
Modifier and Type | Field and Description |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
COLOR_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
LINE_STYLE_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
WIDTH_KEY |
ID_KEY, m_parent, TRANSIENT_KEY
Constructor and Description |
---|
ParetoLine() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
java.awt.Color |
getColor()
Retrieves the fill color of the line.
|
int |
getLineStyle()
Retrieves the style of the pareto line.
|
int |
getWidth()
Retrieves the width of this
ParetoLine . |
protected void |
resetStyleProperties() |
void |
setColor(java.awt.Color color)
Specifies the fill color for the line.
|
void |
setLineStyle(int style)
Specifies the style of the pareto line.
|
void |
setLineStyle(java.lang.String style)
Specifies the style of the pareto line.
|
void |
setWidth(int width)
Specifies the width of this
ParetoLine , in pixels. |
applyProperties, 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
public static final org.apache.myfaces.trinidad.bean.PropertyKey COLOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey LINE_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey WIDTH_KEY
public void setColor(java.awt.Color color)
color
- The fill color for the line.public java.awt.Color getColor()
public void setWidth(int width)
ParetoLine
, in pixels.color
- The width of the line.public int getWidth()
ParetoLine
.public void setLineStyle(int style)
style
- style of pareto lineBaseGraphComponent.LS_SOLID
,
BaseGraphComponent.LS_DASH
,
BaseGraphComponent.LS_DOTTED
,
BaseGraphComponent.LS_DASH_DOT
public void setLineStyle(java.lang.String style)
style
- The style of the line.
public int getLineStyle()
BaseGraphComponent.LS_SOLID
,
BaseGraphComponent.LS_DASH
,
BaseGraphComponent.LS_DOTTED
,
BaseGraphComponent.LS_DASH_DOT
protected void resetStyleProperties()
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class BIComplexAttributeBase