public class BaseDataAxisTickLabel extends BaseTextComponent
| Modifier and Type | Field and Description |
|---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
AUTOPRECISION_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CONVERTER_KEY |
protected java.awt.Color |
m_defaultFontColor |
protected int |
m_defaultFontSize |
protected int |
m_defaultFontStyle |
protected java.lang.String |
m_defaultFontTypeface |
protected boolean |
m_defaultRendered |
protected int |
m_defaultTextRotation |
static org.apache.myfaces.trinidad.bean.PropertyKey |
RENDERED_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SCALING_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
TEXT_ROTATION_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
GRAPH_FONT_KEYID_KEY, m_parent, TRANSIENT_KEY| Constructor and Description |
|---|
BaseDataAxisTickLabel() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyProperties(java.util.HashMap map)
Applications do not need to call this method.
|
java.lang.String |
getAutoPrecision()
Retrieves the precision of this component.
|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
javax.faces.convert.Converter |
getConverter()
Retrieves the number converter
|
java.lang.String |
getScaling()
Retrieves the scaling of this component.
|
int |
getTextRotation()
Retrieves the rotation of the text for all of the tick labels of this
axis in the graph.
|
boolean |
isRendered()
Indicates whether the tick labels are rendered.
|
protected void |
resetStyleProperties() |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object stateObj) |
void |
setAutoPrecision(java.lang.String precision)
Specifies the precision of this component.
|
void |
setConverter(javax.faces.convert.Converter converter)
Specifies the number converter
|
void |
setRendered(boolean rendered)
Specifies whether the tick labels are rendered.
|
void |
setScaling(java.lang.String scaling)
Specifies the scaling of this component.
|
void |
setTextRotation(int orient)
Specifies the rotation of the text for all of the tick labels of this axis in the graph.
|
getGraphFont, setGraphFontgetBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdatedprotected int m_defaultTextRotation
protected java.lang.String m_defaultFontTypeface
protected int m_defaultFontStyle
protected int m_defaultFontSize
protected java.awt.Color m_defaultFontColor
protected boolean m_defaultRendered
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey TEXT_ROTATION_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey RENDERED_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SCALING_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey AUTOPRECISION_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CONVERTER_KEY
public int getTextRotation()
BaseGraphComponent.TR_HORIZ,
BaseGraphComponent.TR_HORIZ_ROTATE_90,
BaseGraphComponent.TR_HORIZ_ROTATE_270,
Graph#setAutoLayoutpublic void setTextRotation(int orient)
orient - A constant that represents the rotation of the text for
all of the tick labels of this axis in the graph.
Valid constants are listed in the See Also section.
If you pass an invalid value, the graph logs a message with the
registered error handler, and TextRotation retains its
previous value.BaseGraphComponent.TR_HORIZ,
BaseGraphComponent.TR_HORIZ_ROTATE_90,
BaseGraphComponent.TR_HORIZ_ROTATE_270,
Graph#setAutoLayoutpublic boolean isRendered()
true if they are rendered, false if they are
not rendered.public void setRendered(boolean rendered)
yesNo - true to make them rendered, false
to make them not rendered.public java.lang.String getScaling()
public void setScaling(java.lang.String scaling)
scaling - the scaling factorpublic java.lang.String getAutoPrecision()
public void setAutoPrecision(java.lang.String precision)
precision - the precisionpublic javax.faces.convert.Converter getConverter()
public void setConverter(javax.faces.convert.Converter converter)
converter - the numberConverterpublic 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