@Deprecated public class TickLabel extends BaseLabel
Modifier and Type | Field and Description |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
AUTOPRECISION_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
CONTENT_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
CONVERTER_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
NUMBER_FORMAT_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
NUMBER_TYPE_KEY
Deprecated.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
SCALING_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 |
---|
TickLabel()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
applyProperties(java.util.HashMap map)
Deprecated.
Applications do not need to call this method.
|
java.lang.String |
getAutoPrecision()
Deprecated.
Retrieves the precision of this component.
|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType()
Deprecated.
|
int |
getContent()
Deprecated.
Gets the tick content specification for all gauges in this
gauge set.
|
javax.faces.convert.Converter |
getConverter()
Deprecated.
Retrieves the number converter
|
NumberFormat |
getNumberFormat()
Deprecated.
Use Converter
Gets the number format
|
int |
getNumberType()
Deprecated.
Gets the type of number displayed in the tick label.
|
int |
getPosition()
Deprecated.
Returns the position of the label.
|
java.lang.String |
getScaling()
Deprecated.
Retrieves the scaling of this component.
|
protected void |
resetStyleProperties()
Deprecated.
|
void |
setAutoPrecision(java.lang.String precision)
Deprecated.
Specifies the precision of this component.
|
void |
setContent(int content)
Deprecated.
Sets the content of tick labels in a gauge.
|
void |
setContent(java.lang.String content)
Deprecated.
Specifies where tick labels occur within a gauge set.
|
void |
setConverter(javax.faces.convert.Converter converter)
Deprecated.
Specifies the number converter
|
void |
setNumberFormat(NumberFormat format)
Deprecated.
Use Converter
Sets the number format
|
void |
setNumberType(int type)
Deprecated.
Sets the type of number to be displayed in the tick label.
|
void |
setNumberType(java.lang.String type)
Deprecated.
Format for numbers that are displayed in the metric label.
|
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 |
setScaling(java.lang.String scaling)
Deprecated.
Specifies the scaling of this component.
|
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 CONTENT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey NUMBER_TYPE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey NUMBER_FORMAT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CONVERTER_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SCALING_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey AUTOPRECISION_KEY
public int getContent()
GaugeConstants
beginning with
TICK_
.public void setContent(int content)
content
- Integer representing the types of tick
labels to be displayed; valid constants
are in the GaugeConstants
class starting with TICK_.public void setContent(java.lang.String content)
content
- Valid values are: @Deprecated public NumberFormat getNumberFormat()
@Deprecated public void setNumberFormat(NumberFormat format)
format
- 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 int getPosition()
getPosition
in class BaseLabel
GaugeAttributes.TLP_INTERIOR
, GaugeAttributes.TLP_EXTERIOR
.public void setPosition(int position)
setPosition
in class BaseLabel
position
- the integer constant that represents where the label is placed:
GaugeAttributes.TLP_INTERIOR
, GaugeAttributes.TLP_EXTERIOR
.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 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 numberConverterprotected void resetStyleProperties()
resetStyleProperties
in class BaseLabel
public void applyProperties(java.util.HashMap map)
BIComplexAttributeBase
applyProperties
in class BaseText
map
- hashMap that contains property value pairs.protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class BaseLabel