public static class AttributeInspector.LayerInfo
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Method and Description |
---|---|
static AttributeInspector.LayerInfo |
create() |
void |
setFeatureLayer(FeatureLayer featureLayer) |
void |
setHtmlFields(java.lang.String[] htmlFields) |
void |
showDeleteButton(boolean showButton) |
void |
showGlobalID(boolean showId) |
void |
showObjectID(boolean showId) |
public static AttributeInspector.LayerInfo create()
public final void setFeatureLayer(FeatureLayer featureLayer)
featureLayer
- - Feature layer. Required.public final void showObjectID(boolean showId)
showId
- - Show the ObjectID field.Optional.public final void showGlobalID(boolean showId)
showId
- - Show the GlobalID field. Optionalpublic final void showDeleteButton(boolean showButton)
showButton
- - Display the delete button on the attribute inspector dialog. Optionalpublic final void setHtmlFields(java.lang.String[] htmlFields)
htmlFields
- - Display a rich text editor for the specified fields.