📄 setmaprefreshratetaskinfo.java
字号:
package com.esri.solutions.jitk.web.tasks.preferences.refreshrate;
import com.esri.adf.web.data.tasks.TabularLayout;
import com.esri.adf.web.data.tasks.TabularPosition;
import com.esri.adf.web.data.tasks.TaskActionDescriptor;
import com.esri.adf.web.data.tasks.TaskParamDescriptor;
import com.esri.adf.web.data.tasks.TaskToolDescriptor;
import com.esri.solutions.jitk.common.resources.TextResources;
import com.esri.solutions.jitk.web.tasks.RenderAwareTaskDescription;
import com.esri.solutions.jitk.web.tasks.RenderControlledTaskInfo;
public class SetMapRefreshRateTaskInfo extends RenderControlledTaskInfo {
private static final long serialVersionUID = -6465545017487682207L;
public SetMapRefreshRateTaskInfo() {
super();
this._paramDescriptors = new TaskParamDescriptor[5];
this._actionDescriptors = new TaskActionDescriptor[3];
this._toolDescriptors = new TaskToolDescriptor[0];
this._tabularLayout = new TabularLayout[1];
this._taskDescriptor = new RenderAwareTaskDescription(SetMapRefreshRateTask.class, TextResources.getResourceString(ResourceProps.TASK_WINDOW_TITLE), TextResources.getResourceString(ResourceProps.TASK_WINDOW_TITLE));
this._tabularLayout[0] = new TabularLayout();
this._tabularLayout[0].setId("ExportImageSelection");
this._paramDescriptors[0] = new TaskParamDescriptor(SetMapRefreshRateTask.class, "resourceLabel", TextResources.getResourceString(ResourceProps.RESOURCE_TO_REFRESH));
this._tabularLayout[0].addComponent(this._paramDescriptors[0], new TabularPosition(1, 0, 1, 2));
this._actionDescriptors[0] = new TaskActionDescriptor(SetMapRefreshRateTask.class, "updateList", TextResources.getResourceString(ResourceProps.UPDATE_LIST));
this._actionDescriptors[0].setToolTip(ResourceProps.UPDATE_LIST);
this._tabularLayout[0].addComponent(this._actionDescriptors[0], new TabularPosition(1, 3, 1, 1));
this._paramDescriptors[1] = new TaskParamDescriptor(SetMapRefreshRateTask.class, "resourceToRefresh", "", "getResourceList");
this._paramDescriptors[1].setRendererType(TaskParamDescriptor.SELECT_RENDERER_TYPE);
this._tabularLayout[0].addComponent(this._paramDescriptors[1], new TabularPosition(2, 0, 1, 3));
this._paramDescriptors[2] = new TaskParamDescriptor(SetMapRefreshRateTask.class, "refreshRateLabel", TextResources.getResourceString(ResourceProps.REFRESH_RATE));
this._tabularLayout[0].addComponent(this._paramDescriptors[2], new TabularPosition(3, 0, 1, 3));
this._paramDescriptors[3] = new TaskParamDescriptor(SetMapRefreshRateTask.class, "refreshRate", "", "getRefreshRateList");
this._paramDescriptors[3].setRendererType(TaskParamDescriptor.SELECT_RENDERER_TYPE);
this._tabularLayout[0].addComponent(this._paramDescriptors[3], new TabularPosition(4, 0, 1, 2));
this._actionDescriptors[1] = new TaskActionDescriptor(SetMapRefreshRateTask.class, "apply", TextResources.getResourceString(ResourceProps.APPLY));
this._actionDescriptors[1].setToolTip(ResourceProps.APPLY);
this._tabularLayout[0].addComponent(this._actionDescriptors[1], new TabularPosition(4, 3, 1, 1));
this._actionDescriptors[2] = new TaskActionDescriptor(SetMapRefreshRateTask.class, "refresh", "refresh");
this._tabularLayout[0].addComponent(this._actionDescriptors[2], new TabularPosition(5, 0, 1, 1));
this._paramDescriptors[4] = new TaskParamDescriptor(SetMapRefreshRateTask.class, "footerNote", TextResources.getResourceString(ResourceProps.FOOTER_NOTE));
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -