com.supermap.desktop.core.implement
类 CtrlAction
- java.lang.Object
- 
- com.supermap.desktop.core.implement.CtrlAction
 
- 
- 所有已实现的接口:
- ICtrlAction
 
 
 public abstract class CtrlAction extends java.lang.Object implements ICtrlAction 功能的实现基类
- 
- 
构造器概要构造器 构造器和说明 CtrlAction(IBaseItem caller)
 - 
方法概要所有方法 实例方法 具体方法 限定符和类型 方法和说明 voidbindDashBoardComponent(com.supermap.desktop.core.Interface.IDParameter panel)绑定大屏控件booleancheck()是否选中booleandoCheck()设置控件对象的选中状态。booleandoEnable()返回当前是否可用booleandoVisible()返回当前是否显示booleanenable()可用性判断IBaseItemgetCaller()获取触发事件的源控件org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean>getCheckFunction()CtrlActiongetCurrentCtrlAction()获取当前的CtrlActionjava.lang.StringgetCustomProperty()获取自定义信息com.supermap.desktop.core.Interface.IDParametergetDashBoardComponent()获取大屏控件org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean>getEnableFunction()获取修改后的enable方法java.util.function.Consumer<CtrlAction>getRunFunction()获得修改后的run方法voidinitBaseItem(IBaseItem caller)需要在类初始化时就实现的操作,需要放在此方法内booleanisExist(IForm form, java.lang.String name)判断窗口有无属性voidsetCaller(IBaseItem caller)设置触发事件的源控件voidsetCheckFunction(org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean> checkFunction)voidsetEnableFunction(org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean> enableFunction)设置修改后的enable方法voidsetRunFunction(java.util.function.Consumer<CtrlAction> runFunction)设置自定义的run方法voidunbindDashBoardComponent(com.supermap.desktop.core.Interface.IDParameter panel)解除大屏控件booleanvisible()可见性判断
 
- 
- 
- 
构造器详细资料- 
CtrlActionpublic CtrlAction(IBaseItem caller) 
 
- 
 - 
方法详细资料- 
initBaseItempublic void initBaseItem(IBaseItem caller) 需要在类初始化时就实现的操作,需要放在此方法内- 指定者:
- initBaseItem在接口中- ICtrlAction
- 参数:
- caller- 触发事件的控件
 
 - 
getCallerpublic IBaseItem getCaller() 获取触发事件的源控件- 指定者:
- getCaller在接口中- ICtrlAction
 
 - 
setCallerpublic void setCaller(IBaseItem caller) 设置触发事件的源控件- 指定者:
- setCaller在接口中- ICtrlAction
 
 - 
getCurrentCtrlActionpublic CtrlAction getCurrentCtrlAction() 获取当前的CtrlAction- 指定者:
- getCurrentCtrlAction在接口中- ICtrlAction
- 返回:
- 当前的CtrlAction
 
 - 
getRunFunctionpublic java.util.function.Consumer<CtrlAction> getRunFunction() 从接口复制的说明:ICtrlAction获得修改后的run方法- 指定者:
- getRunFunction在接口中- ICtrlAction
 
 - 
setRunFunctionpublic void setRunFunction(java.util.function.Consumer<CtrlAction> runFunction) 从接口复制的说明:ICtrlAction设置自定义的run方法- 指定者:
- setRunFunction在接口中- ICtrlAction
- 参数:
- runFunction- 修改后的run方法,接收当前ctrlAction作为参数
 
 - 
getEnableFunctionpublic org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean> getEnableFunction() 从接口复制的说明:ICtrlAction获取修改后的enable方法- 指定者:
- getEnableFunction在接口中- ICtrlAction
- 返回:
 
 - 
setEnableFunctionpublic void setEnableFunction(org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean> enableFunction) 从接口复制的说明:ICtrlAction设置修改后的enable方法- 指定者:
- setEnableFunction在接口中- ICtrlAction
- 参数:
- enableFunction- 修改后的enable方法,接收当前ctrlAction作为参数
 
 - 
doEnablepublic final boolean doEnable() 从接口复制的说明:ICtrlAction返回当前是否可用- 指定者:
- doEnable在接口中- ICtrlAction
 
 - 
doVisiblepublic final boolean doVisible() 返回当前是否显示- 指定者:
- doVisible在接口中- ICtrlAction
- 返回:
- 是否显示
 
 - 
visiblepublic boolean visible() 可见性判断- 返回:
- 是否可见
 
 - 
enablepublic boolean enable() 可用性判断- 返回:
- 是否可用
 
 - 
doCheckpublic boolean doCheck() 从接口复制的说明:ICtrlAction设置控件对象的选中状态。- 指定者:
- doCheck在接口中- ICtrlAction
 
 - 
getCheckFunctionpublic org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean> getCheckFunction() - 指定者:
- getCheckFunction在接口中- ICtrlAction
 
 - 
setCheckFunctionpublic void setCheckFunction(org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean> checkFunction) - 指定者:
- setCheckFunction在接口中- ICtrlAction
 
 - 
checkpublic boolean check() 是否选中- 返回:
- 是否选中
 
 - 
isExistpublic boolean isExist(IForm form, java.lang.String name) 判断窗口有无属性- 参数:
- form- 需要获取属性的窗口
- name- 取出属性的类型
- 返回:
- 有无属性
 
 - 
getCustomPropertypublic java.lang.String getCustomProperty() 获取自定义信息- 指定者:
- getCustomProperty在接口中- ICtrlAction
 
 - 
bindDashBoardComponentpublic void bindDashBoardComponent(com.supermap.desktop.core.Interface.IDParameter panel) 绑定大屏控件- 指定者:
- bindDashBoardComponent在接口中- ICtrlAction
- 参数:
- panel- IDParameter
 
 - 
unbindDashBoardComponentpublic void unbindDashBoardComponent(com.supermap.desktop.core.Interface.IDParameter panel) 解除大屏控件- 指定者:
- unbindDashBoardComponent在接口中- ICtrlAction
- 参数:
- panel- IDParameter
 
 - 
getDashBoardComponentpublic com.supermap.desktop.core.Interface.IDParameter getDashBoardComponent() 获取大屏控件- 返回:
- IDParameter
 
 
- 
 
-