com.intellij.ide.util.treeView
Class TreeState
java.lang.Object
com.intellij.ide.util.treeView.TreeState
- All Implemented Interfaces:
- JDOMExternalizable
public class TreeState
- extends java.lang.Object
- implements JDOMExternalizable
|
Method Summary |
void |
applyTo(javax.swing.JTree tree)
|
void |
applyTo(javax.swing.JTree tree,
javax.swing.tree.DefaultMutableTreeNode node)
|
static TreeState |
createOn(javax.swing.JTree tree)
|
static TreeState |
createOn(javax.swing.JTree tree,
javax.swing.tree.DefaultMutableTreeNode treeNode)
|
void |
readExternal(org.jdom.Element element)
|
void |
writeExternal(org.jdom.Element element)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeState
public TreeState()
readExternal
public void readExternal(org.jdom.Element element)
throws InvalidDataException
- Specified by:
readExternal in interface JDOMExternalizable
- Throws:
InvalidDataException
createOn
public static TreeState createOn(javax.swing.JTree tree,
javax.swing.tree.DefaultMutableTreeNode treeNode)
writeExternal
public void writeExternal(org.jdom.Element element)
throws WriteExternalException
- Specified by:
writeExternal in interface JDOMExternalizable
- Throws:
WriteExternalException
createOn
public static TreeState createOn(javax.swing.JTree tree)
applyTo
public void applyTo(javax.swing.JTree tree)
applyTo
public void applyTo(javax.swing.JTree tree,
javax.swing.tree.DefaultMutableTreeNode node)