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()可见性判断
-
-
-
构造器详细资料
-
CtrlAction
public CtrlAction(IBaseItem caller)
-
-
方法详细资料
-
initBaseItem
public void initBaseItem(IBaseItem caller)
需要在类初始化时就实现的操作,需要放在此方法内- 指定者:
initBaseItem在接口中ICtrlAction- 参数:
caller- 触发事件的控件
-
getCaller
public IBaseItem getCaller()
获取触发事件的源控件- 指定者:
getCaller在接口中ICtrlAction
-
setCaller
public void setCaller(IBaseItem caller)
设置触发事件的源控件- 指定者:
setCaller在接口中ICtrlAction
-
getCurrentCtrlAction
public CtrlAction getCurrentCtrlAction()
获取当前的CtrlAction- 指定者:
getCurrentCtrlAction在接口中ICtrlAction- 返回:
- 当前的CtrlAction
-
getRunFunction
public java.util.function.Consumer<CtrlAction> getRunFunction()
从接口复制的说明:ICtrlAction获得修改后的run方法- 指定者:
getRunFunction在接口中ICtrlAction
-
setRunFunction
public void setRunFunction(java.util.function.Consumer<CtrlAction> runFunction)
从接口复制的说明:ICtrlAction设置自定义的run方法- 指定者:
setRunFunction在接口中ICtrlAction- 参数:
runFunction- 修改后的run方法,接收当前ctrlAction作为参数
-
getEnableFunction
public org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean> getEnableFunction()
从接口复制的说明:ICtrlAction获取修改后的enable方法- 指定者:
getEnableFunction在接口中ICtrlAction- 返回:
-
setEnableFunction
public void setEnableFunction(org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean> enableFunction)
从接口复制的说明:ICtrlAction设置修改后的enable方法- 指定者:
setEnableFunction在接口中ICtrlAction- 参数:
enableFunction- 修改后的enable方法,接收当前ctrlAction作为参数
-
doEnable
public final boolean doEnable()
从接口复制的说明:ICtrlAction返回当前是否可用- 指定者:
doEnable在接口中ICtrlAction
-
doVisible
public final boolean doVisible()
返回当前是否显示- 指定者:
doVisible在接口中ICtrlAction- 返回:
- 是否显示
-
visible
public boolean visible()
可见性判断- 返回:
- 是否可见
-
enable
public boolean enable()
可用性判断- 返回:
- 是否可用
-
doCheck
public boolean doCheck()
从接口复制的说明:ICtrlAction设置控件对象的选中状态。- 指定者:
doCheck在接口中ICtrlAction
-
getCheckFunction
public org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean> getCheckFunction()
- 指定者:
getCheckFunction在接口中ICtrlAction
-
setCheckFunction
public void setCheckFunction(org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean> checkFunction)
- 指定者:
setCheckFunction在接口中ICtrlAction
-
check
public boolean check()
是否选中- 返回:
- 是否选中
-
isExist
public boolean isExist(IForm form, java.lang.String name)
判断窗口有无属性- 参数:
form- 需要获取属性的窗口name- 取出属性的类型- 返回:
- 有无属性
-
getCustomProperty
public java.lang.String getCustomProperty()
获取自定义信息- 指定者:
getCustomProperty在接口中ICtrlAction
-
bindDashBoardComponent
public void bindDashBoardComponent(com.supermap.desktop.core.Interface.IDParameter panel)
绑定大屏控件- 指定者:
bindDashBoardComponent在接口中ICtrlAction- 参数:
panel- IDParameter
-
unbindDashBoardComponent
public void unbindDashBoardComponent(com.supermap.desktop.core.Interface.IDParameter panel)
解除大屏控件- 指定者:
unbindDashBoardComponent在接口中ICtrlAction- 参数:
panel- IDParameter
-
getDashBoardComponent
public com.supermap.desktop.core.Interface.IDParameter getDashBoardComponent()
获取大屏控件- 返回:
- IDParameter
-
-