public abstract class CtrlAction extends java.lang.Object implements ICtrlAction
构造器和说明 |
---|
CtrlAction(IBaseItem caller) |
限定符和类型 | 方法和说明 |
---|---|
void |
bindDashBoardComponent(com.supermap.desktop.core.Interface.IDParameter panel)
绑定大屏控件
|
boolean |
check()
是否选中
|
boolean |
doEnable()
返回当前是否可用
|
boolean |
doVisible()
返回当前是否显示
|
boolean |
enable()
可见性判断
|
IBaseItem |
getCaller()
获取触发事件的源控件
|
CtrlAction |
getCurrentCtrlAction()
获取当前的CtrlAction
|
com.supermap.desktop.core.Interface.IDParameter |
getDashBoardComponent()
获取大屏控件
|
org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean> |
getEnableFunction()
获取修改后的enable方法
|
java.util.function.Consumer<CtrlAction> |
getRunFunction()
获得修改后的run方法
|
boolean |
isExist(IForm form, java.lang.String name)
判断窗口有无属性
|
void |
setCaller(IBaseItem caller)
设置触发事件的源控件
|
void |
setEnableFunction(org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean> enableFunction)
设置修改后的enable方法
|
void |
setRunFunction(java.util.function.Consumer<CtrlAction> runFunction)
设置自定义的run方法
|
void |
unbindDashBoardComponent(com.supermap.desktop.core.Interface.IDParameter panel)
解除大屏控件
|
boolean |
visible()
可用性判断
|
public CtrlAction(IBaseItem caller)
public IBaseItem getCaller()
getCaller
在接口中 ICtrlAction
public void setCaller(IBaseItem caller)
setCaller
在接口中 ICtrlAction
public CtrlAction getCurrentCtrlAction()
getCurrentCtrlAction
在接口中 ICtrlAction
public java.util.function.Consumer<CtrlAction> getRunFunction()
ICtrlAction
getRunFunction
在接口中 ICtrlAction
public void setRunFunction(java.util.function.Consumer<CtrlAction> runFunction)
ICtrlAction
setRunFunction
在接口中 ICtrlAction
runFunction
- 修改后的run方法,接收当前ctrlAction作为参数public org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean> getEnableFunction()
ICtrlAction
getEnableFunction
在接口中 ICtrlAction
public void setEnableFunction(org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean> enableFunction)
ICtrlAction
setEnableFunction
在接口中 ICtrlAction
enableFunction
- 修改后的enable方法,接收当前ctrlAction作为参数public final boolean doEnable()
ICtrlAction
doEnable
在接口中 ICtrlAction
public final boolean doVisible()
doVisible
在接口中 ICtrlAction
public boolean visible()
public boolean enable()
public boolean check()
check
在接口中 ICtrlAction
public boolean isExist(IForm form, java.lang.String name)
form
- 需要获取属性的窗口name
- 取出属性的类型public void bindDashBoardComponent(com.supermap.desktop.core.Interface.IDParameter panel)
bindDashBoardComponent
在接口中 ICtrlAction
panel
- IDParameterpublic void unbindDashBoardComponent(com.supermap.desktop.core.Interface.IDParameter panel)
unbindDashBoardComponent
在接口中 ICtrlAction
panel
- IDParameterpublic com.supermap.desktop.core.Interface.IDParameter getDashBoardComponent()