|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The facade interface to the application for scripting purpose. This facade allows a limited and easy access from user scripts With this facade user do not have to traverse the object containment hierarchy. Also because the subsystems are not exposed, scripts are limited in what they can do.
| Method Summary | |
void |
addInvokeScriptMenu(java.lang.String name,
java.lang.String scriptFile)
Add a menu to the application that invokes specified script |
void |
addInvokeScriptSeparatorMenu()
Add a menu separator to the application |
void |
addShape(java.awt.Shape s)
Add a given shape to the slate. |
void |
removeAllShapes()
Remove all the shapes from the slate. |
void |
removeShape(java.awt.Shape s)
Remove a given shape from the slate. |
| Method Detail |
public void addShape(java.awt.Shape s)
s - shape to addpublic void removeShape(java.awt.Shape s)
s - shape to removepublic void removeAllShapes()
public void addInvokeScriptMenu(java.lang.String name,
java.lang.String scriptFile)
name - the name of menuscriptFile - the script file to be executed on invoking
the menupublic void addInvokeScriptSeparatorMenu()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||