jp.sonohara.framework.katana.swt
クラス AbstractSwtMain

java.lang.Object
  拡張jp.sonohara.framework.katana.AbstractMain
      拡張jp.sonohara.framework.katana.action.AbstractActionMain
          拡張jp.sonohara.framework.katana.swt.AbstractSwtMain
すべての実装インタフェース:
jp.sonohara.common.action.IActionFrame, IActionMain, IMain, ISwtActionMain, ISwtMain

public abstract class AbstractSwtMain
extends AbstractActionMain
implements ISwtActionMain

 SWTアクション基本メインクラス。

 $Log: AbstractSwtMain.java,v $
 Revision 1.2  2004/05/31 05:24:14  sonohara
 Ver0.0.3_0 2004/06/05
 ・SWT用Javadoc記載

 

導入されたバージョン:
$Revision: 1.2 $
バージョン:
$Revision: 1.2 $ $Date: 2004/05/31 05:24:14 $

フィールドの概要
static java.lang.Class ACTION_CHECK
          チェックアクション定義値。
static java.lang.String PREFERENCES_NAME_SWT_MAINFRAME
           
static java.lang.String PREFERENCES_NAME_SWT_MAINFRAME_HEIGHT
           
static java.lang.String PREFERENCES_NAME_SWT_MAINFRAME_WIDTH
           
static java.lang.String PREFERENCES_NAME_SWT_MAINFRAME_X
           
static java.lang.String PREFERENCES_NAME_SWT_MAINFRAME_Y
           
 
クラス jp.sonohara.framework.katana.AbstractMain から継承したフィールド
iResult, oExitLock, PARAM_HELP, PARAM_UNINSTALL, PARAM_VERSION, tShutdownHook
 
インタフェース jp.sonohara.framework.katana.swt.ISwtMain から継承したフィールド
PREFERENCES_NODE_SWT
 
インタフェース jp.sonohara.framework.katana.IMain から継承したフィールド
EXECUTE_RESILT_ERROR_PARAM, EXECUTE_RESILT_OK
 
コンストラクタの概要
AbstractSwtMain(java.lang.String[] saArgs)
          コンストラクタ。
 
メソッドの概要
protected  void destoryUI()
          UI解放。
 int execute()
          実行。
 ISwtFrame getMainFrame()
          メインフレーム取得。
 java.util.prefs.Preferences getSwtPreferences()
          SWTプリファレンス取得。
protected  void initUI()
          UI初期化。
protected  ISwtFrame newMainFrame()
          メインフレーム生成。
 void saveUI()
          UI情報保存。
protected  void setMainFrame(ISwtFrame isfValue)
          メインフレーム設定。
 void showHelpText(java.lang.String sText)
          ヒントの表示。
 
クラス jp.sonohara.framework.katana.action.AbstractActionMain から継承したメソッド
getAction, getActionMap, initAction, initAction, initActions, initEnvironment
 
クラス jp.sonohara.framework.katana.AbstractMain から継承したメソッド
destory, destoryEnvironment, destoryPreferences, destoryResource, exception, exit, getArgs, getBuildVersion, getCopyright, getDescription, getLogElement, getLogger, getPreferences, getResourceBundle, getTitle, getVendor, getVersion, getVersionDetail, init, initLicense, initLogger, initParam, initParamOther, initParams, initPreferences, initResource, isCanUseResourceBundle, isExit, newXMLResourceBundle, perform, printHelp, printParams, printVersion, toString, uninstall
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース jp.sonohara.framework.katana.IMain から継承したメソッド
destory, exception, exit, getArgs, getBuildVersion, getCopyright, getDescription, getLogger, getPreferences, getResourceBundle, getTitle, getVendor, getVersion, getVersionDetail, init, isCanUseResourceBundle, isExit, perform, printHelp, printParams, printVersion, uninstall
 
インタフェース jp.sonohara.framework.katana.action.IActionMain から継承したメソッド
getAction, getActionMap
 
インタフェース jp.sonohara.common.action.IActionFrame から継承したメソッド
exception
 

フィールドの詳細

ACTION_CHECK

public static final java.lang.Class ACTION_CHECK
チェックアクション定義値。


PREFERENCES_NAME_SWT_MAINFRAME

public static final java.lang.String PREFERENCES_NAME_SWT_MAINFRAME
関連項目:
定数フィールド値

PREFERENCES_NAME_SWT_MAINFRAME_X

public static final java.lang.String PREFERENCES_NAME_SWT_MAINFRAME_X
関連項目:
定数フィールド値

PREFERENCES_NAME_SWT_MAINFRAME_Y

public static final java.lang.String PREFERENCES_NAME_SWT_MAINFRAME_Y
関連項目:
定数フィールド値

PREFERENCES_NAME_SWT_MAINFRAME_WIDTH

public static final java.lang.String PREFERENCES_NAME_SWT_MAINFRAME_WIDTH
関連項目:
定数フィールド値

PREFERENCES_NAME_SWT_MAINFRAME_HEIGHT

public static final java.lang.String PREFERENCES_NAME_SWT_MAINFRAME_HEIGHT
関連項目:
定数フィールド値
コンストラクタの詳細

AbstractSwtMain

public AbstractSwtMain(java.lang.String[] saArgs)
コンストラクタ。

パラメータ:
saArgs - プログラム引数。
メソッドの詳細

initUI

protected void initUI()
               throws MainException
UI初期化。

オーバーライド:
クラス AbstractMain 内の initUI
例外:
MainException - 例外発生時。

newMainFrame

protected ISwtFrame newMainFrame()
メインフレーム生成。

戻り値:
生成した値。

setMainFrame

protected void setMainFrame(ISwtFrame isfValue)
メインフレーム設定。

パラメータ:
isfValue - 設定する値。

getMainFrame

public ISwtFrame getMainFrame()
メインフレーム取得。

定義:
インタフェース ISwtMain 内の getMainFrame
戻り値:
取得した値。

destoryUI

protected void destoryUI()
                  throws MainException
UI解放。

オーバーライド:
クラス AbstractMain 内の destoryUI
例外:
MainException - 例外発生時。

saveUI

public void saveUI()
            throws MainException
UI情報保存。

例外:
MainException - 例外発生時。

getSwtPreferences

public java.util.prefs.Preferences getSwtPreferences()
SWTプリファレンス取得。

定義:
インタフェース ISwtMain 内の getSwtPreferences
戻り値:
取得した値。

showHelpText

public void showHelpText(java.lang.String sText)
ヒントの表示。

定義:
インタフェース jp.sonohara.common.action.IActionFrame 内の showHelpText
オーバーライド:
クラス AbstractMain 内の showHelpText
パラメータ:
sText - 表示する文字列。

execute

public int execute()
            throws MainException
実行。

定義:
インタフェース IMain 内の execute
オーバーライド:
クラス AbstractMain 内の execute
戻り値:
終了コード。
例外:
MainException - 例外発生時。