java.lang.Object | ||
↳ | com.esri.core.map.popup.PopupFormatValue | |
↳ | com.esri.core.map.popup.PopupNumberFormatValue |
The PopupNumberFormatValue class extends PopupFormatValue
and represents the number format.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PopupNumberFormatValue()
Default constructor for PopupNumberFormatValue.
| |||||||||||
PopupNumberFormatValue(int places, boolean digitSeparator)
Constructor for PopupNumberFormatValue that sets some formatting values.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
formattedValue(Object value)
Formats a given number object into a string.
| ||||||||||
boolean |
getDigitSeparator()
Returns true if grouping is used in this format, false otherwise.
| ||||||||||
int |
getPlaces()
Returns the maximum number of digits allowed in the fraction portion of a number.
| ||||||||||
void |
setDigitSeparator(boolean digitSeparator)
Set whether or not grouping will be used in this format.
| ||||||||||
void |
setPlaces(int places)
Sets the maximum number of digits allowed in the fraction portion of a number.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.esri.core.map.popup.PopupFormatValue
| |||||||||||
From class
java.lang.Object
|
Default constructor for PopupNumberFormatValue.
Constructor for PopupNumberFormatValue that sets some formatting values.
places | Sets the maximum number of digits allowed in the fraction portion of a number. |
---|---|
digitSeparator | Set whether or not grouping will be used in this format. |
Formats a given number object into a string.
value | the value |
---|
Returns true if grouping is used in this format, false otherwise.
Returns the maximum number of digits allowed in the fraction portion of a number.
Set whether or not grouping will be used in this format.
digitSeparator | True if grouping should be used, false otherwise |
---|
Sets the maximum number of digits allowed in the fraction portion of a number.
places | The maximum number of digits allowed in the fraction portion |
---|