|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbuoy.event.EventSource
buoy.widget.Widget
buoy.widget.CustomWidget
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 | |
|---|---|
EditingWindow |
getEditingWindow()
Get the editing window which owns the scene the procedure is part of. |
buoy.widget.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. |
boolean |
isFocusTraversable()
The canvas needs to be able to accept focus. |
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 buoy.widget.CustomWidget |
|---|
isOpaque, setMaximumSize, setMinimumSize, setOpaque, setPreferredSize |
| Methods inherited from class buoy.widget.Widget |
|---|
addEventLink, dispatchEvent, getBackground, getBounds, getComponent, getCursor, getFont, getMaximumSize, getMinimumSize, getName, getParent, hasFocus, isEnabled, isFocusable, isVisible, repaint, requestFocus, setBackground, setCursor, setEnabled, setFocusable, setFont, setName, setVisible |
| Methods inherited from class buoy.event.EventSource |
|---|
addEventLink, addEventLink, removeEventLink |
| 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 buoy.widget.BFrame getParentFrame()
public Scene getScene()
public void setEditingWindow(EditingWindow window)
public EditingWindow getEditingWindow()
public java.awt.Dimension getPreferredSize()
getPreferredSize in class buoy.widget.Widgetpublic void saveState(boolean redo)
public void updatePreview()
public boolean isFocusTraversable()
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 | |||||||||