syn3d.builtin
Class ControlledSyn3DBuiltin

java.lang.Object
  extended by syn3d.base.Syn3DPlugin
      extended by syn3d.builtin.ControlledSyn3DBuiltin
All Implemented Interfaces:
java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener
Direct Known Subclasses:
Java3DSyn3DBuiltin, Xith3DSyn3DBuiltin

public class ControlledSyn3DBuiltin
extends Syn3DPlugin
implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.awt.event.KeyListener

This plugin provides interactive navigation into the scene 3D

Author:
Nicolas Brodu

Field Summary
protected  boolean handleKeyTyped
           
protected  boolean handleMouseClicked
           
protected  boolean handleMouseDragged
           
protected  boolean handleMousePressed
           
protected  boolean handleMouseWheelMoved
           
 
Fields inherited from class syn3d.base.Syn3DPlugin
pluginManager
 
Constructor Summary
ControlledSyn3DBuiltin()
           
 
Method Summary
 boolean isHandleKeyTyped()
          Use this method to test if the builtin plugin handles this event
 boolean isHandleMouseClicked()
          Use this method to test if the builtin plugin handles this event
 boolean isHandleMouseDragged()
          Use this method to test if the builtin plugin handles this event
 boolean isHandleMousePressed()
          Use this method to test if the builtin plugin handles this event
 boolean isHandleMouseWheelMoved()
          Use this method to test if the builtin plugin handles this event
 void keyPressed(java.awt.event.KeyEvent e)
           
 void keyReleased(java.awt.event.KeyEvent e)
           
 void keyTyped(java.awt.event.KeyEvent e)
           
 void mouseClicked(java.awt.event.MouseEvent e)
           
 void mouseDragged(java.awt.event.MouseEvent e)
           
 void mouseEntered(java.awt.event.MouseEvent e)
           
 void mouseExited(java.awt.event.MouseEvent e)
           
 void mouseMoved(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent e)
          Methods to implement
 void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
           
 void setHandleKeyTyped(boolean handleKeyTyped)
          Use this method to activate builtin handling of this event
 void setHandleMouseClicked(boolean handleMouseClicked)
          Use this method to activate builtin handling of this event
 void setHandleMouseDragged(boolean handleMouseDragged)
          Use this method to activate builtin handling of this event
 void setHandleMousePressed(boolean handleMousePressed)
          Use this method to activate builtin handling of this event
 void setHandleMouseWheelMoved(boolean handleMouseWheelMoved)
          Use this method to activate builtin handling of this event
 
Methods inherited from class syn3d.base.Syn3DPlugin
canCreate, create, createFromKey, getNodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handleMouseClicked

protected boolean handleMouseClicked

handleMouseWheelMoved

protected boolean handleMouseWheelMoved

handleMousePressed

protected boolean handleMousePressed

handleMouseDragged

protected boolean handleMouseDragged

handleKeyTyped

protected boolean handleKeyTyped
Constructor Detail

ControlledSyn3DBuiltin

public ControlledSyn3DBuiltin()
Method Detail

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

mouseWheelMoved

public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
Specified by:
mouseWheelMoved in interface java.awt.event.MouseWheelListener

keyTyped

public void keyTyped(java.awt.event.KeyEvent e)
Specified by:
keyTyped in interface java.awt.event.KeyListener

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

isHandleKeyTyped

public boolean isHandleKeyTyped()
Use this method to test if the builtin plugin handles this event


setHandleKeyTyped

public void setHandleKeyTyped(boolean handleKeyTyped)
Use this method to activate builtin handling of this event


isHandleMouseClicked

public boolean isHandleMouseClicked()
Use this method to test if the builtin plugin handles this event


setHandleMouseClicked

public void setHandleMouseClicked(boolean handleMouseClicked)
Use this method to activate builtin handling of this event


isHandleMouseDragged

public boolean isHandleMouseDragged()
Use this method to test if the builtin plugin handles this event


setHandleMouseDragged

public void setHandleMouseDragged(boolean handleMouseDragged)
Use this method to activate builtin handling of this event


isHandleMousePressed

public boolean isHandleMousePressed()
Use this method to test if the builtin plugin handles this event


setHandleMousePressed

public void setHandleMousePressed(boolean handleMousePressed)
Use this method to activate builtin handling of this event


isHandleMouseWheelMoved

public boolean isHandleMouseWheelMoved()
Use this method to test if the builtin plugin handles this event


setHandleMouseWheelMoved

public void setHandleMouseWheelMoved(boolean handleMouseWheelMoved)
Use this method to activate builtin handling of this event


mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Methods to implement

Specified by:
mouseReleased in interface java.awt.event.MouseListener

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener

keyReleased

public void keyReleased(java.awt.event.KeyEvent e)
Specified by:
keyReleased in interface java.awt.event.KeyListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Specified by:
mouseExited in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

keyPressed

public void keyPressed(java.awt.event.KeyEvent e)
Specified by:
keyPressed in interface java.awt.event.KeyListener