org.boxed_economy.besp.presentation.guifw
クラス ShowGUIComponentAction

java.lang.Object
  拡張javax.swing.AbstractAction
      拡張org.boxed_economy.besp.presentation.bface.menu.MenuElement
          拡張org.boxed_economy.besp.presentation.bface.menu.Action
              拡張org.boxed_economy.besp.presentation.guifw.ShowGUIComponentAction
すべての実装インタフェース:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class ShowGUIComponentAction
extends Action

GUIコンポーネントを開くためのクラスです。 主にシングルトンのGUIコンポーネントで、消えているウインドウをopen()するために使います。 シングルトンのGUIコンポーネントを対象とするため、自動的に frame.setDefaultCloseOperation(JInternalFrame.HIDE_ON_CLOSE); 設定が行われます 新しいGUIコンポーネントを作成するには、CreateComponentActionを利用して下さい

バージョン:
$Id: ShowGUIComponentAction.java,v 1.1 2004/03/21 12:07:47 macchan Exp $
作成者:
rx78g
関連項目:
直列化された形式

フィールドの概要
 
クラス org.boxed_economy.besp.presentation.bface.menu.MenuElement から継承したフィールド
ICON
 
クラス javax.swing.AbstractAction から継承したフィールド
changeSupport, enabled
 
インタフェース javax.swing.Action から継承したフィールド
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
コンストラクタの概要
ShowGUIComponentAction(java.lang.String name, java.lang.Class guiComponentClass)
          GUIコンポーネントのクラスを引数にとるコンストラクタ 初回呼び出し時に一つだけ生成されます
ShowGUIComponentAction(java.lang.String name, GUIComponent guiComponent)
          GUIコンポーネントそのものを引数にとるコンストラクタ パラメータがそのままシングルトンオブジェクトになります
 
メソッドの概要
protected  void doAction()
          actionPerformedにしたがって呼ばれます。
protected  void initialize()
          アクションを初期化します
 
クラス org.boxed_economy.besp.presentation.bface.menu.Action から継承したメソッド
actionPerformed
 
クラス org.boxed_economy.besp.presentation.bface.menu.MenuElement から継承したメソッド
getAccelerator, getContainer, getIcon, getModelContainer, getName, getPresentationContainer, getSmallIcon, setAccelerator, setIcon, setIcon, setName, setPresentationContainer, setSmallIcon, setSmallIcon
 
クラス javax.swing.AbstractAction から継承したメソッド
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ShowGUIComponentAction

public ShowGUIComponentAction(java.lang.String name,
                              GUIComponent guiComponent)
GUIコンポーネントそのものを引数にとるコンストラクタ パラメータがそのままシングルトンオブジェクトになります

パラメータ:
name -
guiComponent -

ShowGUIComponentAction

public ShowGUIComponentAction(java.lang.String name,
                              java.lang.Class guiComponentClass)
GUIコンポーネントのクラスを引数にとるコンストラクタ 初回呼び出し時に一つだけ生成されます

パラメータ:
name -
メソッドの詳細

initialize

protected void initialize()
クラス Action の記述:
アクションを初期化します

定義:
クラス Action 内の initialize
関連項目:
org.boxed_economy.besp.presentation.guifw.menu.Action#initialize()

doAction

protected void doAction()
                 throws java.lang.Exception
クラス Action の記述:
actionPerformedにしたがって呼ばれます。 アクションを記述します。

定義:
クラス Action 内の doAction
例外:
java.lang.Exception
関連項目:
org.boxed_economy.besp.presentation.guifw.menu.Action#doAction()