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

📄 cui.java

📁 application som kohonen , pour une classification de couleur et voir l application de l algorithme
💻 JAVA
字号:
package baseui;/** * <p>Title: Gestion Affichage et processus</p> * <p>Copyright: Copyright (c) 2004</p> * @author: Jean-Philippe Rennard * @version 1.0 */import java.awt.*;import java.awt.event.*;/**  Classe abstraite de gestion de l'inteface utilisateur */public abstract class Cui extends Frame {  /** pointeur sur le processus */  public Cprocess process;  /** Constructeur par d閒aut */  public Cui() {    try {      jbInit();    }    catch(Exception e) {      e.printStackTrace();    }  }  /** Initialisation du composant */  private void jbInit() throws Exception {    this.addWindowListener(new Cui_this_windowAdapter(this));  }  /** Redimensionnement de la vue */  public void redimUi() {    if(process.isRunning) {      synchronized (process) { process.stop(); }      process.initVue();      process.lancement();    }    else      process.initVue();  }  /** Fermeture fen阾re */  void this_windowClosing(WindowEvent e) {    synchronized (process) { process.stop(); }    process.vue.destroy();    dispose();  }  /** gestion de l'interface selon marche/arr阾 */  public abstract void setInterface(boolean e);  /** Affichage de la g閚閞ation courante */  public abstract void affGeneration();}class Cui_this_windowAdapter extends java.awt.event.WindowAdapter {  Cui adaptee;  Cui_this_windowAdapter(Cui adaptee) {    this.adaptee = adaptee;  }  public void windowClosing(WindowEvent e) {    adaptee.this_windowClosing(e);  }}

⌨️ 快捷键说明

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