artofillusion
Class RotateViewTool

java.lang.Object
  extended by artofillusion.ui.EditingTool
      extended by artofillusion.RotateViewTool

public class RotateViewTool
extends EditingTool

RotateViewTool is an EditingTool for rotating the viewpoint around the origin.


Field Summary
 
Fields inherited from class artofillusion.ui.EditingTool
ALL_CLICKS, HANDLE_CLICKS, OBJECT_CLICKS
 
Constructor Summary
RotateViewTool(EditingWindow fr)
           
 
Method Summary
 void activate()
           
 java.lang.String getToolTipText()
          Get the tool tip text to display for this tool (or null if it does not have a tool tip).
 boolean hilightSelection()
          Get whether the current selection should be hilighted when this tool is active.
 void mouseDragged(WidgetMouseEvent e, ViewerCanvas view)
           
 void mousePressed(WidgetMouseEvent e, ViewerCanvas view)
           
 void mouseReleased(WidgetMouseEvent e, ViewerCanvas view)
           
 int whichClicks()
          Get what types of mouse clicks this tool wants to receive.
 
Methods inherited from class artofillusion.ui.EditingTool
allowSelectionChanges, deactivate, drawOverlay, getButton, getWindow, iconDoubleClicked, isEditable, keyPressed, mouseMoved, mousePressedOnHandle, mousePressedOnObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RotateViewTool

public RotateViewTool(EditingWindow fr)
Method Detail

activate

public void activate()
Overrides:
activate in class EditingTool

whichClicks

public int whichClicks()
Description copied from class: EditingTool
Get what types of mouse clicks this tool wants to receive. This should be a sum of the constants ALL_CLICKS, OBJECT_CLICKS, or HANDLE_CLICKS.

Overrides:
whichClicks in class EditingTool

hilightSelection

public boolean hilightSelection()
Description copied from class: EditingTool
Get whether the current selection should be hilighted when this tool is active.

Overrides:
hilightSelection in class EditingTool

getToolTipText

public java.lang.String getToolTipText()
Description copied from class: EditingTool
Get the tool tip text to display for this tool (or null if it does not have a tool tip).

Overrides:
getToolTipText in class EditingTool

mousePressed

public void mousePressed(WidgetMouseEvent e,
                         ViewerCanvas view)
Overrides:
mousePressed in class EditingTool

mouseDragged

public void mouseDragged(WidgetMouseEvent e,
                         ViewerCanvas view)
Overrides:
mouseDragged in class EditingTool

mouseReleased

public void mouseReleased(WidgetMouseEvent e,
                          ViewerCanvas view)
Overrides:
mouseReleased in class EditingTool


Copyright © 1999-2011 by Peter Eastman.