|
NetCharts Pro | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetcharts.pro.common.NFBaseClass
netcharts.pro.common.NFNumberFormat
public class NFNumberFormat
The NFNumberFormat object provides the ability to change the display of digits to use different symbols to delimit decimal values and grouping symbols. By default, all numbers in the charts are displayed as nnn,nnn.rrr where n represents the whole number and rrr represents the remainder.
Constructor Summary | |
---|---|
NFNumberFormat()
Constructs a default number format |
|
NFNumberFormat(java.lang.String decimalSymbol,
java.lang.String groupSymbol,
int groupSize)
Constructs a number format with the given decimal symbol, group symbol, and groupSize. |
Method Summary | |
---|---|
java.lang.String |
getCDL()
Generate CDL parameters representing this region |
java.lang.String |
getDecimalSymbol()
Get the decimal symbol |
int |
getGroupSize()
Get the group size |
java.lang.String |
getGroupSymbol()
Get the group symbol |
void |
setCDL(java.lang.String cdl)
Configures this object from a CDL parameter representation. |
void |
setDecimalSymbol(java.lang.String decimalSymbol)
Set the decimal symbol |
void |
setGroupSize(int groupSize)
Set the group size |
void |
setGroupSymbol(java.lang.String groupSymbol)
Set the group symbol |
java.lang.String |
toString()
Returns a new String object representing this number format. |
Methods inherited from class netcharts.pro.common.NFBaseClass |
---|
clone, getModified, getUserObject, setModified, setUserObject |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NFNumberFormat()
public NFNumberFormat(java.lang.String decimalSymbol, java.lang.String groupSymbol, int groupSize)
decimalSymbol
- The characters to delimit whole and fractional parts of
a number.groupSymbol
- The characters to delimit groups of digitsgroupSize
- Number of digits between groupSymbols.Method Detail |
---|
public void setDecimalSymbol(java.lang.String decimalSymbol)
decimalSymbol
- The characters to delimit whole and fractional parts of
a number.public java.lang.String getDecimalSymbol()
public void setGroupSymbol(java.lang.String groupSymbol)
groupSymbol
- The characters to delimit groups of digitspublic java.lang.String getGroupSymbol()
public void setGroupSize(int groupSize)
groupSize
- Number of digits between groupSymbols.public int getGroupSize()
public void setCDL(java.lang.String cdl)
setCDL
in interface NFCDLGenerator
cdl
- CDL in the form: ("decimalSymbol","groupSymbol", groupSize)
public java.lang.String toString()
toString
in interface NFCDLGenerator
toString
in class java.lang.Object
public java.lang.String getCDL()
getCDL
in interface NFCDLGenerator
("decimalSymbol","groupSymbol",groupSize)
|
NetCharts Pro | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2011 |
Last Modified: Jun 28, 2011 |