artofillusion.view
Class ViewerPerspectiveControl

java.lang.Object
  extended by artofillusion.view.ViewerPerspectiveControl
All Implemented Interfaces:
ViewerControl

public class ViewerPerspectiveControl
extends java.lang.Object
implements ViewerControl

This is a ViewerControl for setting whether a view uses perspective mode.


Constructor Summary
ViewerPerspectiveControl()
           
 
Method Summary
 Widget createWidget(ViewerCanvas view)
          This is invoked each time a new ViewerCanvas is created.
 java.lang.String getName()
          Get the name of this ViewerControl, as it should be displayed in the user interface.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewerPerspectiveControl

public ViewerPerspectiveControl()
Method Detail

createWidget

public Widget createWidget(ViewerCanvas view)
Description copied from interface: ViewerControl
This is invoked each time a new ViewerCanvas is created. It should create a Widget which is then added to the canvas' toolbar.

It is permitted for this method to return null. This allows a ViewerControl to only add Widgets to particular types of ViewerCanvases.

Specified by:
createWidget in interface ViewerControl

getName

public java.lang.String getName()
Description copied from interface: ViewerControl
Get the name of this ViewerControl, as it should be displayed in the user interface.

Specified by:
getName in interface ViewerControl


Copyright © 1999-2011 by Peter Eastman.