org.boxed_economy.besp.container.classtree
クラス BoxRootPackage

java.lang.Object
  拡張org.boxed_economy.besp.container.classtree.BoxClassTreeElement
      拡張org.boxed_economy.besp.container.classtree.BoxPackage
          拡張org.boxed_economy.besp.container.classtree.BoxRootPackage
すべての実装インタフェース:
javax.swing.tree.TreeNode

public class BoxRootPackage
extends BoxPackage

クラスツリーにおけるルートパッケージを定義します。 このルートパッケージからサブツリーを生成するためのメソッドを持ちます。

バージョン:
$Id: BoxRootPackage.java,v 1.1 2004/03/21 12:07:49 macchan Exp $
作成者:
rx78g

コンストラクタの概要
BoxRootPackage(java.lang.String newname)
           
 
メソッドの概要
 BoxClassTreeElement createSubTree(java.lang.Class targetClass)
          特定のクラスのサブクラスを取得した、サブツリーを生成します。
 java.util.List getFilteredClasses(java.lang.Class targetClass)
          特定のクラスのサブクラスを継承した、クラスを抽出しての全リストを取得します
 
クラス org.boxed_economy.besp.container.classtree.BoxPackage から継承したメソッド
add, children, getAllowsChildren, getChildAt, getChildCount, getChildren, getIndex, isLeaf, remove, visit
 
クラス org.boxed_economy.besp.container.classtree.BoxClassTreeElement から継承したメソッド
getAbsoluteName, getName, getParent, setParent, toString
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

BoxRootPackage

public BoxRootPackage(java.lang.String newname)
関連項目:
BoxClassTreeElement.BoxClassTreeElement(String)
メソッドの詳細

createSubTree

public BoxClassTreeElement createSubTree(java.lang.Class targetClass)
特定のクラスのサブクラスを取得した、サブツリーを生成します。

パラメータ:
targetClass - 取り出すクラス
戻り値:
生成したサブツリーのルート要素

getFilteredClasses

public java.util.List getFilteredClasses(java.lang.Class targetClass)
特定のクラスのサブクラスを継承した、クラスを抽出しての全リストを取得します

パラメータ:
targetClass - 取り出すクラス
戻り値:
該当するクラスのリスト