⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 uieventupdatethread.java

📁 简介: 今天为网友提供的是JAVA源码
💻 JAVA
字号:
package com.power.pipeengine.EngineUI;import java.util.*;/** * <p>Title: PIPE Engine</p> * <p>Description: Global Planning Optimization Engine</p> * <p>Copyright: Copyright (c) 2002</p> * <p>Company: Paraster, Inc.</p> * @author Wei Tan * @version 1.0 */public class UIEventUpdateThread implements Runnable {  private Vector _uiObjects = new Vector();  private static final UIEventUpdateThread INSTANCE =                              new UIEventUpdateThread();  /**   * class constructor   */  private UIEventUpdateThread() {  }  /**   * Gets the global instance of the singular class object.   * @return the global instance.   */  public static UIEventUpdateThread getInstance( ) {        return INSTANCE;  }  public void run() {    for( int i=0; i<_uiObjects.size(); i++ ) {      ( (UIInterface) _uiObjects.elementAt( i ) ).updateDisplay();    }  }  public void addUIObject( Object obj ) {    _uiObjects.add( obj );  }  public void reset() {      _uiObjects = new Vector();  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -