@Deprecated public class TopLabel extends BaseLabel
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
m_text
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
TEXT_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE
Deprecated.
|
a_aboveGauge, a_belowGauge, a_insideGauge, a_insideGaugeLeft, a_insideGaugeRight, a_none, a_withBottomLabel, m_defaultPosition, POSITION_KEY
FONT_COLOR_KEY, GAUGE_FONT_KEY, m_defaultFontColor, m_defaultFontSize, m_defaultFontStyle, m_defaultFontTypeface
ID_KEY, m_parent, TRANSIENT_KEY
Constructor and Description |
---|
TopLabel()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType()
Deprecated.
|
int |
getPosition()
Deprecated.
Returns the position of the label.
|
java.lang.String |
getText()
Deprecated.
Get the TopLabel text
|
void |
setPosition(int position)
Deprecated.
Specifies the position of the label.
|
void |
setPosition(java.lang.String position)
Deprecated.
Specifies the location of the label.
|
void |
setText(java.lang.String text)
Deprecated.
Specifies the text for the TopLabel
|
resetStyleProperties
applyProperties, getGaugeFont, restoreState, setGaugeFont
getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdated
protected java.lang.String m_text
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey TEXT_KEY
public int getPosition()
getPosition
in class BaseLabel
GaugeAttributes.LP_NONE
, GaugeAttributes.LP_ABOVE_GAUGE
,
GaugeAttributes.LP_INSIDE_GAUGE
.public void setPosition(int position)
setPosition
in class BaseLabel
position
- the integer constant that represents where the label is placed:
GaugeAttributes.LP_NONE
, GaugeAttributes.LP_ABOVE_GAUGE
,
GaugeAttributes.LP_INSIDE_GAUGE
.public void setPosition(java.lang.String position)
setPosition
in class BaseLabel
position
- the String indicating where the labels are placed. Valid values are: public java.lang.String getText()
String
public void setText(java.lang.String text)
text
- String to display as the TopLabelprotected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class BaseLabel