public class BaseFormat extends BIComplexAttributeBase
Modifier and Type | Field and Description |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
AUTOPRECISION_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CONVERTER_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
NUMBER_FORMAT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SCALING_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
ID_KEY, m_parent, TRANSIENT_KEY
Constructor and Description |
---|
BaseFormat() |
Modifier and Type | Method and Description |
---|---|
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
|
NumberFormat |
getNumberFormat()
Deprecated.
Use Converter
Retrieves the number format for data axis
|
java.lang.String |
getScaling()
Retrieves the scaling of this component.
|
void |
setAutoPrecision(java.lang.String precision)
Specifies the precision of this component.
|
void |
setConverter(javax.faces.convert.Converter converter)
Specifies the number converter
|
void |
setNumberFormat(NumberFormat format)
Deprecated.
Use Converter
Specifies the number format for data axis
|
void |
setScaling(java.lang.String scaling)
Specifies the scaling of this component.
|
applyProperties, getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, restoreState, 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_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
@Deprecated public NumberFormat getNumberFormat()
@Deprecated public void setNumberFormat(NumberFormat format)
format
- the number formatpublic 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 org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class BIComplexAttributeBase