|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.adf.web.ags.data.edit.bean.ConfigBean
public class ConfigBean
ConfigBean is a backing bean, which defines the properties of the editing user interface. It can be instantiated from a face-config.xml.
<managed-bean> <managed-bean-name>edit1</managed-bean-name> <managed-bean-class>com.esri.adf.web.ags.data.edit.bean.EditBean</managed-bean-class> <managed-bean-scope>none</managed-bean-scope> <managed-property> <property-name>taskConfig</property-name> <value>#{taskConfig1}</value> </managed-property> </managed-bean> <managed-bean> <managed-bean-name>taskConfig1</managed-bean-name> <managed-bean-class>com.esri.adf.web.ags.data.edit.bean.ConfigBean</managed-bean-class> <managed-bean-scope>none</managed-bean-scope> ...The properties of the config bean can be defined using the ArcGIS Java Manger. The manager will generate the face-config.xml when creating a web application. You can change the face-config.xml to override those settings in the runtime.
Constructor Summary | |
---|---|
ConfigBean()
|
Method Summary | |
---|---|
String |
getConfigName()
Gets the configName of the ConfigBean. |
String |
getConflictMode()
Gets reconcile rules. |
String |
getConflictWin()
Gets reconcile rules. |
com.esri.arcgisws.RgbColor |
getHighlightColor()
Gets the highlight color as a three element String array. |
String |
getHlColor()
Gets the highlight color. |
String |
getLayers()
Gets the editable layers. |
Set<Integer> |
getLayerSet()
Gets the layers as a Set. |
int |
getMaxSelectionCount()
Gets the maxSelectionCount of the ConfigBean. |
GISResource |
getResource()
Gets the Map Service for the editing bean. |
String |
getResourceId()
Gets the ID of the Map Resource. |
String |
getSdLayers()
Gets snapping layers. |
String |
getSeLayers()
Gets snapping layers. |
String |
getSnapTipsColor()
Gets the snapTipsColor of the EditingBean. |
int |
getSnapTolerance()
Gets the snapping tolerance in pixels. |
String |
getSvLayers()
Gets snapping layers. |
String |
getTaskName()
Deprecated. Please use EditBean.getTaskName() . |
int |
getTolerance()
Gets the search tolerance in pixels. |
String |
getVersions()
Gets the editable versions. |
Set<String> |
getVersionSet()
Gets the versions as a set. |
String |
getVerticesColor()
Gets the color of vertices. |
WebSimpleMarkerSymbol |
getVerticesMarker()
Gets the symbol to draw the vertices. |
String |
getVerticesOutline()
Gets the outline color of vertices, e.g."255,255,0" |
int |
getVerticesShape()
Gets the shape of vertex. |
int |
getVerticesSize()
Gets the size of vertex. |
String |
getWorkspaceID()
A workspace ID is a unique ID of workspace. |
boolean |
isAddFeatures()
Returns true if Add Features function is enabled. |
Boolean |
isChildWin()
Returns true to if the reconcile policy is child win. |
Boolean |
isColumnLevel()
Returns true to if the reconcile policy is on column level. |
boolean |
isEditAttributes()
Returns true when Edit Feature Attributes function is enable. |
boolean |
isEditFeatures()
Returns true when Features Editing functions are enabled. |
boolean |
isSilentClearSketch()
Returns true to clear sketch without the confirm window. |
void |
setAddFeatures(boolean addFeatures)
Sets to true to enable Add Features function. |
void |
setConfigName(String configName)
Sets the configName of the ConfigBean. |
void |
setConflictMode(String conflictMode)
Sets reconcile rules. |
void |
setConflictWin(String conflictWin)
Sets reconcile rules. |
void |
setEditAttributes(boolean editAttributes)
Sets to true to enable Edit Feature Attributes function. |
void |
setEditFeatures(boolean editFeatures)
Sets to true to enable Features Editing Functions, which include move, delete, copy, and modify features. |
void |
setHlColor(String hlColor)
Sets the highlight color. |
void |
setLayers(String layers)
Sets the editable layers. |
void |
setMaxSelectionCount(int maxSelectionCount)
Sets the maxSelectionCount of the ConfigBean. |
void |
setResource(GISResource resource)
Sets a Map Service for the editing bean. |
void |
setResourceId(String resourceId)
Sets the ID of the Map Resource. |
void |
setSdLayers(String sdLayers)
Sets snapping layers. |
void |
setSeLayers(String seLayers)
Sets snapping layers. |
void |
setSilentClearSketch(boolean silentClearSketch)
Sets to true to clear sketch without the confirm window. |
void |
setSnapTipsColor(String snapTipsColor)
Sets the snapTipsColor of the EditingBean. |
void |
setSnapTolerance(int snapTolerance)
Sets the snapping tolerance in pixels. |
void |
setSvLayers(String svLayers)
Sets snapping layers. |
void |
setTaskName(String taskName)
Deprecated. Please use EditBean.setTaskName(String) . |
void |
setTolerance(int tolerance)
Sets the search tolerance in pixels. |
void |
setVersions(String versions)
Sets the editable versions. |
void |
setVerticesColor(String color)
Sets the color of vertices. |
void |
setVerticesOutline(String verticesOutline)
Sets the outline color of vertices, e.g."255,255,0" |
void |
setVerticesShape(int verticesShape)
Sets the shape of vertex. |
void |
setVerticesSize(int verticesSize)
Sets the size of vertex. |
void |
setWorkspaceID(String workspaceID)
A workspace ID is a unique ID of workspace. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigBean()
Method Detail |
---|
public void setResource(GISResource resource)
resource
- a map service instance.public GISResource getResource()
public String getLayers()
public void setLayers(String layers)
layers
- a set of layer ID delimited by semicolon, e.g. 2;5;public String getResourceId()
public void setResourceId(String resourceId)
resourceId
- a map service id, e.g. agsResource1public String getTaskName()
EditBean.getTaskName()
.
public void setTaskName(String taskName)
EditBean.setTaskName(String)
.
taskName
- the bean name.public String getConfigName()
public void setConfigName(String configName)
configName
- The configName to set.public String getVersions()
public void setVersions(String versions)
versions
- a set of version names delimited by semicolon.public String getWorkspaceID()
public void setWorkspaceID(String workspaceID)
workspaceID
- a ID, e.g. SDE.DEFAULT (PASSWORD@MACHINE_NAME:PORT_NUMBER)public boolean isAddFeatures()
public void setAddFeatures(boolean addFeatures)
addFeatures
- Sets to true to enable Add Features function.public boolean isEditAttributes()
public void setEditAttributes(boolean editAttributes)
editAttributes
- public boolean isEditFeatures()
public void setEditFeatures(boolean editFeatures)
editFeatures
- sets to true to enable Features Editing Functions.public String getHlColor()
public void setHlColor(String hlColor)
hlColor
- the highlight color, e.g. "255,0,0"public int getSnapTolerance()
public void setSnapTolerance(int snapTolerance)
snapTolerance
- the snapping tolerance in pixels.public int getTolerance()
public void setTolerance(int tolerance)
tolerance
- the search tolerance in pixels.public String getVerticesColor()
public void setVerticesColor(String color)
color
- the color of vertices, e.g. "255,0,0"public String getSdLayers()
public void setSdLayers(String sdLayers)
sdLayers
- a set of layers ID delimited by semicolon, e.g. 2;3;public String getSeLayers()
public void setSeLayers(String seLayers)
seLayers
- a set of layers ID delimited by semicolon, e.g. 2;3;public String getSvLayers()
public void setSvLayers(String svLayers)
svLayers
- a set of layers ID delimited by semicolon, e.g. 2;3;public String getConflictMode()
public void setConflictMode(String conflictMode)
conflictMode
- "0" or "1".public String getConflictWin()
public void setConflictWin(String conflictWin)
conflictWin
- "0" or "1"public String getVerticesOutline()
public void setVerticesOutline(String verticesOutline)
verticesOutline
- public int getMaxSelectionCount()
public void setMaxSelectionCount(int maxSelectionCount)
maxSelectionCount
- The maxSelectionCount to set.public int getVerticesShape()
public void setVerticesShape(int verticesShape)
verticesShape
- public int getVerticesSize()
public void setVerticesSize(int verticesSize)
verticesSize
- public WebSimpleMarkerSymbol getVerticesMarker()
public Set<Integer> getLayerSet()
public Set<String> getVersionSet()
public com.esri.arcgisws.RgbColor getHighlightColor() throws NumberFormatException
NumberFormatException
public Boolean isChildWin()
public Boolean isColumnLevel()
public String getSnapTipsColor()
public void setSnapTipsColor(String snapTipsColor)
snapTipsColor
- The snapTipsColor to set.public boolean isSilentClearSketch()
public void setSilentClearSketch(boolean silentClearSketch)
silentClearSketch
- Sets to true to clear sketch without the confirm window.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |