当前位置: 首页>>代码示例>>Java>>正文


Java ScriptExecutionListener类代码示例

本文整理汇总了Java中weka.gui.scripting.event.ScriptExecutionListener的典型用法代码示例。如果您正苦于以下问题:Java ScriptExecutionListener类的具体用法?Java ScriptExecutionListener怎么用?Java ScriptExecutionListener使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ScriptExecutionListener类属于weka.gui.scripting.event包,在下文中一共展示了ScriptExecutionListener类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: initialize

import weka.gui.scripting.event.ScriptExecutionListener; //导入依赖的package包/类
/**
 * Initializes the script.
 */
protected void initialize() {
  m_Filename = null;
  m_NewLine = System.getProperty("line.separator");
  m_Modified = false;
  m_ScriptThread = null;
  m_FinishedListeners = new HashSet<ScriptExecutionListener>();
}
 
开发者ID:mydzigear,项目名称:repo.kmeanspp.silhouette_score,代码行数:11,代码来源:Script.java

示例2: notifyScriptFinishedListeners

import weka.gui.scripting.event.ScriptExecutionListener; //导入依赖的package包/类
/**
 * Notifies all listeners.
 * 
 * @param e the event to send to all listeners
 */
protected void notifyScriptFinishedListeners(ScriptExecutionEvent e) {
  Iterator<ScriptExecutionListener> iter;

  iter = m_FinishedListeners.iterator();
  while (iter.hasNext()) {
    iter.next().scriptFinished(e);
  }
}
 
开发者ID:mydzigear,项目名称:repo.kmeanspp.silhouette_score,代码行数:14,代码来源:Script.java

示例3: initialize

import weka.gui.scripting.event.ScriptExecutionListener; //导入依赖的package包/类
/**
 * Initializes the script.
 */
protected void initialize() {
  m_Filename          = null;
  m_NewLine           = System.getProperty("line.separator");
  m_Modified          = false;
  m_ScriptThread      = null;
  m_FinishedListeners = new HashSet<ScriptExecutionListener>();
}
 
开发者ID:dsibournemouth,项目名称:autoweka,代码行数:11,代码来源:Script.java

示例4: notifyScriptFinishedListeners

import weka.gui.scripting.event.ScriptExecutionListener; //导入依赖的package包/类
/**
 * Notifies all listeners.
 * 
 * @param e		the event to send to all listeners
 */
protected void notifyScriptFinishedListeners(ScriptExecutionEvent e) {
  Iterator<ScriptExecutionListener>	iter;
  
  iter = m_FinishedListeners.iterator();
  while (iter.hasNext())
    iter.next().scriptFinished(e);
}
 
开发者ID:dsibournemouth,项目名称:autoweka,代码行数:13,代码来源:Script.java

示例5: addScriptFinishedListener

import weka.gui.scripting.event.ScriptExecutionListener; //导入依赖的package包/类
/**
 * Adds the given listener to its internal list.
 * 
 * @param l the listener to add
 */
public void addScriptFinishedListener(ScriptExecutionListener l) {
  m_FinishedListeners.add(l);
}
 
开发者ID:mydzigear,项目名称:repo.kmeanspp.silhouette_score,代码行数:9,代码来源:Script.java

示例6: removeScriptFinishedListener

import weka.gui.scripting.event.ScriptExecutionListener; //导入依赖的package包/类
/**
 * Removes the given listener from its internal list.
 * 
 * @param l the listener to remove
 */
public void removeScriptFinishedListener(ScriptExecutionListener l) {
  m_FinishedListeners.remove(l);
}
 
开发者ID:mydzigear,项目名称:repo.kmeanspp.silhouette_score,代码行数:9,代码来源:Script.java

示例7: addScriptFinishedListener

import weka.gui.scripting.event.ScriptExecutionListener; //导入依赖的package包/类
/**
 * Adds the given listener to its internal list.
 * 
 * @param l		the listener to add
 */
public void addScriptFinishedListener(ScriptExecutionListener l) {
  m_FinishedListeners.add(l);
}
 
开发者ID:dsibournemouth,项目名称:autoweka,代码行数:9,代码来源:Script.java

示例8: removeScriptFinishedListener

import weka.gui.scripting.event.ScriptExecutionListener; //导入依赖的package包/类
/**
 * Removes the given listener from its internal list.
 * 
 * @param l		the listener to remove
 */
public void removeScriptFinishedListener(ScriptExecutionListener l) {
  m_FinishedListeners.remove(l);
}
 
开发者ID:dsibournemouth,项目名称:autoweka,代码行数:9,代码来源:Script.java


注:本文中的weka.gui.scripting.event.ScriptExecutionListener类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。