|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectBFrame
artofillusion.ObjectEditorWindow
public abstract class ObjectEditorWindow
The ObjectEditorWindow class represents a window for editing an object. This is an abstract class, with subclasses for various types of objects.
Constructor Summary | |
---|---|
ObjectEditorWindow(EditingWindow parent,
java.lang.String title,
ObjectInfo obj)
|
Method Summary | |
---|---|
boolean |
confirmClose()
Confirm whether this window should be closed (possibly by displaying a message to the user), and then close it. |
void |
dispose()
This is overridden to notify all plugins when the window is closed. |
ViewerCanvas[] |
getAllViews()
Get all ViewerCanvases in this window. |
BFrame |
getFrame()
Get the BFrame for this EditingWindow: either the EditingWindow itself if it is a BFrame, or its parent if it is a BDialog. |
ToolPalette |
getToolPalette()
Get the ToolPalette for this window. |
ViewerCanvas |
getView()
Get the currently selected ViewerCanvas for this window. |
void |
redoCommand()
Redo the last action that was undone. |
void |
setCurrentView(ViewerCanvas view)
Set which ViewerCanvas has focus. |
void |
setGridCommand()
Set the grid options for the current window. |
void |
setHelpText(java.lang.String text)
Set the text to display at the bottom of the window. |
void |
setModified()
Register that the scene or object contained in the window has been modified. |
void |
setTemplateCommand()
Allow the user to set the template image. |
void |
setTool(EditingTool tool)
Set the currently selected EditingTool. |
void |
setUndoRecord(UndoRecord command)
Set the current UndoRecord for this EditingWindow. |
void |
setVisible(boolean visible)
This is overridden to notify all plugins when the window is shown for the first time. |
void |
showAxesCommand()
Toggle whether the coordinate axes are shown. |
void |
showTemplateCommand()
Toggle whether the template is shown. |
void |
toggleViewsCommand()
Toggle whether there are one or four views shown. |
void |
undoCommand()
Undo the most recent action. |
void |
updateImage()
Update the image displayed in this window. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface artofillusion.ui.EditingWindow |
---|
getScene, updateMenus |
Constructor Detail |
---|
public ObjectEditorWindow(EditingWindow parent, java.lang.String title, ObjectInfo obj)
Method Detail |
---|
public void setTool(EditingTool tool)
EditingWindow
setTool
in interface EditingWindow
public boolean confirmClose()
EditingWindow
confirmClose
in interface EditingWindow
public void setHelpText(java.lang.String text)
EditingWindow
setHelpText
in interface EditingWindow
public BFrame getFrame()
EditingWindow
getFrame
in interface EditingWindow
public void updateImage()
EditingWindow
updateImage
in interface EditingWindow
public void setUndoRecord(UndoRecord command)
EditingWindow
setUndoRecord
in interface EditingWindow
public void setModified()
EditingWindow
setModified
in interface EditingWindow
public ViewerCanvas getView()
getView
in interface EditingWindow
public void setCurrentView(ViewerCanvas view)
view
- the ViewerCanvas which should become the currently focused view. If this
is not one of the views belonging to this window, this method does nothing.public ToolPalette getToolPalette()
getToolPalette
in interface EditingWindow
public ViewerCanvas[] getAllViews()
getAllViews
in interface EditingWindow
public void showAxesCommand()
public void showTemplateCommand()
public void toggleViewsCommand()
public void setTemplateCommand()
public void setGridCommand()
public void undoCommand()
public void redoCommand()
public void setVisible(boolean visible)
public void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |