|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 2 (11.1.2.1.0) E17492-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.adf.view.faces.bi.component.BIComplexAttributeBase oracle.adf.view.faces.bi.component.util.NumberFormat
public class NumberFormat
Field Summary | |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
CONVERTER_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CUR_CODE_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CUR_SYM_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
DEC_SEP_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
DECIMAL_DIGIT_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
LEADING_ZERO_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
NEG_CUR_FMT_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
NEG_NUM_FMT_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
NUMBER_FORMAT_STRING_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
NUMBER_FORMAT_TYPE_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
NUMBER_TYPE_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
POS_CUR_FMT_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
POS_NUM_FMT_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SCALE_DOWN_BILL_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SCALE_DOWN_MILL_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SCALE_DOWN_QUADRILL_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SCALE_DOWN_THOU_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SCALE_DOWN_TRILL_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SCALE_FACTOR_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
THOU_SEP_KEY
Deprecated. |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE
Deprecated. |
Fields inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase |
---|
ID_KEY, m_parent, TRANSIENT_KEY |
Constructor Summary | |
---|---|
NumberFormat()
Deprecated. |
|
NumberFormat(ViewFormat viewFormat)
Deprecated. |
Method Summary | |
---|---|
void |
copyProperties(ViewFormat viewFormat,
UIDataView view)
Deprecated. |
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType()
Deprecated. |
javax.faces.convert.Converter |
getConverter()
Deprecated. use related numberFormat attributes instead |
java.lang.String |
getCurrencyCode()
Deprecated. Retrieves the ISOCurrency code string that indicates a currency value. |
java.lang.String |
getCurrencySymbol()
Deprecated. Retrieves the character or String that indicates a currency value. |
int |
getDecimalDigit()
Deprecated. Retrieves the number of digits that appear to the right of the decimal in a number. |
char |
getDecimalSeparator()
Deprecated. Retrieves the character or String that separates the integer
and decimal parts of numbers. |
int |
getNegCurFmt()
Deprecated. Retrieves the character or String that indicates a negative
currency value. |
int |
getNegNumFmt()
Deprecated. Retrieves the character or String that indicates a negative
number value. |
java.lang.String |
getNumberFormatString()
Deprecated. Retrieves the number format string. |
int |
getNumberFormatType()
Deprecated. Retrieves the number format type associated with the NumberFormatString property. |
int |
getNumberType()
Deprecated. Retrieves the type of the number, such as general, currency, or percent. |
int |
getPosCurFmt()
Deprecated. Retrieves the character or String that indicates a positive
currency value. |
int |
getPosNumFmt()
Deprecated. Retrieves the character or String that indicates a positive
number value. |
java.lang.String |
getScaleDownBillions()
Deprecated. Retrieves the character or String that represents the
abbreviation for billions. |
java.lang.String |
getScaleDownMillions()
Deprecated. Retrieves the character or String that represents the
abbreviation for millions. |
java.lang.String |
getScaleDownQuadrillions()
Deprecated. Retrieves the character or String that represents the
abbreviation for quadrillions. |
java.lang.String |
getScaleDownThousands()
Deprecated. Retrieves the character or String that represents the
abbreviation for thousands. |
java.lang.String |
getScaleDownTrillions()
Deprecated. Retrieves the character or String that represents the
abbreviation for trillions. |
int |
getScaleFactor()
Deprecated. Retrieves the amount that a number is abbreviated. |
char |
getThousandSeparator()
Deprecated. Retrieves the character or String that separates thousands
in number values. |
boolean |
isLeadingZero()
Deprecated. Indicates whether numbers that fall between 1.0 and -1.0 are displayed with leading zeros. |
void |
setConverter(javax.faces.convert.Converter converter)
Deprecated. use related numberFormat attributes instead |
void |
setCurrencyCode(java.lang.String sCurrencyCode)
Deprecated. Specifies ISOCurrency code string that indicates a currency value. |
void |
setCurrencySymbol(java.lang.String sCurrencySymbol)
Deprecated. Specifies the character or String that indicates a currency value. |
void |
setDecimalDigit(int iDecimalDigit)
Deprecated. Specifies the number of digits that appear to the right of the decimal in a number. |
void |
setDecimalSeparator(char cDecimalSeparator)
Deprecated. Specifies the character or String that separates the integer
and decimal parts of numbers. |
void |
setLeadingZero(boolean bLeadingZero)
Deprecated. Specifies whether numbers that fall between 1.0 and -1.0 are displayed with leading zeros. |
void |
setNegCurFmt(int iNegCurFmt)
Deprecated. Specifies the character or String that indicates a negative
currency value. |
void |
setNegCurFmt(java.lang.String iNegCurFmt)
Deprecated. Specifies the character or String that indicates a negative
currency value. |
void |
setNegNumFmt(int iNegNumFmt)
Deprecated. Specifies the character or String that indicates a negative
number value. |
void |
setNegNumFmt(java.lang.String iNegNumFmt)
Deprecated. Specifies the format for negative numbers. |
void |
setNumberFormatString(java.lang.String strNumberFormatString)
Deprecated. Specifies the number format string of type specified in NumberFormatType property. |
void |
setNumberFormatType(int nNumberFormatType)
Deprecated. Specifies the number format type associated with the NumberFormatString property. |
void |
setNumberType(int iNumberType)
Deprecated. Specifies the type of the number, such as general, currency, or percent. |
void |
setNumberType(java.lang.String iNumberType)
Deprecated. Specifies the kind of number to be formatted. |
void |
setPosCurFmt(int iPosCurFmt)
Deprecated. Specifies the character or String that indicates a positive
currency value. |
void |
setPosCurFmt(java.lang.String iPosCurFmt)
Deprecated. Specifies the character or String that indicates a positive
currency value. |
void |
setPosNumFmt(int iPosNumFmt)
Deprecated. Specifies the character or String that indicates a positive
number value. |
void |
setPosNumFmt(java.lang.String iPosNumFmt)
Deprecated. Specifies the format for positive numbers. |
void |
setScaleDownBillions(java.lang.String sValue)
Deprecated. Specifies the character or String that represents the
abbreviation for billions. |
void |
setScaleDownMillions(java.lang.String sValue)
Deprecated. Specifies the character or String that represents the
abbreviation for million. |
void |
setScaleDownQuadrillions(java.lang.String sValue)
Deprecated. Specifies the character or String that represents the
abbreviation for quadrillions. |
void |
setScaleDownThousands(java.lang.String sValue)
Deprecated. Specifies the character or String that represents the
abbreviation for thousands. |
void |
setScaleDownTrillions(java.lang.String sValue)
Deprecated. Specifies the character or String that represents the
abbreviation for trillions. |
void |
setScaleFactor(int iScaleFactor)
Deprecated. Specifies how much to abbreviate a number. |
void |
setScaleFactor(java.lang.String iScaleFactor)
Deprecated. Specifies how much to abbreviate a number. |
void |
setThousandSeparator(char cThousandSeparator)
Deprecated. Specifies the character or String that separates thousands
in number values. |
ViewFormat |
toViewFormat(UIDataView view)
Deprecated. |
Methods inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase |
---|
applyProperties, getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, restoreState, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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 THOU_SEP_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey DEC_SEP_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CUR_SYM_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CUR_CODE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey LEADING_ZERO_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey DECIMAL_DIGIT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey POS_NUM_FMT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey NEG_NUM_FMT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey POS_CUR_FMT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey NEG_CUR_FMT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SCALE_FACTOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SCALE_DOWN_THOU_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SCALE_DOWN_MILL_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SCALE_DOWN_BILL_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SCALE_DOWN_TRILL_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SCALE_DOWN_QUADRILL_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey NUMBER_FORMAT_TYPE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey NUMBER_FORMAT_STRING_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CONVERTER_KEY
Constructor Detail |
---|
public NumberFormat()
public NumberFormat(ViewFormat viewFormat)
Method Detail |
---|
public int getNumberType()
NUMTYPE_GENERAL
.
The default value is used when no value has been specified.
BaseViewFormat.NUMTYPE_GENERAL
,
BaseViewFormat.NUMTYPE_CURRENCY
,
BaseViewFormat.NUMTYPE_PERCENT
public void setNumberType(int iNumberType)
NUMTYPE_GENERAL
.
The default value is used when no value has been specified.
iNumberType
- The constant that represents the type of the number,
such as general, currency, or percent. Valid constants are listed in the
See Also section.BaseViewFormat.NUMTYPE_GENERAL
,
BaseViewFormat.NUMTYPE_CURRENCY
,
BaseViewFormat.NUMTYPE_PERCENT
public void setNumberType(java.lang.String iNumberType)
iNumberType
- Valid values are: public void setThousandSeparator(char cThousandSeparator)
String
that separates thousands
in number values.
The default is THOU_SEP_BY_LOCALE
, which means that the thousands
separator is based on the locale.
cThousandSeparator
- The character or String
that
separates thousands in number values.BaseViewFormat.THOU_SEP_BY_LOCALE
public char getThousandSeparator()
String
that separates thousands
in number values.
The default is THOU_SEP_BY_LOCALE
, which means that the thousands
separator is based on the locale.
String
that separates thousands in
number values.BaseViewFormat.THOU_SEP_BY_LOCALE
public char getDecimalSeparator()
String
that separates the integer
and decimal parts of numbers.
The default is DEC_SEP_BY_LOCALE
, which means the decimal
separator is based on the locale.
String
that separates the integer
and decimal parts of numbers.public void setDecimalSeparator(char cDecimalSeparator)
String
that separates the integer
and decimal parts of numbers.
The default is DEC_SEP_BY_LOCALE
, which means that the decimal
separator is based on the locale.
cDecimalSeparator
- The character or String
that
separates the integer and decimal parts of numbers.public java.lang.String getCurrencySymbol()
String
that indicates a currency value.
String
that indicates a currency
value.public void setCurrencySymbol(java.lang.String sCurrencySymbol)
String
that indicates a currency value.
sCurrencySymbol
- The character or String
that indicates a
currency valuepublic java.lang.String getCurrencyCode()
public void setCurrencyCode(java.lang.String sCurrencyCode)
sCurrencyCode
- The ISOCurrency code string that indicates a
currency valuepublic boolean isLeadingZero()
true
.
The default value is used when no value has been explicitly set.
true
if the numbers that fall between 1.0 and -1.0
are displayed with leading zeros, false
if they are not displayed with leading zeros.public void setLeadingZero(boolean bLeadingZero)
true
.
The default value is used when no value has been explicitly set.
This method also sets the LeadingZeroUsed
property to
true
.
bLeadingZero
- true
to display leading zeros in front
of the numbers that fall between 1.0 and -1.0,
false
to display them without leading zeros.public void setDecimalDigit(int iDecimalDigit)
iDecimalDigit
- The number of digits that appear to the right of
the decimal in a number.public int getDecimalDigit()
public int getPosNumFmt()
String
that indicates a positive
number value.
The default value is POS_NUMFMT_BY_LOCALE
, which means that the
positive number format is based on locale.
BaseViewFormat.POS_NUMFMT_BY_LOCALE
,
BaseViewFormat.POS_NUMFMT_NUM
,
BaseViewFormat.POS_NUMFMT_NUM_POS
,
BaseViewFormat.POS_NUMFMT_POS_NUM
public void setPosNumFmt(int iPosNumFmt)
String
that indicates a positive
number value.
The default value is POS_NUMFMT_BY_LOCALE
, which means that the
positive number format is based on locale.
iPosNumFmt
- The constant that represents a positive number format.
Valid constants are listed in the See Also section.BaseViewFormat.POS_NUMFMT_BY_LOCALE
,
BaseViewFormat.POS_NUMFMT_NUM
,
BaseViewFormat.POS_NUMFMT_NUM_POS
,
BaseViewFormat.POS_NUMFMT_POS_NUM
public void setPosNumFmt(java.lang.String iPosNumFmt)
iPosNumFmt
- The constant that represents a positive number format.
Valid constants are listed in the See Also section.
public void setNegNumFmt(int iNegNumFmt)
String
that indicates a negative
number value.
The default value is NEG_NUMFMT_BY_LOCALE
, which means that the
positive number format is based on locale.
iNegNumFmt
- The constant that represents a negative number format.
Valid constants are listed in the See Also section.BaseViewFormat.NEG_NUMFMT_BY_LOCALE
,
BaseViewFormat.NEG_NUMFMT_NEG_NUM
,
BaseViewFormat.NEG_NUMFMT_NUM_NEG
,
BaseViewFormat.NEG_NUMFMT_OP_NUM_CP
public void setNegNumFmt(java.lang.String iNegNumFmt)
iNegNumFmt
- Valid values are:
public int getNegNumFmt()
String
that indicates a negative
number value.
The default value is NEG_NUMFMT_BY_LOCALE
, which means
that the negative number format is based on locale.
BaseViewFormat.NEG_NUMFMT_BY_LOCALE
,
BaseViewFormat.NEG_NUMFMT_NEG_NUM
,
BaseViewFormat.NEG_NUMFMT_NUM_NEG
,
BaseViewFormat.NEG_NUMFMT_OP_NUM_CP
public int getPosCurFmt()
String
that indicates a positive
currency value.
The default value is POS_CURFMT_BY_LOCALE
, which means that
the positive currency format is based on locale.
BaseViewFormat.POS_CURFMT_BY_LOCALE
,
BaseViewFormat.POS_CURFMT_CUR_NUM
,
BaseViewFormat.POS_CURFMT_CUR_NUM_POS
,
BaseViewFormat.POS_CURFMT_CUR_SPAC_NUM
,
BaseViewFormat.POS_CURFMT_NUM_CUR
,
BaseViewFormat.POS_CURFMT_NUM_CUR_POS
,
BaseViewFormat.POS_CURFMT_NUM_POS_CUR
,
BaseViewFormat.POS_CURFMT_NUM_SPAC_CUR
,
BaseViewFormat.POS_CURFMT_NUM_SPAC_CUR_POS
,
BaseViewFormat.POS_CURFMT_POS_CUR_NUM
,
BaseViewFormat.POS_CURFMT_POS_CUR_SPAC_NUM
,
BaseViewFormat.POS_CURFMT_POS_NUM_CUR
,
BaseViewFormat.POS_CURFMT_POS_NUM_SPAC_CUR
public void setPosCurFmt(int iPosCurFmt)
String
that indicates a positive
currency value.
The default value is POS_CURFMT_BY_LOCALE
, which means that the
positive currency format is based on locale.
iPosCurFmt
- The constant that represents a positive currency format.
Valid constants are listed in the See Also section.BaseViewFormat.POS_CURFMT_BY_LOCALE
,
BaseViewFormat.POS_CURFMT_CUR_NUM
,
BaseViewFormat.POS_CURFMT_CUR_NUM_POS
,
BaseViewFormat.POS_CURFMT_CUR_SPAC_NUM
,
BaseViewFormat.POS_CURFMT_NUM_CUR
,
BaseViewFormat.POS_CURFMT_NUM_CUR_POS
,
BaseViewFormat.POS_CURFMT_NUM_POS_CUR
,
BaseViewFormat.POS_CURFMT_NUM_SPAC_CUR
,
BaseViewFormat.POS_CURFMT_NUM_SPAC_CUR_POS
,
BaseViewFormat.POS_CURFMT_POS_CUR_NUM
,
BaseViewFormat.POS_CURFMT_POS_CUR_SPAC_NUM
,
BaseViewFormat.POS_CURFMT_POS_NUM_CUR
,
BaseViewFormat.POS_CURFMT_POS_NUM_SPAC_CUR
public void setPosCurFmt(java.lang.String iPosCurFmt)
String
that indicates a positive
currency value.
The default value is POS_CURFMT_BY_LOCALE
, which means that the
positive currency format is based on locale.
iPosCurFmt
- The constant that represents a positive currency format.
Valid constants are listed in the See Also section.
public int getNegCurFmt()
String
that indicates a negative
currency value.
The default value is NEG_CURFMT_BY_LOCALE
, which means that the
negative currency format is based on locale.
BaseViewFormat.NEG_CURFMT_BY_LOCALE
,
BaseViewFormat.NEG_CURFMT_CUR_NEG_NUM
,
BaseViewFormat.NEG_CURFMT_CUR_NUM_NEG
,
BaseViewFormat.NEG_CURFMT_NEG_CUR_NUM
,
BaseViewFormat.NEG_CURFMT_NEG_NUM_CUR
,
BaseViewFormat.NEG_CURFMT_NUM_CUR_NEG
,
BaseViewFormat.NEG_CURFMT_NUM_NEG_CUR
,
BaseViewFormat.NEG_CURFMT_OP_CUR_NUM_CP
,
BaseViewFormat.NEG_CURFMT_OP_NUM_CUR_CP
,
BaseViewFormat.NEG_CURFMT_NEG_CUR_SPAC_NUM
,
BaseViewFormat.NEG_CURFMT_NEG_NUM_SPAC_CUR
,
BaseViewFormat.NEG_CURFMT_NUM_SPAC_CUR_NEG
public void setNegCurFmt(int iNegCurFmt)
String
that indicates a negative
currency value.
The default value is NEG_CURFMT_BY_LOCALE
, which means that the
negative currency format is based on locale.
iNegCurFmt
- The constant that represents a negative currency format.BaseViewFormat.NEG_CURFMT_BY_LOCALE
,
BaseViewFormat.NEG_CURFMT_CUR_NEG_NUM
,
BaseViewFormat.NEG_CURFMT_CUR_NUM_NEG
,
BaseViewFormat.NEG_CURFMT_NEG_CUR_NUM
,
BaseViewFormat.NEG_CURFMT_NEG_NUM_CUR
,
BaseViewFormat.NEG_CURFMT_NUM_CUR_NEG
,
BaseViewFormat.NEG_CURFMT_NUM_NEG_CUR
,
BaseViewFormat.NEG_CURFMT_OP_CUR_NUM_CP
,
BaseViewFormat.NEG_CURFMT_OP_NUM_CUR_CP
,
BaseViewFormat.NEG_CURFMT_NEG_CUR_SPAC_NUM
,
BaseViewFormat.NEG_CURFMT_NEG_NUM_SPAC_CUR
,
BaseViewFormat.NEG_CURFMT_NUM_SPAC_CUR_NEG
public void setNegCurFmt(java.lang.String iNegCurFmt)
String
that indicates a negative
currency value.
The default value is NEG_CURFMT_BY_LOCALE
, which means that the
negative currency format is based on locale.
iNegCurFmt
- The constant that represents a negative currency format.
public int getScaleFactor()
ScaleFactor
property is set to
SCALEFACTOR_THOUSANDS
.
The default is DEFAULT_SCALE_FACTOR
, which returns no scaling.
The decimal point is not moved.
The default value is used when no scale factor value has been specified.
BaseViewFormat.DEFAULT_SCALE_FACTOR
,
BaseViewFormat.SCALEFACTOR_NONE
,
BaseViewFormat.SCALEFACTOR_THOUSANDS
,
BaseViewFormat.SCALEFACTOR_MILLIONS
,
BaseViewFormat.SCALEFACTOR_BILLIONS
,
BaseViewFormat.SCALEFACTOR_TRILLIONS
,
BaseViewFormat.SCALEFACTOR_QUADRILLIONS
public void setScaleFactor(int iScaleFactor)
ScaleFactor
to
SCALEFACTOR_THOUSANDS
, the view displays the number
as thousands, and a number such as 153,000 appears as 153K
(assuming the default value of the ScaleDownThousands
property).
The default is DEFAULT_SCALE_FACTOR
, which specifies no scaling.
The default value is used when no scale factor value has been specified.
This method also sets the ScaleFactorUsed
property to
true
.
iScaleFactor
- A constant that represents the scale by
which to abbreviate a number. Valid constants are
listed in the See Also section.BaseViewFormat.DEFAULT_SCALE_FACTOR
,
BaseViewFormat.SCALEFACTOR_NONE
,
BaseViewFormat.SCALEFACTOR_THOUSANDS
,
BaseViewFormat.SCALEFACTOR_MILLIONS
,
BaseViewFormat.SCALEFACTOR_BILLIONS
,
BaseViewFormat.SCALEFACTOR_TRILLIONS
,
BaseViewFormat.SCALEFACTOR_QUADRILLIONS
public void setScaleFactor(java.lang.String iScaleFactor)
ScaleFactor
to
SCALEFACTOR_THOUSANDS
, the view displays the number
as thousands, and a number such as 153,000 appears as 153K
(assuming the default value of the ScaleDownThousands
property).
The default is DEFAULT_SCALE_FACTOR
, which specifies no scaling.
The default value is used when no scale factor value has been specified.
This method also sets the ScaleFactorUsed
property to
true
.
iScaleFactor
- A constant that represents the scale by
which to abbreviate a number. Valid constants are
public void setScaleDownThousands(java.lang.String sValue)
String
that represents the
abbreviation for thousands.
The default value is SCALE_DOWN_SYMBOL_BY_LOCALE
, which means
that the abbreviation for thousands is based on locale.
sValue
- The the character or String
that represents
the abbreviation for thousands.BaseViewFormat.SCALE_DOWN_SYMBOL_BY_LOCALE
public java.lang.String getScaleDownThousands()
String
that represents the
abbreviation for thousands.
The default value is SCALE_DOWN_SYMBOL_BY_LOCALE
, which means
that the abbreviation for thousands is based on locale.
String
that represents the
abbreviation for thousands.BaseViewFormat.SCALE_DOWN_SYMBOL_BY_LOCALE
public void setScaleDownMillions(java.lang.String sValue)
String
that represents the
abbreviation for million.
The default value is SCALE_DOWN_SYMBOL_BY_LOCALE
, which means
that the abbreviation for millions is based on locale.
sValue
- The the character or String
that represents
the abbreviation for millions.BaseViewFormat.SCALE_DOWN_SYMBOL_BY_LOCALE
public java.lang.String getScaleDownMillions()
String
that represents the
abbreviation for millions.
The default value is SCALE_DOWN_SYMBOL_BY_LOCALE
, which means
that the abbreviation for millions is based on locale.
String
that represents the
abbreviation for millions.BaseViewFormat.SCALE_DOWN_SYMBOL_BY_LOCALE
public java.lang.String getScaleDownBillions()
String
that represents the
abbreviation for billions.
The default value is SCALE_DOWN_SYMBOL_BY_LOCALE
, which means
that the abbreviation for billions is based on locale.
String
that represents the
abbreviation for billions.BaseViewFormat.SCALE_DOWN_SYMBOL_BY_LOCALE
public void setScaleDownBillions(java.lang.String sValue)
String
that represents the
abbreviation for billions.
The default value is SCALE_DOWN_SYMBOL_BY_LOCALE
, which means
that the abbreviation for billions is based on locale.
sValue
- The the character or String
that represents
the abbreviation for billions.BaseViewFormat.SCALE_DOWN_SYMBOL_BY_LOCALE
public java.lang.String getScaleDownTrillions()
String
that represents the
abbreviation for trillions.
The default value is SCALE_DOWN_SYMBOL_BY_LOCALE
, which means
that the abbreviation for trillions is based on locale.
String
that represents the
abbreviation for trillions.BaseViewFormat.SCALE_DOWN_SYMBOL_BY_LOCALE
public void setScaleDownTrillions(java.lang.String sValue)
String
that represents the
abbreviation for trillions.
The default value is SCALE_DOWN_SYMBOL_BY_LOCALE
, which means
that the abbreviation for trillions is based on locale.
sValue
- The the character or String
that represents
the abbreviation for trillions.BaseViewFormat.SCALE_DOWN_SYMBOL_BY_LOCALE
public java.lang.String getScaleDownQuadrillions()
String
that represents the
abbreviation for quadrillions.
The default value is SCALE_DOWN_SYMBOL_BY_LOCALE
, which means
that the abbreviation for quadrillions is based on locale.
String
that represents the
abbreviation for quadrillions.BaseViewFormat.SCALE_DOWN_SYMBOL_BY_LOCALE
public void setScaleDownQuadrillions(java.lang.String sValue)
String
that represents the
abbreviation for quadrillions.
The default value is SCALE_DOWN_SYMBOL_BY_LOCALE
, which means
that the abbreviation for quadrillion is based on locale.
sValue
- The the character or String
that represents
the abbreviation for quadrillions.BaseViewFormat.SCALE_DOWN_SYMBOL_BY_LOCALE
public void setNumberFormatType(int nNumberFormatType)
nNumberFormatType
- A int
which contains the number
format type.BaseViewFormat.OEO_PATTERN_STR
,
BaseViewFormat.ORACLE_PATTERN_STR
public int getNumberFormatType()
public void setNumberFormatString(java.lang.String strNumberFormatString)
strNumberFormatString
- A String
which contains the number
format string associated with the ViewFormat
.setNumberFormatType(int)
public java.lang.String getNumberFormatString()
String
value which represents the number format string.public void setConverter(javax.faces.convert.Converter converter)
setNumberFormatType(int)
public javax.faces.convert.Converter getConverter()
public ViewFormat toViewFormat(UIDataView view)
public void copyProperties(ViewFormat viewFormat, UIDataView view)
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class BIComplexAttributeBase
|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 2 (11.1.2.1.0) E17492-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |