Java Doc for FlyBehavior.java in  » 6.0-JDK-Modules » java-3d » org » jdesktop » j3dfly » utils » vpbehaviors » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » java 3d » org.jdesktop.j3dfly.utils.vpbehaviors 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.j3d.utils.behaviors.vp.ViewPlatformAWTBehavior
   org.jdesktop.j3dfly.utils.vpbehaviors.VPCollisionBehavior
      org.jdesktop.j3dfly.utils.vpbehaviors.J3dFlyMouseBehavior
         org.jdesktop.j3dfly.utils.vpbehaviors.FlyBehavior

FlyBehavior
public class FlyBehavior extends J3dFlyMouseBehavior (Code)

This behavior will allow the user to move to any point with any orientation in 3 space.

All controls are provided by the mouse. Each mouse button generates a different type of motion while the button is pressed, the distance of the mouse cursor from the center of the canvas3D will control the speed of motion. The behavior of each button is described below with reference to the View coordinate system.

Left Mouse Button - Moving the mouse up and down will move the view forward and backward. Moving the mouse left and right will yaw the view around the Y axis.

Right Mouse Button - Moving the mouse up and down will move the view up and down the Y axis. Movig the mouse left and right will translate the view along the X axis.

Middle Mouse Button - Moving the mouse up and down will pitch the view around the X axis. Moving the mouse left and right will roll the view around the Z axis.

Canvas3D size changes are tracked
author:
   Paul Byrne
version:
   1.14, 01/18/02



Constructor Summary
public  FlyBehavior(View view)
    
public  FlyBehavior()
    

Method Summary
public  voidinitialize()
    
protected  voidintegrateTransforms()
    
protected  voidprocessAWTEvents(java.awt.AWTEvent[] events)
    
protected  voidprocessMouseDragged(MouseEvent evt)
    
protected  voidprocessMouseReleased(MouseEvent evt)
    


Constructor Detail
FlyBehavior
public FlyBehavior(View view)(Code)



FlyBehavior
public FlyBehavior()(Code)




Method Detail
initialize
public void initialize()(Code)



integrateTransforms
protected void integrateTransforms()(Code)



processAWTEvents
protected void processAWTEvents(java.awt.AWTEvent[] events)(Code)



processMouseDragged
protected void processMouseDragged(MouseEvent evt)(Code)



processMouseReleased
protected void processMouseReleased(MouseEvent evt)(Code)



Fields inherited from org.jdesktop.j3dfly.utils.vpbehaviors.J3dFlyMouseBehavior
protected float MAX_ANGLE(Code)(Java Doc)
protected float MAX_VELOCITY(Code)(Java Doc)
protected java.awt.Rectangle canvasBounds(Code)(Java Doc)
protected java.awt.geom.Point2D.Float canvasCenter(Code)(Java Doc)
protected float deadXSize(Code)(Java Doc)
protected float deadYSize(Code)(Java Doc)
protected boolean doingDrag(Code)(Java Doc)
protected FlyControlDialog flyControlDialog(Code)(Java Doc)
protected boolean ignoreMouseMotion(Code)(Java Doc)
protected Transform3D targetTransform(Code)(Java Doc)

Methods inherited from org.jdesktop.j3dfly.utils.vpbehaviors.J3dFlyMouseBehavior
public void editParameters(java.awt.Frame parent)(Code)(Java Doc)
protected void processMouseEntered(java.awt.event.MouseEvent evt)(Code)(Java Doc)
public void processMouseExited(java.awt.event.MouseEvent evt)(Code)(Java Doc)
protected void processUnusedEvent(java.awt.AWTEvent evt)(Code)(Java Doc)
protected void queueAWTEvent(java.awt.AWTEvent evt)(Code)(Java Doc)
public void setAngleStep(float angle)(Code)(Java Doc)
public void setForwardStep(float forward)(Code)(Java Doc)

Fields inherited from org.jdesktop.j3dfly.utils.vpbehaviors.VPCollisionBehavior
protected VPCollisionInterface collisionControl(Code)(Java Doc)

Methods inherited from org.jdesktop.j3dfly.utils.vpbehaviors.VPCollisionBehavior
public boolean collisionEnabled()(Code)(Java Doc)
public void editParameters(java.awt.Frame parent)(Code)(Java Doc)
public void setCollisionControl(VPCollisionInterface collisionControl)(Code)(Java Doc)
public void setCollisionEnabled(boolean enable)(Code)(Java Doc)

Fields inherited from com.sun.j3d.utils.behaviors.vp.ViewPlatformAWTBehavior
final public static int KEY_LISTENER(Code)(Java Doc)
final public static int MOUSE_LISTENER(Code)(Java Doc)
final public static int MOUSE_MOTION_LISTENER(Code)(Java Doc)
final public static int MOUSE_WHEEL_LISTENER(Code)(Java Doc)
final protected static int POST_ID(Code)(Java Doc)
protected Canvas3D canvases(Code)(Java Doc)
protected WakeupOnElapsedFrames frameWakeup(Code)(Java Doc)
protected boolean motion(Code)(Java Doc)
protected WakeupOnBehaviorPost postWakeup(Code)(Java Doc)
protected Transform3D targetTransform(Code)(Java Doc)

Methods inherited from com.sun.j3d.utils.behaviors.vp.ViewPlatformAWTBehavior
public void initialize()(Code)(Java Doc)
abstract protected void integrateTransforms()(Code)(Java Doc)
public void keyPressed(java.awt.event.KeyEvent e)(Code)(Java Doc)
public void keyReleased(java.awt.event.KeyEvent e)(Code)(Java Doc)
public void keyTyped(java.awt.event.KeyEvent e)(Code)(Java Doc)
public void mouseClicked(MouseEvent e)(Code)(Java Doc)
public void mouseDragged(MouseEvent e)(Code)(Java Doc)
public void mouseEntered(MouseEvent e)(Code)(Java Doc)
public void mouseExited(MouseEvent e)(Code)(Java Doc)
public void mouseMoved(MouseEvent e)(Code)(Java Doc)
public void mousePressed(MouseEvent e)(Code)(Java Doc)
public void mouseReleased(MouseEvent e)(Code)(Java Doc)
public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)(Code)(Java Doc)
abstract protected void processAWTEvents(java.awt.AWTEvent[] events)(Code)(Java Doc)
public void processStimulus(java.util.Enumeration behEnum)(Code)(Java Doc)
protected void queueAWTEvent(AWTEvent e)(Code)(Java Doc)
public void setEnable(boolean state)(Code)(Java Doc)
protected void setListenerFlags(int listenerFlags)(Code)(Java Doc)
public void setViewingPlatform(ViewingPlatform vp)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.