Uses of Interface
javax.swing.tree.TreeModel
-
Packages that use TreeModel 软件包 描述 javax.swing 提供一套“轻量级”(全Java语言)组件,尽可能地在所有平台上工作。javax.swing.plaf.basic 提供根据“基本”外观构建的用户界面对象。javax.swing.tree 提供处理javax.swing.JTree
类和接口。 -
-
Uses of TreeModel in javax.swing
Fields in javax.swing declared as TreeModel Modifier and Type Field 描述 protected TreeModel
JTree. treeModel
定义由该对象显示的树的模型。Methods in javax.swing that return TreeModel Modifier and Type 方法 描述 protected static TreeModel
JTree. createTreeModel(Object value)
返回包装指定对象的TreeModel
。protected static TreeModel
JTree. getDefaultTreeModel()
创建并返回样品TreeModel
。TreeModel
JTree. getModel()
返回提供数据的TreeModel
。Methods in javax.swing with parameters of type TreeModel Modifier and Type 方法 描述 void
JTree. setModel(TreeModel newModel)
设置将提供数据的TreeModel
。Constructors in javax.swing with parameters of type TreeModel Constructor 描述 JTree(TreeModel newModel)
返回显示根节点的JTree
的实例 - 使用指定的数据模型创建树。 -
Uses of TreeModel in javax.swing.plaf.basic
Fields in javax.swing.plaf.basic declared as TreeModel Modifier and Type Field 描述 protected TreeModel
BasicTreeUI. treeModel
用于确定要显示的内容。Methods in javax.swing.plaf.basic that return TreeModel Modifier and Type 方法 描述 protected TreeModel
BasicTreeUI. getModel()
返回树模型。Methods in javax.swing.plaf.basic with parameters of type TreeModel Modifier and Type 方法 描述 protected void
BasicTreeUI. setModel(TreeModel model)
设置TreeModel
。 -
Uses of TreeModel in javax.swing.tree
Classes in javax.swing.tree that implement TreeModel Modifier and Type Class 描述 class
DefaultTreeModel
一个使用TreeNodes的简单树数据模型。Fields in javax.swing.tree declared as TreeModel Modifier and Type Field 描述 protected TreeModel
AbstractLayoutCache. treeModel
模型提供信息。Methods in javax.swing.tree that return TreeModel Modifier and Type 方法 描述 TreeModel
AbstractLayoutCache. getModel()
返回提供数据的TreeModel
。Methods in javax.swing.tree with parameters of type TreeModel Modifier and Type 方法 描述 void
AbstractLayoutCache. setModel(TreeModel newModel)
设置将提供数据的TreeModel
。void
FixedHeightLayoutCache. setModel(TreeModel newModel)
设置将提供数据的TreeModel。void
VariableHeightLayoutCache. setModel(TreeModel newModel)
设置将提供数据的TreeModel
。
-