jp.ossc.installer.gui.worker
クラス InstallWorker

java.lang.Object
  上位を拡張 org.jdesktop.swingworker.SwingWorker<java.lang.Object,java.lang.Object>
      上位を拡張 jp.ossc.installer.gui.worker.InstallWorker
すべての実装されたインタフェース:
java.lang.Runnable, java.util.concurrent.Future<java.lang.Object>

public class InstallWorker
extends org.jdesktop.swingworker.SwingWorker<java.lang.Object,java.lang.Object>

ダウンロード から インストールを別スレッドで処理するSpringWorkerクラスです。

導入されたバージョン:
1.0
バージョン:
1.0
作成者:
S.Fujii

入れ子のクラスの概要
 
クラス org.jdesktop.swingworker.SwingWorker から継承された入れ子のクラス/インタフェース
org.jdesktop.swingworker.SwingWorker.StateValue
 
コンストラクタの概要
InstallWorker(int mode, javax.swing.JFrame parent, javax.swing.JTextArea jTextArea2, javax.swing.JProgressBar jProgressBar1, javax.swing.JPanel jPanelCheckBox, javax.swing.JPanel jPanelButton, javax.swing.JButton jButtonRight)
          コンストラクター
 
メソッドの概要
 void cancel()
          別スレッドによる処理を外部より処理の中断に試みる
 java.lang.Object doInBackground()
          非同期に行われる処理
protected  void done()
          非同期処理後に実行
 
クラス org.jdesktop.swingworker.SwingWorker から継承されたメソッド
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

InstallWorker

public InstallWorker(int mode,
                     javax.swing.JFrame parent,
                     javax.swing.JTextArea jTextArea2,
                     javax.swing.JProgressBar jProgressBar1,
                     javax.swing.JPanel jPanelCheckBox,
                     javax.swing.JPanel jPanelButton,
                     javax.swing.JButton jButtonRight)
コンストラクター

パラメータ:
mode - モード
parent - parent
jTextArea2 - jTextArea2
jProgressBar1 - jProgressBar1
jPanelCheckBox - jPanelCheckBox
jPanelButton - jPanelButton
jButtonRight - jButtonRight
メソッドの詳細

doInBackground

public java.lang.Object doInBackground()
非同期に行われる処理

定義:
クラス org.jdesktop.swingworker.SwingWorker<java.lang.Object,java.lang.Object> 内の doInBackground
戻り値:
null
関連項目:
SwingWorker.doInBackground()

done

protected void done()
非同期処理後に実行

オーバーライド:
クラス org.jdesktop.swingworker.SwingWorker<java.lang.Object,java.lang.Object> 内の done
関連項目:
SwingWorker.done()

cancel

public void cancel()
別スレッドによる処理を外部より処理の中断に試みる