com.esri.adf.web.tasks
Class MapToolsTaskInfo

java.lang.Object
  extended by com.esri.adf.web.data.tasks.SimpleTaskInfo
      extended by com.esri.adf.web.tasks.MapToolsTaskInfo
All Implemented Interfaces:
TaskInfo, Serializable

public class MapToolsTaskInfo
extends SimpleTaskInfo

See Also:
Serialized Form

Field Summary
static String MEASURE
           
 
Constructor Summary
MapToolsTaskInfo()
           
 
Method Summary
 TaskActionDescriptorModel[] getActionDescriptors()
          Claims there are no custom task action descriptors provided.
 TaskParamDescriptorModel[] getParamDescriptors()
          Claims there are no custom task param descriptors provided.
 TaskDescriptor getTaskDescriptor()
          Claims there is no custom TaskDescriptor provided.
 TaskLayout[] getTaskLayout()
          Claims there are no custom task layouts provided.
 TaskToolDescriptorModel[] getToolDescriptors()
          Claims there are no custom task tool descriptors provided.
 boolean isMeasureEnabled()
           
 void refresh(MapToolsTask task)
           
 void setMeasureEnabled(boolean measureEnabled)
           
 void setTaskConfig(MapToolsTaskConfig config)
          Deprecated. As of ArcGIS Java Server 9.3, instead use MapToolsTask to set all properties
 
Methods inherited from class com.esri.adf.web.data.tasks.SimpleTaskInfo
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MEASURE

public static final String MEASURE
See Also:
Constant Field Values
Constructor Detail

MapToolsTaskInfo

public MapToolsTaskInfo()
Method Detail

setTaskConfig

@Deprecated
public void setTaskConfig(MapToolsTaskConfig config)
Deprecated. As of ArcGIS Java Server 9.3, instead use MapToolsTask to set all properties

Sets the map tools task config bean.

Parameters:
config - the configuration bean for map tools task

getTaskDescriptor

public TaskDescriptor getTaskDescriptor()
Description copied from class: SimpleTaskInfo
Claims there is no custom TaskDescriptor provided. You can override this if you wish to provide an explicit descriptor.

Specified by:
getTaskDescriptor in interface TaskInfo
Overrides:
getTaskDescriptor in class SimpleTaskInfo
Returns:
null

getTaskLayout

public TaskLayout[] getTaskLayout()
Description copied from class: SimpleTaskInfo
Claims there are no custom task layouts provided. You can override this if you wish to provide explicit layouts.

Specified by:
getTaskLayout in interface TaskInfo
Overrides:
getTaskLayout in class SimpleTaskInfo
Returns:
null

getToolDescriptors

public TaskToolDescriptorModel[] getToolDescriptors()
Description copied from class: SimpleTaskInfo
Claims there are no custom task tool descriptors provided. You can override this if you wish to provide explicit descriptors.

Specified by:
getToolDescriptors in interface TaskInfo
Overrides:
getToolDescriptors in class SimpleTaskInfo
Returns:
null

getActionDescriptors

public TaskActionDescriptorModel[] getActionDescriptors()
Description copied from class: SimpleTaskInfo
Claims there are no custom task action descriptors provided. You can override this if you wish to provide explicit descriptors.

Specified by:
getActionDescriptors in interface TaskInfo
Overrides:
getActionDescriptors in class SimpleTaskInfo
Returns:
null

getParamDescriptors

public TaskParamDescriptorModel[] getParamDescriptors()
Description copied from class: SimpleTaskInfo
Claims there are no custom task param descriptors provided. You can override this if you wish to provide explicit descriptors.

Specified by:
getParamDescriptors in interface TaskInfo
Overrides:
getParamDescriptors in class SimpleTaskInfo
Returns:
null

refresh

public void refresh(MapToolsTask task)

isMeasureEnabled

public boolean isMeasureEnabled()

setMeasureEnabled

public void setMeasureEnabled(boolean measureEnabled)