本文整理了Java中net.sourceforge.squirrel_sql.client.action.ActionCollection.enableInternalFrameOptions()
方法的一些代码示例,展示了ActionCollection.enableInternalFrameOptions()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ActionCollection.enableInternalFrameOptions()
方法的具体详情如下:
包路径:net.sourceforge.squirrel_sql.client.action.ActionCollection
类名称:ActionCollection
方法名:enableInternalFrameOptions
[英]Enable/disable actions that are valid only if an internal frame is open.
[中]启用/禁用仅在内部框架打开时有效的操作。
代码示例来源:origin: net.sf.squirrel-sql/squirrel-sql
/**
* This function should be called whenever an internal frame is
* opened or closed. It enables/disabled actions that are only
* applicable to an internal frame.
*
* @param nbrInternalFramesOpen The count of the internal frames open.
*/
public void internalFrameOpenedOrClosed(int nbrInternalFramesOpen)
{
enableInternalFrameOptions(nbrInternalFramesOpen > 0);
}
代码示例来源:origin: realXuJiang/bigtable-sql
/**
* This function should be called whenever an internal frame is
* opened or closed. It enables/disabled actions that are only
* applicable to an internal frame.
*
* @param nbrInternalFramesOpen The count of the internal frames open.
*/
public void internalFrameOpenedOrClosed(int nbrInternalFramesOpen)
{
enableInternalFrameOptions(nbrInternalFramesOpen > 0);
}
代码示例来源:origin: net.sf.squirrel-sql/squirrel-sql
/**
* Ctor. Disable all actions that are not valid when the
* application is first initialised.
*
* @param app Application API.
*
* @throws IllegalArgumentException
* Thrown if <TT>null</TT> <TT>IApplication</TT> passed.
*/
public ActionCollection(IApplication app)
{
super();
if (app == null)
{
throw new IllegalArgumentException("IApplication == null");
}
if (s_log == null)
{
s_log = LoggerController.createLogger(getClass());
}
_app = app;
preloadActions();
enableInternalFrameOptions(false);
}
代码示例来源:origin: realXuJiang/bigtable-sql
/**
* Ctor. Disable all actions that are not valid when the
* application is first initialised.
*
* @param app Application API.
*
* @throws IllegalArgumentException
* Thrown if <TT>null</TT> <TT>IApplication</TT> passed.
*/
public ActionCollection(IApplication app)
{
super();
if (app == null)
{
throw new IllegalArgumentException("IApplication == null");
}
if (s_log == null)
{
s_log = LoggerController.createLogger(getClass());
}
_app = app;
preloadActions();
enableInternalFrameOptions(false);
}
内容来源于网络,如有侵权,请联系作者删除!