|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCustomWidget
artofillusion.procedural.ProcedureEditor
public class ProcedureEditor
This is the editor for editing procedures. It subclasses CustomWidget, but you should never add it to any Container. Instead, it will automatically create a BFrame and add itself to that.
Constructor Summary | |
---|---|
ProcedureEditor(Procedure proc,
ProcedureOwner owner,
Scene scene)
|
Method Summary | |
---|---|
void |
addModule(Module mod)
Add a module to the procedure. |
EditingWindow |
getEditingWindow()
Get the editing window which owns the scene the procedure is part of. |
ProcedureOwner |
getOwner()
Get the editor's owner. |
BFrame |
getParentFrame()
Get the editor's parent Frame. |
java.awt.Dimension |
getPreferredSize()
|
java.awt.Rectangle |
getRectangle(java.awt.Point p1,
java.awt.Point p2)
Utility function to create a Rectangle from two Points. |
Scene |
getScene()
Get the scene the procedure is part of. |
void |
saveState(boolean redo)
Record the current state of the procedure, so that it can be undone. |
void |
setEditingWindow(EditingWindow window)
Set the editing window which owns the scene the procedure is part of. |
void |
updatePreview()
Update the preview. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcedureEditor(Procedure proc, ProcedureOwner owner, Scene scene)
Method Detail |
---|
public BFrame getParentFrame()
public ProcedureOwner getOwner()
public Scene getScene()
public void setEditingWindow(EditingWindow window)
public EditingWindow getEditingWindow()
public java.awt.Dimension getPreferredSize()
public void addModule(Module mod)
public void saveState(boolean redo)
public void updatePreview()
public java.awt.Rectangle getRectangle(java.awt.Point p1, java.awt.Point p2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |