@Deprecated public class LegendText extends BaseText
Modifier and Type | Field and Description |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
MIN_LENGTH_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
NUMBER_TYPE_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE
Deprecated.
|
FONT_COLOR_KEY, GAUGE_FONT_KEY, m_defaultFontColor, m_defaultFontSize, m_defaultFontStyle, m_defaultFontTypeface
ID_KEY, m_parent, TRANSIENT_KEY
Constructor and Description |
---|
LegendText()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType()
Deprecated.
|
int |
getMinLength()
Deprecated.
Retrieves the minimum length of text to display before truncation when
there is no room to display all the text.
|
int |
getNumberType()
Deprecated.
Gets the type of number to be displayed for items in the legend.
|
protected void |
resetStyleProperties()
Deprecated.
|
void |
setMinLength(int min)
Deprecated.
Specifies the minimum length of text to display before truncation when
there is no room to display all the text.
|
void |
setNumberType(int type)
Deprecated.
Sets the type of number to be displayed for items in the legend.
|
void |
setNumberType(java.lang.String type)
Deprecated.
Format for numbers that are displayed in the legend.
|
applyProperties, getGaugeFont, restoreState, setGaugeFont
getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, 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 NUMBER_TYPE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey MIN_LENGTH_KEY
public int getNumberType()
Gauge
beginning
with NT_
public void setNumberType(int type)
type
- Integer representing the type of number intended
for display in this gauge; valid values are constants
in the Gauge
class beginning with
NT_
public void setNumberType(java.lang.String type)
type
- Valid values are: public void setMinLength(int min)
min
- the minimum length of textpublic int getMinLength()
protected void resetStyleProperties()
resetStyleProperties
in class BaseText
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class BaseText