|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.map.popup.PopupFieldInfo
public class PopupFieldInfo
The PopupFieldInfo class defines information about how a graphic's attribute (field) should be displayed in a popup.
| Constructor Summary | |
|---|---|
PopupFieldInfo()
|
|
| Method Summary | |
|---|---|
static PopupFieldInfo |
fromJson(org.codehaus.jackson.JsonParser parser)
Constructs a PopupFieldInfo object from its JSON representation. |
String |
getFieldName()
Returns the popup field's name. |
PopupFormatValue |
getFormat()
Returns the format of the field. |
String |
getLabel()
Returns the popup field's label. |
String |
getTooltip()
Returns the popup field's tooltip. |
boolean |
isEditable()
Returns true if this field is allowed to be modified and shown in a PopupView in the editing mode. |
boolean |
isVisible()
Returns true if this field is shown in a PopupView in the viewing mode. |
void |
setEditable(boolean isEditable)
Sets the editability of this field. |
void |
setFieldName(String fieldName)
Sets the popup field's name. |
void |
setFormat(PopupFormatValue format)
Sets the popup field's format from a PopupFormatValue. |
void |
setLabel(String label)
Sets the popup field's label. |
void |
setTooltip(String tooltip)
Sets the popup field's tooltip. |
void |
setVisible(boolean visible)
Sets the visibility of this field. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PopupFieldInfo()
| Method Detail |
|---|
public String getFieldName()
public void setFieldName(String fieldName)
fieldName - The name of the fieldpublic String getLabel()
public void setLabel(String label)
label - The label of the fieldpublic PopupFormatValue getFormat()
public void setFormat(PopupFormatValue format)
PopupFormatValue.
format - The PopupFormatValue of the fieldpublic boolean isVisible()
public void setVisible(boolean visible)
visible - True if the field should be visible, false otherwisepublic boolean isEditable()
public void setEditable(boolean isEditable)
isEditable - True if the field should be editable, false otherwisepublic String getTooltip()
public void setTooltip(String tooltip)
tooltip - The tool tip of the field
public static PopupFieldInfo fromJson(org.codehaus.jackson.JsonParser parser)
throws Exception
parser - A JSON parser object whose position is set at the "fieldInfos" node.
PopupFieldInfo object.
Exception - An exception that occurred during parsing.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||