public abstract class BaseTick extends BIComplexAttributeBase
| Modifier and Type | Field and Description |
|---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
LINE_COLOR_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
LINE_STYLE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
LINE_WIDTH_KEY |
protected java.awt.Color |
m_defaultLineColor |
protected int |
m_defaultLineStyle |
protected int |
m_defaultLineWidth |
protected int |
m_defaultTickStyle |
static org.apache.myfaces.trinidad.bean.PropertyKey |
TICK_STYLE_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
ID_KEY, m_parent, TRANSIENT_KEY| Constructor and Description |
|---|
BaseTick() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
java.awt.Color |
getLineColor()
Retrieves the color for the object.
|
int |
getLineStyle()
Retrieves the style of the line.
|
int |
getLineWidth()
Retrieves the width of the object in pixels.
|
int |
getTickStyle()
Retrieves the style of the axis tick marks.
|
protected void |
resetStyleProperties() |
void |
setLineColor(java.awt.Color newColor)
Specifies the color for the object.
|
void |
setLineStyle(int style)
Specifies the style of the line.
|
void |
setLineStyle(java.lang.String style)
Specifies the style for the major tick line.
|
void |
setLineWidth(int width)
Specifies the width of the object in pixels.
|
void |
setTickStyle(int style)
Specifies the style of the axis tick marks.
|
void |
setTickStyle(java.lang.String style)
Specifies the style of the axis tick marks.
|
applyProperties, getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, restoreState, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdatedprotected java.awt.Color m_defaultLineColor
protected int m_defaultLineWidth
protected int m_defaultLineStyle
protected int m_defaultTickStyle
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey TICK_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey LINE_COLOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey LINE_WIDTH_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey LINE_STYLE_KEY
public int getTickStyle()
BaseGraphComponent class and begin with GS_.public void setTickStyle(int style)
BaseGraphComponent class
and begin with GS_.style - A constant that represents the style of the axis tick
marks. If you enter an invalid parameter value, then the graph ignores it
and logs an ErrorHandler message.public void setTickStyle(java.lang.String style)
BaseGraphComponent class
and begin with GS_.style - A constant that represents the style of the axis tick
marks. If you enter an invalid parameter value, then the graph ignores it
and logs an ErrorHandler message.
Specifies the type of tick mark to be used for ticks on this axis. Valid values are:
public java.awt.Color getLineColor()
public void setLineColor(java.awt.Color newColor)
newColor - The color for the object.public int getLineWidth()
public void setLineWidth(int width)
width - The width of the object in pixels.public int getLineStyle()
BaseGraphComponent.LS_SOLID,
BaseGraphComponent.LS_DASH,
BaseGraphComponent.LS_DOTTED,
BaseGraphComponent.LS_DASH_DOTpublic void setLineStyle(int style)
style - The style of the line.BaseGraphComponent.LS_SOLID,
BaseGraphComponent.LS_DASH,
BaseGraphComponent.LS_DOTTED,
BaseGraphComponent.LS_DASH_DOTpublic void setLineStyle(java.lang.String style)
style - The style of the line.
protected void resetStyleProperties()
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType in class BIComplexAttributeBase