|
| CtrlSketchView () |
|
void | setViewLinks (CtrlTabView tabs, CtrlPropView props) |
|
void | setSelectedComponent (DBase comp) |
|
DBase | getWindowFor (DBase comp) |
|
DBase | getGuiContainerFor (DBase comp) |
|
DBase | getOptionGroupFor (DBase comp) |
|
Point | getPosition (DBase comp, Point loc) |
|
Dimension | getSketchSizeFromDesigner () |
|
String | getSketchRendererFromDesigner () |
|
void | addComponent (DBase comp) |
|
void | removeComponent () |
|
DefaultMutableTreeNode | getRoot () |
|
void | generateDeclarations (ArrayList< String > lines) |
|
void | generateEvtMethods (ArrayList< String > lines) |
|
void | generateCreator (ArrayList< String > lines) |
|
void | saveModel (File file) |
|
DefaultTreeModel | loadModel (File file) |
|
g4p.tool.gui.treeview.CtrlSketchView.CtrlSketchView |
( |
| ) |
|
Ctor creates an empty tree;
void g4p.tool.gui.treeview.CtrlSketchView.addComponent |
( |
DBase |
comp | ) |
|
Certain rules must apply 1) All window components are added to the application node (root) 2) In general all controls are added to a window 3) Option buttons must be added to an option group component
void g4p.tool.gui.treeview.CtrlSketchView.initialise |
( |
| ) |
|
|
private |
Set the characteristics for the tree
DefaultTreeModel g4p.tool.gui.treeview.CtrlSketchView.loadModel |
( |
File |
file | ) |
|
Load the data model from file and if successful attach it to this tree and if a node was selected when saved ractivate it
- Parameters
-
void g4p.tool.gui.treeview.CtrlSketchView.removeComponent |
( |
| ) |
|
Removes the currently selected component from the GUI.
void g4p.tool.gui.treeview.CtrlSketchView.saveModel |
( |
File |
file | ) |
|
Save the data model to disk
- Parameters
-
void g4p.tool.gui.treeview.CtrlSketchView.undoComponent |
( |
DBase |
comp | ) |
|
|
private |
Release component id, name and event name
- Parameters
-
The documentation for this class was generated from the following file:
- /Users/peter/git/g4ptool-repos/G4P_Tool/src/g4p/tool/gui/treeview/CtrlSketchView.java