|
||||||||||
| 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.WidgetContainer
buoy.widget.WindowWidget
buoy.widget.BFrame
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. |
buoy.widget.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 buoy.widget.BFrame |
|---|
getChildCount, getChildren, getComponent, getFrames, getIcon, getMenuBar, getTitle, isIconified, isMaximized, isResizable, remove, removeAll, setIcon, setIconified, setMaximized, setMenuBar, setResizable, setTitle |
| Methods inherited from class buoy.widget.WindowWidget |
|---|
getContent, getDefaultButton, isVisible, layoutChildren, pack, setBounds, setContent, setDefaultButton, toBack, toFront |
| Methods inherited from class buoy.widget.WidgetContainer |
|---|
isOpaque, setOpaque |
| Methods inherited from class buoy.widget.Widget |
|---|
addEventLink, dispatchEvent, getBackground, getBounds, getCursor, getFont, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, hasFocus, isEnabled, isFocusable, repaint, requestFocus, setBackground, setCursor, setEnabled, setFocusable, setFont, setName |
| 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 |
| 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 EditingWindowpublic boolean confirmClose()
EditingWindow
confirmClose in interface EditingWindowpublic void setHelpText(java.lang.String text)
EditingWindow
setHelpText in interface EditingWindowpublic buoy.widget.BFrame getFrame()
EditingWindow
getFrame in interface EditingWindowpublic void updateImage()
EditingWindow
updateImage in interface EditingWindowpublic void setUndoRecord(UndoRecord command)
EditingWindow
setUndoRecord in interface EditingWindowpublic void setModified()
EditingWindow
setModified in interface EditingWindowpublic ViewerCanvas getView()
getView in interface EditingWindowpublic 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 EditingWindowpublic ViewerCanvas[] getAllViews()
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)
setVisible in class buoy.widget.WindowWidgetpublic void dispose()
dispose in class buoy.widget.WindowWidget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||