Modifier and Type | Method and Description |
---|---|
static void |
expandNodesOnTreeUpdate(JTree pTree)
When tree is heavily modified, expand all nodes.
|
static void |
expandTreeNodes(JTree pTree)
Expand all tree nodes.
|
static void |
setRenderer(JTree pTree,
TreeCellRenderer pRenderer)
Sets tree cell renderer without destroying tree selection and expansion state.
|
static int[] |
toPrimitiveArray(Collection<Integer> pCollection) |
public static void setRenderer(JTree pTree, TreeCellRenderer pRenderer)
public static void expandNodesOnTreeUpdate(JTree pTree)
public static void expandTreeNodes(JTree pTree)
public static int[] toPrimitiveArray(Collection<Integer> pCollection)
Copyright © 2023. All rights reserved.