|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.inet.report.chart.format.Abbreviation
public class Abbreviation
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.
| Field Summary | |
|---|---|
static Abbreviation |
ABBREVIATION_BILLIONS
Billions abbreviation |
static Abbreviation |
ABBREVIATION_MILLIONS
Millions abbreviation |
static Abbreviation |
ABBREVIATION_NONE
None abbreviation |
static Abbreviation |
ABBREVIATION_THOUSANDS
Thousands abbreviation |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
|
static Abbreviation |
getAbbreviation(org.w3c.dom.Element element)
Reads the XML properties of a abbreviation. |
double |
getDivisor()
Returns the divisor. |
java.lang.String |
getSymbol()
Returns the symbol for this abbreviation, e.g. |
int |
hashCode()
|
| Field Detail |
|---|
public static final Abbreviation ABBREVIATION_NONE
public static final Abbreviation ABBREVIATION_THOUSANDS
public static final Abbreviation ABBREVIATION_MILLIONS
public static final Abbreviation ABBREVIATION_BILLIONS
| Method Detail |
|---|
public double getDivisor()
ABBREVIATION_THOUSANDS is 1000.
public java.lang.String getSymbol()
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static Abbreviation getAbbreviation(org.w3c.dom.Element element)
element - the DOM element
Abbreviation,
Element
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||