⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 uncontrolledtaskinfo.java

📁 esri的ArcGIS Server超级学习模板程序(for java)
💻 JAVA
字号:
package com.esri.solutions.jitk.web.tasks;

import java.util.ResourceBundle;

import com.esri.adf.web.data.tasks.SimpleTaskInfo;
import com.esri.adf.web.data.tasks.TabularLayout;
import com.esri.adf.web.data.tasks.TaskActionDescriptor;
import com.esri.adf.web.data.tasks.TaskActionDescriptorModel;
import com.esri.adf.web.data.tasks.TaskDescriptor;
import com.esri.adf.web.data.tasks.TaskLayout;
import com.esri.adf.web.data.tasks.TaskParamDescriptor;
import com.esri.adf.web.data.tasks.TaskParamDescriptorModel;
import com.esri.adf.web.data.tasks.TaskToolDescriptor;
import com.esri.adf.web.data.tasks.TaskToolDescriptorModel;

@SuppressWarnings("serial")
/**
 * Task info class that delegates the ability to render a task to the ADF
 * task framework (not controlled by the task)
 */
public class UncontrolledTaskInfo extends SimpleTaskInfo {
	protected static final String SHARED_RESOURCE_NAME = "res.solutions_jitk_tasks";
	
	protected TaskDescriptor _taskDescriptor = null;
	protected TaskParamDescriptor[]  _paramDescriptors = null;
	protected TaskActionDescriptor[] _actionDescriptors = null;
	protected TaskToolDescriptor[] _toolDescriptors = null;
	protected TabularLayout[] _tabularLayout = null;
	protected transient ResourceBundle _resourceBundle;
	
	public UncontrolledTaskInfo() {
		this.setResourceBundle(ResourceBundle.getBundle(SHARED_RESOURCE_NAME));
	}
	
	public ResourceBundle getResourceBundle() {
		return _resourceBundle;
	}

	public void setResourceBundle(ResourceBundle resourceBundle) {
		this._resourceBundle = resourceBundle;
	}

	public TaskDescriptor getTaskDescriptor() {
	    return this._taskDescriptor;
	}

	public TaskParamDescriptorModel[] getParamDescriptors() {
	    return this._paramDescriptors;
	}

	public TaskActionDescriptorModel[] getActionDescriptors() {
	    return this._actionDescriptors;
	}
	
	public TaskToolDescriptorModel[] getToolDescriptors() {
	    return this._toolDescriptors;
	}
	  
	public TaskLayout[] getTaskLayout() {
	    return this._tabularLayout;
	}
	
	public TaskLayout[] getAbsoluteLayout() {
		return super.getTaskLayout();
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -