Java プラットフォーム 1.2

javax.swing.plaf.basic
クラス BasicTreeUI.TreeTraverseAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--javax.swing.plaf.basic.BasicTreeUI.TreeTraverseAction

public class BasicTreeUI.TreeTraverseAction
extends AbstractAction

左矢印キーと右矢印キーに使われるアクションです。ノードの展開状態が切り替えられ、これにより、選択が増える場合もあります。

関連項目:
直列化された形式

フィールドの概要
protected  int direction
          移動の方向を示します。
 
クラス javax.swing.AbstractAction から継承したフィールド
changeSupport, enabled
 
コンストラクタの概要
BasicTreeUI.TreeTraverseAction(int direction, String name)
           
 
メソッドの概要
 void actionPerformed(ActionEvent e)
           
 boolean isEnabled()
           
 
クラス javax.swing.AbstractAction から継承したメソッド
addPropertyChangeListener, clone, firePropertyChange, getValue, putValue, removePropertyChangeListener, setEnabled
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

direction

protected int direction
移動の方向を示します。1 は展開、-1 は折りたたみを意味します。
コンストラクタの詳細

BasicTreeUI.TreeTraverseAction

public BasicTreeUI.TreeTraverseAction(int direction,
                                      String name)
メソッドの詳細

actionPerformed

public void actionPerformed(ActionEvent e)

isEnabled

public boolean isEnabled()
オーバーライド:
クラス AbstractAction 内の isEnabled

Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.