G4P GUI Builder  4.4
Visual GUI designer for the G4P v4.3.1 library
 All Classes Namespaces Functions Variables
g4p.tool.gui.treeview.CtrlSketchModel Class Reference
Inheritance diagram for g4p.tool.gui.treeview.CtrlSketchModel:

Public Member Functions

 CtrlSketchModel (TreeNode root)
 
 CtrlSketchModel ()
 
boolean isRoot (DefaultMutableTreeNode node)
 

Constructor & Destructor Documentation

g4p.tool.gui.treeview.CtrlSketchModel.CtrlSketchModel ( TreeNode  root)

Ctor creates a DataModel object with the given root

Parameters
rootthe node that is the top of a tree
g4p.tool.gui.treeview.CtrlSketchModel.CtrlSketchModel ( )

Ctor for an empty DataModel

Member Function Documentation

boolean g4p.tool.gui.treeview.CtrlSketchModel.isRoot ( DefaultMutableTreeNode  node)

Determines whether a given node is the root node of the data model

Parameters
node
Returns
true if node is the root else false

The documentation for this class was generated from the following file: