public interface ICtrlAction
限定符和类型 | 方法和说明 |
---|---|
void |
bindDashBoardComponent(com.supermap.desktop.core.Interface.IDParameter panel)
绑定大屏控件
|
boolean |
check()
设置控件对象的选中状态。
|
boolean |
doEnable()
返回当前是否可用
|
void |
doRun()
控件触发时调用的方法,默认为final
|
boolean |
doVisible()
返回当前是否显示
|
IBaseItem |
getCaller()
获取执行控件。
|
ICtrlAction |
getCurrentCtrlAction()
获取当前的CtrlAction
|
org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean> |
getEnableFunction()
获取修改后的enable方法
|
java.util.function.Consumer<CtrlAction> |
getRunFunction()
获得修改后的run方法
|
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)
取消绑定大屏控件
|
IBaseItem getCaller()
void setCaller(IBaseItem caller)
void doRun()
ICtrlAction getCurrentCtrlAction()
java.util.function.Consumer<CtrlAction> getRunFunction()
void setRunFunction(java.util.function.Consumer<CtrlAction> runFunction)
runFunction
- 修改后的run方法,接收当前ctrlAction作为参数org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean> getEnableFunction()
void setEnableFunction(org.jetbrains.userdefine.process.beans.Function<CtrlAction,java.lang.Boolean> enableFunction)
enableFunction
- 修改后的enable方法,接收当前ctrlAction作为参数boolean doEnable()
boolean check()
void bindDashBoardComponent(com.supermap.desktop.core.Interface.IDParameter panel)
panel
- IDParametervoid unbindDashBoardComponent(com.supermap.desktop.core.Interface.IDParameter panel)
panel
- IDParameterboolean doVisible()