Package eu.essilab.lablib.checkboxtree
Class ColorBackgroundTest
java.lang.Object
javax.swing.tree.DefaultTreeModel
eu.essilab.lablib.checkboxtree.ColorBackgroundTest
- All Implemented Interfaces:
Serializable
,TreeModel
A test to see if the tree background works properly.
Changing tree.setOpaque(true); to false should toggle the background to green to red.
- Author:
- bigagli
- See Also:
-
Field Summary
Fields inherited from class javax.swing.tree.DefaultTreeModel
asksAllowsChildren, listenerList
-
Constructor Summary
-
Method Summary
Methods inherited from class javax.swing.tree.DefaultTreeModel
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged
-
Constructor Details
-
ColorBackgroundTest
- Parameters:
root
-
-
-
Method Details
-
main
-