Happy3w

NC客户端触发操作/动作的几个基类

2017.02.17
1、打开节点:FuncletWindowEngine 路径:nc.funcnode.ui.FuncletWindowEngine 描述:几乎所有NC标准单据节点打开都通过此类触发openNode方法完成。 API:
FuncletWindowEngine(FuncRegisterVO)
hasOpenning()
getDetailMsg(LicCheckResult)
openNode(OpenParam)
2、点击菜单按钮:ActionDelegate 路径:nc.funcnode.ui.action.ActionDelegate 描述:标准按钮点击时都相应ActionDelegate.actionPerformed操作。 API:
ActionDelegate(FuncletContext)
actionPerformed(ActionEvent)
addChild(ActionDelegate)
addChild(int, ActionDelegate)
getAction()
getAllChilds()
getChild(int)
getChildCount()
getCode()
getContext()
getKeyStroke()
getParent()
getText()
getTooltip()
getValue(String)
removeChild(ActionDelegate)
setAction(Action)
3、退出登录/注销:Workbench 路径:nc.desktop.ui.Workbench 描述:系统退出时调用Workbench.logout操作,无论是session过期或者直接注销。 API:
getTaskGroupFactory()
getWelcomeString()
getWorkSpaceTabbedPane()
insertCompToTopBar(Component)
logout()
logout(boolean)
logoutWorkbench()
logoutWorkbench(boolean)
removeCompFromTopBar(Component)
removeServerEnviornment()
start()