|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.map.popup.PopupFormatValue com.esri.core.map.popup.PopupDateFormatValue
public class PopupDateFormatValue
The PopupDateFormatValue class extends PopupFormatValue
and represents the date format.
Nested Class Summary | |
---|---|
static class |
PopupDateFormatValue.DATE_FORMAT
Enumeration of all the date formats that are supported by a popup. |
Constructor Summary | |
---|---|
PopupDateFormatValue()
Default constructor for PopupDateFormatValue |
|
PopupDateFormatValue(PopupDateFormatValue.DATE_FORMAT format)
Constructor for PopupDateFormatValue that sets an initial PopupDateFormatValue.DATE_FORMAT . |
Method Summary | |
---|---|
String |
formattedValue(Object value)
Formats a given date object into a string. |
SimpleDateFormat |
getFormat()
Returns the SimpleDateFormat of this PopupDateFormatValue. |
void |
setFormat(PopupDateFormatValue.DATE_FORMAT format)
Sets the date format using a PopupDateFormatValue.DATE_FORMAT. |
void |
setFormat(SimpleDateFormat format)
Sets the date format according to the given SimpleDateFormat object. |
Methods inherited from class com.esri.core.map.popup.PopupFormatValue |
---|
fromJson |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PopupDateFormatValue()
public PopupDateFormatValue(PopupDateFormatValue.DATE_FORMAT format)
PopupDateFormatValue.DATE_FORMAT
.
format
- A PopupDateFormatValue.DATE_FORMAT
.Method Detail |
---|
public SimpleDateFormat getFormat()
public void setFormat(SimpleDateFormat format)
format
- The format as a SimpleDateFormat
public void setFormat(PopupDateFormatValue.DATE_FORMAT format)
format
- The format as a PopupDateFormatValue.DATE_FORMAT
public String formattedValue(Object value)
formattedValue
in class PopupFormatValue
value
- The value to be formatted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |