软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.event |
提供由摆动组件触发的事件。
|
javax.swing.plaf |
提供一个接口和抽象类的使用许多摆动为可插拔的外观和感觉的能力。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
javax.swing.plaf.metal |
提供用户界面对象建立根据java的外观和感觉(一次代号为金属),它是默认的外观和感觉。
|
javax.swing.plaf.multi |
提供结合两个或多个外观和感觉的用户界面对象。
|
javax.swing.plaf.synth |
它是一个可更换皮肤的外观和感觉的绘画是授。
|
javax.swing.tree |
处理
javax.swing.JTree 提供类和接口。
|
Modifier and Type | Method and Description |
---|---|
TreePath |
JTree.getAnchorSelectionPath()
返回确定为锚的路径。
|
TreePath |
JTree.getClosestPathForLocation(int x, int y)
返回到最接近X的节点的路径。
|
TreePath |
JTree.getEditingPath()
返回当前正在编辑的元素的路径。
|
TreePath |
JTree.getLeadSelectionPath()
返回标识为“引导”的路径。
|
TreePath |
JTree.getNextMatch(String prefix, int startingRow, Position.Bias bias)
返回到下树树路径开始的元素有一个前缀。
|
TreePath |
JTree.DropLocation.getPath()
返回丢弃数据应放在树中的路径。
|
protected TreePath[] |
JTree.getPathBetweenRows(int index0, int index1)
返回指定行之间的路径(包含)。
|
TreePath |
JTree.getPathForLocation(int x, int y)
返回指定位置的节点的路径。
|
TreePath |
JTree.getPathForRow(int row)
返回指定行的路径。
|
TreePath |
JTree.getSelectionPath()
返回到第一个选择节点的路径。
|
TreePath[] |
JTree.getSelectionPaths()
返回所有选定值的路径。
|
Modifier and Type | Method and Description |
---|---|
protected Enumeration<TreePath> |
JTree.getDescendantToggledPaths(TreePath parent)
返回
TreePaths 已扩大,是后人的
Enumeration
parent 。
|
Enumeration<TreePath> |
JTree.getExpandedDescendants(TreePath parent)
返回,目前正在扩大的路径
parent 后代的
Enumeration 。
|
Modifier and Type | Method and Description |
---|---|
void |
JTree.addSelectionPath(TreePath path)
添加节点指定的
TreePath 确定当前的选择。
|
void |
JTree.addSelectionPaths(TreePath[] paths)
在路径数组中添加到当前选择的每个路径。
|
void |
JTree.EmptySelectionModel.addSelectionPaths(TreePath[] paths)
这是覆盖,什么也不做;
EmptySelectionModel 不允许选择。
|
void |
JTree.collapsePath(TreePath path)
确保节点通过指定的路径识别是倒塌,可见。
|
void |
JTree.expandPath(TreePath path)
确保节点通过指定的路径识别的扩展和可视化。
|
void |
JTree.fireTreeCollapsed(TreePath path)
通知所有的听众,关于这一事件的类型通知已注册的兴趣。
|
void |
JTree.fireTreeExpanded(TreePath path)
通知所有的听众,关于这一事件的类型通知已注册的兴趣。
|
void |
JTree.fireTreeWillCollapse(TreePath path)
通知所有的听众,关于这一事件的类型通知已注册的兴趣。
|
void |
JTree.fireTreeWillExpand(TreePath path)
通知所有的听众,关于这一事件的类型通知已注册的兴趣。
|
protected Enumeration<TreePath> |
JTree.getDescendantToggledPaths(TreePath parent)
返回
TreePaths 已扩大,是后人的
Enumeration
parent 。
|
Enumeration<TreePath> |
JTree.getExpandedDescendants(TreePath parent)
返回的路径,是目前
parent 后代
Enumeration 扩大。
|
Rectangle |
JTree.getPathBounds(TreePath path)
返回
Rectangle ,指定的节点将被卷入。
|
int |
JTree.getRowForPath(TreePath path)
返回显示指定路径标识的节点的行。
|
boolean |
JTree.hasBeenExpanded(TreePath path)
如果路径确定的节点曾经被扩展,则返回真。
|
boolean |
JTree.isCollapsed(TreePath path)
如果当前路径所标识的值被折叠,则返回真值,如果路径中的任何值当前没有显示的话,则返回错误的值。
|
boolean |
JTree.isExpanded(TreePath path)
如果当前路径确定的节点当前扩展,则返回真,
|
boolean |
JTree.isPathEditable(TreePath path)
返回
isEditable 。
|
boolean |
JTree.isPathSelected(TreePath path)
如果当前选定的项目确定的项目,则返回真。
|
boolean |
JTree.isVisible(TreePath path)
如果该值确定的路径是目前可返回true,这意味着它是父母的根或全部展开。
|
void |
JTree.makeVisible(TreePath path)
确保节点确定的路径是目前可。
|
protected boolean |
JTree.removeDescendantSelectedPaths(TreePath path, boolean includePath)
删除,是后人的
path 选择任何路径。
|
void |
JTree.removeSelectionPath(TreePath path)
从当前选择中移除指定路径所标识的节点。
|
void |
JTree.removeSelectionPaths(TreePath[] paths)
从当前选择中移除指定路径所标识的节点。
|
void |
JTree.EmptySelectionModel.removeSelectionPaths(TreePath[] paths)
这是覆盖,什么也不做;
EmptySelectionModel 不允许选择。
|
void |
JTree.scrollPathToVisible(TreePath path)
确保路径中的所有路径组件都被扩展(除了最后一个路径组件)和滚动条,以便显示路径所标识的节点。
|
void |
JTree.setAnchorSelectionPath(TreePath newPath)
设置确定为锚的路径。
|
protected void |
JTree.setExpandedState(TreePath path, boolean state)
设置此
JTree 膨胀状态。
|
void |
JTree.setLeadSelectionPath(TreePath newPath)
设置路径标识为“引导”。
|
void |
JTree.setSelectionPath(TreePath path)
选择指定路径确定的节点。
|
void |
JTree.setSelectionPaths(TreePath[] paths)
选择由指定的路径数组确定的节点。
|
void |
JTree.EmptySelectionModel.setSelectionPaths(TreePath[] paths)
这是覆盖,什么也不做;
EmptySelectionModel 不允许选择。
|
void |
JTree.startEditingAtPath(TreePath path)
选择指定路径确定的节点,并启动编辑。
|
Modifier and Type | Method and Description |
---|---|
protected void |
JTree.removeDescendantToggledPaths(Enumeration<TreePath> toRemove)
删除任何后代在
toRemove 已经扩大了
TreePaths 。
|
Constructor and Description |
---|
AccessibleJTreeNode(JTree t, TreePath p, Accessible ap)
构建了一个accessiblejtreenode
|
Modifier and Type | Field and Description |
---|---|
protected TreePath |
TreeSelectionEvent.newLeadSelectionPath
后leadselectionpath路径改变,可能是空的。
|
protected TreePath |
TreeSelectionEvent.oldLeadSelectionPath
在leadselectionpath路径改变,可能是空的。
|
protected TreePath |
TreeModelEvent.path
已更改的节点的父节点的路径。
|
protected TreePath |
TreeExpansionEvent.path
此事件表示的值的路径。
|
protected TreePath[] |
TreeSelectionEvent.paths
此事件表示的路径。
|
Modifier and Type | Method and Description |
---|---|
TreePath |
TreeSelectionEvent.getNewLeadSelectionPath()
返回当前的引导路径。
|
TreePath |
TreeSelectionEvent.getOldLeadSelectionPath()
返回先前引导路径的路径。
|
TreePath |
TreeSelectionEvent.getPath()
返回第一个路径元素。
|
TreePath |
TreeExpansionEvent.getPath()
返回已扩展/折叠的值的路径。
|
TreePath[] |
TreeSelectionEvent.getPaths()
返回已添加或从选择中删除的路径。
|
TreePath |
TreeModelEvent.getTreePath()
除了treestructurechanged所有事件,返回改变节点的父。
|
Modifier and Type | Method and Description |
---|---|
boolean |
TreeSelectionEvent.isAddedPath(TreePath path)
返回指定路径是否被添加到选择中。
|
Constructor and Description |
---|
TreeExpansionEvent(Object source, TreePath path)
构建了一个treeexpansionevent对象。
|
TreeModelEvent(Object source, TreePath path)
用于创建一个事件时,节点的结构有一定的变化,确定路径的修改子树的根为树路径对象。
|
TreeModelEvent(Object source, TreePath path, int[] childIndices, Object[] children)
用于创建一个事件时,节点被改变,插入或删除,确定路径的修改的项目作为对象的父树路径。
|
TreeSelectionEvent(Object source, TreePath[] paths, boolean[] areNew, TreePath oldLeadSelectionPath, TreePath newLeadSelectionPath)
代表一个treeselectionmodel选择改变。
|
TreeSelectionEvent(Object source, TreePath[] paths, boolean[] areNew, TreePath oldLeadSelectionPath, TreePath newLeadSelectionPath)
代表一个treeselectionmodel选择改变。
|
TreeSelectionEvent(Object source, TreePath path, boolean isNew, TreePath oldLeadSelectionPath, TreePath newLeadSelectionPath)
代表一个treeselectionmodel选择改变。
|
Modifier and Type | Method and Description |
---|---|
abstract TreePath |
TreeUI.getClosestPathForLocation(JTree tree, int x, int y)
返回到最接近X的节点的路径。
|
abstract TreePath |
TreeUI.getEditingPath(JTree tree)
返回正在编辑的元素的路径。
|
abstract TreePath |
TreeUI.getPathForRow(JTree tree, int row)
返回行中的路径。
|
Modifier and Type | Method and Description |
---|---|
abstract Rectangle |
TreeUI.getPathBounds(JTree tree, TreePath path)
返回包含路径的最后一个项目将被绘制到的标签部分的矩形框。
|
abstract int |
TreeUI.getRowForPath(JTree tree, TreePath path)
返回路径中确定的最后一个项目的行的可见光行。
|
abstract void |
TreeUI.startEditingAtPath(JTree tree, TreePath path)
选择路径中的最后一个项目,并试图编辑它。
|
Modifier and Type | Field and Description |
---|---|
protected TreePath |
BasicTreeUI.editingPath
正在编辑的路径。
|
Modifier and Type | Field and Description |
---|---|
protected Hashtable<TreePath,Boolean> |
BasicTreeUI.drawingCache
用于最大限度地减少垂直线的绘制。
|
Modifier and Type | Method and Description |
---|---|
TreePath |
BasicTreeUI.getClosestPathForLocation(JTree tree, int x, int y)
返回到最接近X的节点的路径。
|
TreePath |
BasicTreeUI.getEditingPath(JTree tree)
返回正在编辑的元素的路径。
|
protected TreePath |
BasicTreeUI.getLastChildPath(TreePath parent)
回到
parent 最后一个子路径。
|
TreePath |
BasicTreeUI.getPathForRow(JTree tree, int row)
返回行中的路径。
|
Modifier and Type | Method and Description |
---|---|
protected void |
BasicTreeUI.checkForClickInExpandControl(TreePath path, int mouseX, int mouseY)
如果
mouseX 和
mouseY 在展开/折叠区域的
row ,这将触发的行。
|
protected TreePath |
BasicTreeUI.getLastChildPath(TreePath parent)
回到
parent 最后一个子路径。
|
Rectangle |
BasicTreeUI.getPathBounds(JTree tree, TreePath path)
返回包含路径的最后一个项目将被绘制到的标签部分的矩形框。
|
int |
BasicTreeUI.getRowForPath(JTree tree, TreePath path)
返回路径中确定的最后一个项目的行的可见光行。
|
protected void |
BasicTreeUI.handleExpandControlClick(TreePath path, int mouseX, int mouseY)
消息,当用户点击特定的行,这个调用的toggleexpandstate。
|
protected boolean |
BasicTreeUI.isLocationInExpandControl(TreePath path, int mouseX, int mouseY)
如果
mouseX 和
mouseY 落在排的面积是用来展开/折叠的节点和节点
row 并不代表叶返回true。
|
protected void |
BasicTreeUI.paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
油漆扩展(切换)的一部分的一行。
|
protected void |
BasicTreeUI.paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
油漆腿的水平部分。
|
protected void |
BasicTreeUI.paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
油漆一行的输出部分。
|
protected void |
BasicTreeUI.paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path)
油漆腿的垂直部分。
|
protected void |
BasicTreeUI.pathWasCollapsed(TreePath path)
消息从visibletreenode之后已经倒塌。
|
protected void |
BasicTreeUI.pathWasExpanded(TreePath path)
消息从visibletreenode后已扩大。
|
protected void |
BasicTreeUI.selectPathForEvent(TreePath path, MouseEvent event)
信息更新基于对特定事件的连续选择。
|
protected boolean |
BasicTreeUI.shouldPaintExpandControl(TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
如果为指定行绘制展开(切换)控件,则返回真。
|
protected boolean |
BasicTreeUI.startEditing(TreePath path, MouseEvent event)
将开始编辑节点如果有celleditor和shouldselectcell返回true。
|
void |
BasicTreeUI.startEditingAtPath(JTree tree, TreePath path)
选择路径中的最后一个项目,并试图编辑它。
|
protected void |
BasicTreeUI.toggleExpandState(TreePath path)
如果它没有展开,或折叠行,如果它被扩展,则扩展路径。
|
protected void |
BasicTreeUI.updateExpandedDescendants(TreePath path)
更新所有的后代的
path 从树上得到扩展的后裔和转发到树状态的展开状态。
|
Modifier and Type | Method and Description |
---|---|
protected void |
MetalTreeUI.paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) |
protected void |
MetalTreeUI.paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) |
Modifier and Type | Method and Description |
---|---|
TreePath |
MultiTreeUI.getClosestPathForLocation(JTree a, int b, int c)
调用该对象的每个UI处理
getClosestPathForLocation 方法。
|
TreePath |
MultiTreeUI.getEditingPath(JTree a)
调用该对象的每个UI处理
getEditingPath 方法。
|
TreePath |
MultiTreeUI.getPathForRow(JTree a, int b)
调用该对象的每个UI处理
getPathForRow 方法。
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
MultiTreeUI.getPathBounds(JTree a, TreePath b)
调用该对象的每个UI处理
getPathBounds 方法。
|
int |
MultiTreeUI.getRowForPath(JTree a, TreePath b)
调用该对象的每个UI处理
getRowForPath 方法。
|
void |
MultiTreeUI.startEditingAtPath(JTree a, TreePath b)
调用该对象的每个UI处理
startEditingAtPath 方法。
|
Modifier and Type | Method and Description |
---|---|
protected void |
SynthTreeUI.paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
油漆扩展(切换)的一部分的一行。
|
protected void |
SynthTreeUI.paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
油漆腿的水平部分。
|
protected void |
SynthTreeUI.paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path)
油漆腿的垂直部分。
|
Modifier and Type | Field and Description |
---|---|
protected TreePath |
DefaultTreeCellEditor.lastPath
最后路径选择。
|
protected TreePath |
DefaultTreeSelectionModel.leadPath
添加的最后路径。
|
protected TreePath[] |
DefaultTreeSelectionModel.selection
当前选择的路径。
|
Modifier and Type | Method and Description |
---|---|
TreePath |
TreeSelectionModel.getLeadSelectionPath()
返回添加的最后一条路径。
|
TreePath |
DefaultTreeSelectionModel.getLeadSelectionPath()
返回添加的最后一条路径。
|
TreePath |
TreePath.getParentPath()
返回父级的
TreePath 。
|
TreePath |
FixedHeightLayoutCache.getPathClosestTo(int x, int y)
返回到最接近X的节点的路径。
|
abstract TreePath |
AbstractLayoutCache.getPathClosestTo(int x, int y)
返回到最接近X的节点的路径。
|
TreePath |
VariableHeightLayoutCache.getPathClosestTo(int x, int y)
返回到最接近X的节点的路径。
|
TreePath |
FixedHeightLayoutCache.getPathForRow(int row)
返回行中的路径。
|
abstract TreePath |
AbstractLayoutCache.getPathForRow(int row)
返回行中的路径。
|
TreePath |
VariableHeightLayoutCache.getPathForRow(int row)
返回
row 路径。
|
TreePath |
TreeSelectionModel.getSelectionPath()
返回选择中的第一个路径。
|
TreePath |
DefaultTreeSelectionModel.getSelectionPath()
返回选择中的第一个路径。
|
TreePath[] |
TreeSelectionModel.getSelectionPaths()
返回选择中的路径。
|
TreePath[] |
DefaultTreeSelectionModel.getSelectionPaths()
返回选择。
|
TreePath |
TreePath.pathByAddingChild(Object child)
返回一个新的路径包含所有这些路径加
child 元素。
|
Modifier and Type | Method and Description |
---|---|
Enumeration<TreePath> |
FixedHeightLayoutCache.getVisiblePathsFrom(TreePath path)
返回一个在可见的路径出发,在通过位置增量。
|
abstract Enumeration<TreePath> |
AbstractLayoutCache.getVisiblePathsFrom(TreePath path)
返回一个
Enumerator 在可见的路径出发,在通过位置增量。
|
Enumeration<TreePath> |
VariableHeightLayoutCache.getVisiblePathsFrom(TreePath path)
返回一个
Enumerator 在可见的路径出发,在通过位置增量。
|
Modifier and Type | Method and Description |
---|---|
void |
TreeSelectionModel.addSelectionPath(TreePath path)
添加当前选择的路径。
|
void |
DefaultTreeSelectionModel.addSelectionPath(TreePath path)
添加当前选择的路径。
|
void |
TreeSelectionModel.addSelectionPaths(TreePath[] paths)
添加当前选择的路径。
|
void |
DefaultTreeSelectionModel.addSelectionPaths(TreePath[] paths)
添加当前选择的路径。
|
protected boolean |
DefaultTreeSelectionModel.arePathsContiguous(TreePath[] paths)
如果路径是连续的返回true,或者这个对象没有RowMapper。
|
protected boolean |
DefaultTreeSelectionModel.canPathsBeAdded(TreePath[] paths)
用来测试是否一个特定
TreePath s可以添加。
|
protected boolean |
DefaultTreeSelectionModel.canPathsBeRemoved(TreePath[] paths)
如果路径可以被删除而不破坏模型的连续性,则返回真。
|
Rectangle |
FixedHeightLayoutCache.getBounds(TreePath path, Rectangle placeIn)
返回一个矩形,给出绘制路径所需的边界。
|
abstract Rectangle |
AbstractLayoutCache.getBounds(TreePath path, Rectangle placeIn)
返回一个矩形,给出绘制路径所需的边界。
|
Rectangle |
VariableHeightLayoutCache.getBounds(TreePath path, Rectangle placeIn)
返回
Rectangle 附上标签部分,项目经
path 将绘制。
|
boolean |
FixedHeightLayoutCache.getExpandedState(TreePath path)
如果路径被扩展,并可见返回,则返回真。
|
abstract boolean |
AbstractLayoutCache.getExpandedState(TreePath path)
如果路径被扩展,并可见返回,则返回真。
|
boolean |
VariableHeightLayoutCache.getExpandedState(TreePath path)
如果路径被扩展,并可见返回,则返回真。
|
int |
FixedHeightLayoutCache.getRowForPath(TreePath path)
返回路径中确定的最后一个项目的行的可见光行。
|
abstract int |
AbstractLayoutCache.getRowForPath(TreePath path)
返回路径中确定的最后一个项目的行的可见光行。
|
int |
VariableHeightLayoutCache.getRowForPath(TreePath path)
返回路径中标识的最后一个项目的行可见。
|
int[] |
RowMapper.getRowsForPaths(TreePath[] path)
返回在
path 的树路径实例都被显示在一行。
|
int[] |
AbstractLayoutCache.getRowsForPaths(TreePath[] paths)
返回在
path 的
TreePath 实例都被显示在一行。
|
int |
FixedHeightLayoutCache.getVisibleChildCount(TreePath path)
返回行可见的子行数。
|
abstract int |
AbstractLayoutCache.getVisibleChildCount(TreePath path)
返回行可见的子行数。
|
int |
VariableHeightLayoutCache.getVisibleChildCount(TreePath path)
返回
path 可见儿童数量。
|
Enumeration<TreePath> |
FixedHeightLayoutCache.getVisiblePathsFrom(TreePath path)
返回一个在可见的路径出发,在通过位置增量。
|
abstract Enumeration<TreePath> |
AbstractLayoutCache.getVisiblePathsFrom(TreePath path)
返回一个
Enumerator 在可见的路径出发,在通过位置增量。
|
Enumeration<TreePath> |
VariableHeightLayoutCache.getVisiblePathsFrom(TreePath path)
返回一个
Enumerator 在可见的路径出发,在通过位置增量。
|
void |
FixedHeightLayoutCache.invalidatePathBounds(TreePath path)
不,fixedheightlayoutcache不缓存的宽度,这都是可以改变的。
|
abstract void |
AbstractLayoutCache.invalidatePathBounds(TreePath path)
指导
LayoutCache ,
path 界是无效的,并需要更新。
|
void |
VariableHeightLayoutCache.invalidatePathBounds(TreePath path)
指导
LayoutCache ,
path 界是无效的,并需要更新。
|
boolean |
TreePath.isDescendant(TreePath aTreePath)
如果
aTreePath 是这一
TreePath 后裔返回true。
|
boolean |
FixedHeightLayoutCache.isExpanded(TreePath path)
如果当前确定的行的值是当前扩展的,则返回真值。
|
abstract boolean |
AbstractLayoutCache.isExpanded(TreePath path)
如果当前确定的行的值是当前扩展的,则返回真值。
|
boolean |
VariableHeightLayoutCache.isExpanded(TreePath path)
如果该值确定的
path 目前正在扩大,返回true。
|
boolean |
TreeSelectionModel.isPathSelected(TreePath path)
如果路径,
path 返回true,在当前的选择。
|
boolean |
DefaultTreeSelectionModel.isPathSelected(TreePath path)
如果路径,
path 返回true,在当前的选择。
|
protected void |
DefaultTreeSelectionModel.notifyPathChange(Vector<?> changedPaths, TreePath oldLeadSelection)
过时的。
作为JDK版本1.7
|
void |
TreeSelectionModel.removeSelectionPath(TreePath path)
从选择中删除路径。
|
void |
DefaultTreeSelectionModel.removeSelectionPath(TreePath path)
从选择中删除路径。
|
void |
TreeSelectionModel.removeSelectionPaths(TreePath[] paths)
从选择中删除路径。
|
void |
DefaultTreeSelectionModel.removeSelectionPaths(TreePath[] paths)
从选择中删除路径。
|
void |
FixedHeightLayoutCache.setExpandedState(TreePath path, boolean isExpanded)
标记的路径
path 膨胀状态
isExpanded 。
|
abstract void |
AbstractLayoutCache.setExpandedState(TreePath path, boolean isExpanded)
标记的路径
path 膨胀状态
isExpanded 。
|
void |
VariableHeightLayoutCache.setExpandedState(TreePath path, boolean isExpanded)
标记的路径
path 膨胀状态
isExpanded 。
|
void |
TreeSelectionModel.setSelectionPath(TreePath path)
设置路径的选择。
|
void |
DefaultTreeSelectionModel.setSelectionPath(TreePath path)
设置路径的选择。
|
void |
TreeSelectionModel.setSelectionPaths(TreePath[] paths)
设置路径的选择。
|
void |
DefaultTreeSelectionModel.setSelectionPaths(TreePath[] pPaths)
设置选择。
|
void |
DefaultTreeModel.valueForPathChanged(TreePath path, Object newValue)
这集的用户对象的确定路径和岗位树节点的改变。
|
void |
TreeModel.valueForPathChanged(TreePath path, Object newValue)
消息,当用户改变了价值的项目被
path 到
newValue 。
|
Constructor and Description |
---|
TreePath(TreePath parent, Object lastPathComponent)
创建一个具有指定父元素
TreePath 。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.