jp.hishidama.swing.tree
クラス LazyTreeNode

java.lang.Object
  上位を拡張 javax.swing.tree.DefaultMutableTreeNode
      上位を拡張 jp.hishidama.swing.tree.LazyTreeNode
すべての実装されたインタフェース:
Serializable, Cloneable, MutableTreeNode, TreeNode

public abstract class LazyTreeNode
extends DefaultMutableTreeNode

遅延展開ツリーノード.

インスタンス生成時には子ノード一覧の作成を行わず、ツリーを展開する際に作成する。

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

フィールドの概要
 
クラス javax.swing.tree.DefaultMutableTreeNode から継承されたフィールド
EMPTY_ENUMERATION
 
コンストラクタの概要
LazyTreeNode(Object userObject)
           
 
メソッドの概要
 void addChildNodes()
          子ノードにデータを追加する.
 boolean isLeaf()
           
 void removeAllChildren()
           
 
クラス javax.swing.tree.DefaultMutableTreeNode から継承されたメソッド
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

LazyTreeNode

public LazyTreeNode(Object userObject)
メソッドの詳細

isLeaf

public boolean isLeaf()
定義:
インタフェース TreeNode 内の isLeaf
オーバーライド:
クラス DefaultMutableTreeNode 内の isLeaf

removeAllChildren

public void removeAllChildren()
オーバーライド:
クラス DefaultMutableTreeNode 内の removeAllChildren

addChildNodes

public void addChildNodes()
子ノードにデータを追加する.

一度追加されている場合は実際の追加処理は行わない。

関連項目:
addChildNodesImpl()