jp.hishidama.swing.popup
クラス PopupMenuDelegateAction

java.lang.Object
  上位を拡張 javax.swing.AbstractAction
      上位を拡張 jp.hishidama.swing.popup.PopupMenuDelegateAction
すべての実装されたインタフェース:
ActionListener, Serializable, Cloneable, EventListener, Action

public class PopupMenuDelegateAction
extends AbstractAction

ポップアップメニュー用委譲アクション.

導入されたバージョン:
2009.04.11
作成者:
ひしだま
関連項目:
直列化された形式

フィールドの概要
 
インタフェース javax.swing.Action から継承されたフィールド
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
コンストラクタの概要
PopupMenuDelegateAction(Action action)
          コンストラクター.
 
メソッドの概要
 void actionPerformed(ActionEvent e)
           
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 Object getValue(String key)
           
 boolean isEnabled()
           
 void putValue(String key, Object value)
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void setEnabled(boolean b)
           
 
クラス javax.swing.AbstractAction から継承されたメソッド
getKeys, getPropertyChangeListeners
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

PopupMenuDelegateAction

public PopupMenuDelegateAction(Action action)
コンストラクター.

パラメータ:
action - 委譲先アクション
メソッドの詳細

actionPerformed

public void actionPerformed(ActionEvent e)

getValue

public Object getValue(String key)
定義:
インタフェース Action 内の getValue
オーバーライド:
クラス AbstractAction 内の getValue

putValue

public void putValue(String key,
                     Object value)
定義:
インタフェース Action 内の putValue
オーバーライド:
クラス AbstractAction 内の putValue

setEnabled

public void setEnabled(boolean b)
定義:
インタフェース Action 内の setEnabled
オーバーライド:
クラス AbstractAction 内の setEnabled

isEnabled

public boolean isEnabled()
定義:
インタフェース Action 内の isEnabled
オーバーライド:
クラス AbstractAction 内の isEnabled

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
定義:
インタフェース Action 内の addPropertyChangeListener
オーバーライド:
クラス AbstractAction 内の addPropertyChangeListener

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
定義:
インタフェース Action 内の removePropertyChangeListener
オーバーライド:
クラス AbstractAction 内の removePropertyChangeListener