|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dss.util.format.BaseViewFormat | +--oracle.dss.dataView.managers.ViewFormat
Contains format properties for numbers.
Constructor Summary | |
ViewFormat() Constructor that uses default ViewFormat values. | |
ViewFormat(int numberType, char thousandSeparator, char decimalSeparator, java.lang.String currencySymbol, boolean leadingZero, int decimalDigit, int posNumFmt, int negNumFmt, int posCurFmt, int negCurFmt, int scaleFactor, java.lang.String scaleDownThousands, java.lang.String scaleDownMillions, java.lang.String scaleDownBillions, java.lang.String scaleDownTrillions, java.lang.String scaleDownQuadrillions, java.lang.String dateFormat) Constructor that sets individual ViewFormat properties. | |
ViewFormat(java.lang.String numberFormatString, int fmtStrType) Constructor that uses a String to specify property values. |
Method Summary | |
java.lang.Object |
clone() Clones this ViewFormat object. |
java.lang.String |
getDateFormat() Deprecated. As of 1.6.0.24, replaced by BaseViewFormat.getJavaDateFormat() . |
boolean |
isDateFormatUsed() Deprecated. As of 1.6.0.24, replaced by BaseViewFormat.isJavaDateFormatUsed() |
void |
setDateFormat(java.lang.String sDateFormat) Deprecated. As of 1.6.0.24, replaced by BaseViewFormat.setJavaDateFormat(java.lang.String) . |
void |
setDateFormatUsed(boolean bValue) Deprecated. As of 1.6.0.24, replaced by BaseViewFormat.setJavaDateFormatUsed(boolean) |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.dss.rules.MergeableXML |
getXML, setXML |
Constructor Detail |
public ViewFormat()
ViewFormat
values. At this point, no properties have been explicitly set.public ViewFormat(int numberType, char thousandSeparator, char decimalSeparator, java.lang.String currencySymbol, boolean leadingZero, int decimalDigit, int posNumFmt, int negNumFmt, int posCurFmt, int negCurFmt, int scaleFactor, java.lang.String scaleDownThousands, java.lang.String scaleDownMillions, java.lang.String scaleDownBillions, java.lang.String scaleDownTrillions, java.lang.String scaleDownQuadrillions, java.lang.String dateFormat)
ViewFormat
properties. At this point, no property values have been set.numberType
- A constant that represents the type of the number, such as general, currency, date, or percent.thousandSeparator
- A character that groups integral digits into sets of three.decimalSeparator
- A character that separates integral and decimal digits.currencySymbol
- A character or String
that indicates a currency value.leadingZero
- true
to display the number values that fall between 1.0 and -1.0 with leading zeros, false
to display them without leading zeros.decimalDigit
- The number of digits that appear to the right of the decimal divider.posNumFmt
- A constant that indicates a positive number.negNumFmt
- A constant that indicates a negative number.posCurFmt
- A constant that indicates a positive currency value.negCurFmt
- A constant that indicates a negative currency value.scaleFactor
- A constant that specifies the number of digits to the left to move the decimal point.scaleDownThousands
- A character or String
that represents the abbreviation for thousand.saleDownMillions
- A character or String
that represents the abbreviation for million.scaleDownBillions
- A character or String
that represents the abbreviation for billion.scaleDownTrillions
- A character or String
that represents the abbreviation for trillion.scaleDownQuadrillions
- A character or String
that represents the abbreviation for quadrillion.dateFormat
- The format that determines the way in which the date is displayed, such as MM/DD/YY, or DD/MM/YY.public ViewFormat(java.lang.String numberFormatString, int fmtStrType)
String
to specify property values. Any property that is initialized by the numberFormatString
is marked as being used.numberFormatString
- A number format String
that sets property values for this ViewFormat
object.fmtStrType
- A constant that represents the type of format for the numberFormatString
that is passed in this method.BaseViewFormat.OEO_PATTERN_STR
, BaseViewFormat.ORACLE_PATTERN_STR
Method Detail |
public java.lang.Object clone()
ViewFormat
object.clone
in class BaseViewFormat
ViewFormat
object.public java.lang.String getDateFormat()
BaseViewFormat.getJavaDateFormat()
.ViewFormat
now uses Java date formats.public boolean isDateFormatUsed()
BaseViewFormat.isJavaDateFormatUsed()
ViewFormat
now uses Java date formats.public void setDateFormat(java.lang.String sDateFormat)
BaseViewFormat.setJavaDateFormat(java.lang.String)
.ViewFormat
now uses the Java date format.public void setDateFormatUsed(boolean bValue)
BaseViewFormat.setJavaDateFormatUsed(boolean)
ViewFormat
now uses the Java date format.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |