2024-03-30

This commit is contained in:
2024-03-30 19:57:14 +09:00
parent d4055752a9
commit 57cc9ca7ff
90 changed files with 4829 additions and 105 deletions

54
doc/22_tree.md Normal file
View File

@@ -0,0 +1,54 @@
# Tree
## JTree
* `setCellRenderer(TreeCellRenderer)`
* `setCellEditor(TreeCellEditor)`
* `setEditable(boolean)`
* `setRootVisible(boolean)`
* `setShowsRootHandles(boolean)`
* `getDragEnabled()` / `setDragEnabled(boolean)`
* `addTreeSelectionListener()`
* `getSelectionModel()` / `setSelectionModel()` : TreeSelectionModel.CONTIGUOUS_TREE_SELECTION | DISCONTIGUOUS_TREE_SELECTION | SINGLE_TREE_SELECTION
* `getLastSelectedPathComponent()`
* `getSelectionPath()` / `setSelectionPath(TreePath)` / `getSelectionPaths()` / `setSelectionPaths(TreePath[])`
* `addTreeExpansionListener()`
* `addTreeWillExpandListener()`
* `expandPath(TreePath)`
* `collapsePath(TreePath)`
* `scrollPathToVisible(TreePath)`
* `makeVisible(TreePath)`
* `getScrollsOnExpand()` / `setScrollsOnExpand(boolean)`
* `getToggleClickCount()` / `setToggleClickCount(int)` : 기본값은 더블 클릭.
* `TreePath getNextMatch(String,int,Position.Bias)`
## TreePath
## TreeNode
### MutableTreeNode
### DefaultMutableTreeNode
## TreeModel
### DefaultTreeModel
## TreeCellRenderer
### DefaultTreeCellRenderer
## TreeCellEditor
### DefaultTreeCellEditor
## TreeSelectionListener
### TreeSelectionEvent
## TreeModelListener
### TreeModelEvent
## TreeExpansionListener
### TreeExpansionEvent
## TreeWillExpandListener