Klasse PatternNumberFormat
java.lang.Object
java.text.Format
java.text.NumberFormat
com.inet.report.chart.format.PatternNumberFormat
- Alle implementierten Schnittstellen:
ChartFormat, Serializable, Cloneable
This is a number format defined by a pattern.
For more information to the pattern see http://docs.oracle.com/javase/8/docs/api/java/text/DecimalFormat.html
For more information to the pattern see http://docs.oracle.com/javase/8/docs/api/java/text/DecimalFormat.html
- Seit:
- 8.0
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen NumberFormat
NumberFormat.Field, NumberFormat.Style -
Feldübersicht
FelderModifikator und TypFeldBeschreibungstatic final StringThe default pattern with thousands separator and two decimals.Von Klasse geerbte Felder NumberFormat
FRACTION_FIELD, INTEGER_FIELD -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungclone()Overrides Cloneableformat(double number, StringBuffer toAppendTo, FieldPosition pos) format(long number, StringBuffer toAppendTo, FieldPosition pos) protected StringgetName()FOR INTERNAL USE ONLY Returns the XML attribute name for this dataset.Returns the format pattern.parse(String source, ParsePosition parsePosition) voidreadProperties(Element element) Reads the XML properties of a chart format.voidsaveProperties(StringBuilder buffer, int depth) Writes the format properties to output.voidsetFormatingProperties(com.inet.report.chart.format.FormatingProperties properties) Sets the location specific formating properties, e.g. locale, time zone, first day of week.voidsetPattern(String pattern) Sets the format pattern.Von Klasse geerbte Methoden NumberFormat
equals, format, format, format, getAvailableLocales, getCompactNumberInstance, getCompactNumberInstance, getCurrency, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getMaximumFractionDigits, getMaximumIntegerDigits, getMinimumFractionDigits, getMinimumIntegerDigits, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, getRoundingMode, hashCode, isGroupingUsed, isParseIntegerOnly, isStrict, parse, parseObject, setCurrency, setGroupingUsed, setMaximumFractionDigits, setMaximumIntegerDigits, setMinimumFractionDigits, setMinimumIntegerDigits, setParseIntegerOnly, setRoundingMode, setStrictVon Klasse geerbte Methoden Format
format, formatToCharacterIterator, parseObject
-
Felddetails
-
DEFAULT_PATTERN
The default pattern with thousands separator and two decimals.- Siehe auch:
-
-
Konstruktordetails
-
PatternNumberFormat
public PatternNumberFormat()Creates a new instance of format.- Seit:
- 8.0
-
-
Methodendetails
-
getPattern
Returns the format pattern. The pattern should have the Java format, see this class doc.- Gibt zurück:
- the pattern.
- Seit:
- 8.0
- Siehe auch:
-
setPattern
Sets the format pattern. The pattern should have the Java format, see this class doc.- Parameter:
pattern- the pattern (nullnot permitted)- Seit:
- 8.0
- Siehe auch:
-
setFormatingProperties
public void setFormatingProperties(com.inet.report.chart.format.FormatingProperties properties) Sets the location specific formating properties, e.g. locale, time zone, first day of week.- Angegeben von:
setFormatingPropertiesin SchnittstelleChartFormat- Parameter:
properties- the properties object (nullnot permitted)
-
format
- Angegeben von:
formatin KlasseNumberFormat
-
format
- Angegeben von:
formatin KlasseNumberFormat
-
parse
- Angegeben von:
parsein KlasseNumberFormat
-
saveProperties
Writes the format properties to output.- Angegeben von:
savePropertiesin SchnittstelleChartFormat- Parameter:
buffer- the outputdepth- the depth of XML indent
-
readProperties
Reads the XML properties of a chart format.- Angegeben von:
readPropertiesin SchnittstelleChartFormat- Parameter:
element- DOM element- Siehe auch:
-
clone
Overrides Cloneable- Angegeben von:
clonein SchnittstelleChartFormat- Setzt außer Kraft:
clonein KlasseNumberFormat- Gibt zurück:
- the chart format
-
getName
FOR INTERNAL USE ONLY Returns the XML attribute name for this dataset.- Gibt zurück:
- the name.
-