软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.event |
提供由摆动组件触发的事件。
|
Modifier and Type | Method and Description |
---|---|
void |
JTree.fireTreeWillCollapse(TreePath path)
通知所有的听众,关于这一事件的类型通知已注册的兴趣。
|
void |
JTree.fireTreeWillExpand(TreePath path)
通知所有的听众,关于这一事件的类型通知已注册的兴趣。
|
Modifier and Type | Method and Description |
---|---|
void |
TreeWillExpandListener.treeWillCollapse(TreeExpansionEvent event)
当树中的一个节点即将崩溃时调用。
|
void |
TreeWillExpandListener.treeWillExpand(TreeExpansionEvent event)
当树中的一个节点要被扩展时调用。
|
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.