Klasse Abbreviation
java.lang.Object
com.inet.report.chart.format.Abbreviation
- Alle implementierten Schnittstellen:
Serializable
This class represents an abbreviation instance. There are four abbreviations available: thousand (K), million (M), billion (B) and none.
The abbreviation divides the value and writes the abbreviation symbol after this value in a chart.
The
ABBREVIATION_NONE can be used to reset the abbreviation.- Seit:
- 8.0
- Siehe auch:
-
Feldübersicht
FelderModifikator und TypFeldBeschreibungstatic final AbbreviationBillions abbreviationstatic final AbbreviationMillions abbreviationstatic final AbbreviationNone abbreviationstatic final AbbreviationThousands abbreviation -
Methodenübersicht
Modifikator und TypMethodeBeschreibungbooleanstatic AbbreviationgetAbbreviation(Element element) Reads the XML properties of a abbreviation.doubleReturns the divisor.Returns the symbol for this abbreviation, e.g.inthashCode()
-
Felddetails
-
ABBREVIATION_NONE
None abbreviation -
ABBREVIATION_THOUSANDS
Thousands abbreviation -
ABBREVIATION_MILLIONS
Millions abbreviation -
ABBREVIATION_BILLIONS
Billions abbreviation
-
-
Methodendetails
-
getDivisor
public double getDivisor()Returns the divisor. The divisor forABBREVIATION_THOUSANDSis 1000.- Gibt zurück:
- the divisor.
- Seit:
- 8.0
-
getSymbol
Returns the symbol for this abbreviation, e.g. 'K' for thousand.- Gibt zurück:
- the symbol string.
- Seit:
- 8.0
-
equals
-
hashCode
-
getAbbreviation
Reads the XML properties of a abbreviation.- Parameter:
element- the DOM element- Gibt zurück:
- the new abbreviation.
- Seit:
- 8.0
- Siehe auch:
-