org.opensourcephysics.sip.ch17
Class MethaneApp

java.lang.Object
  extended by org.opensourcephysics.sip.ch17.MethaneApp
All Implemented Interfaces:
InteractiveMouseHandler

public class MethaneApp
extends java.lang.Object
implements InteractiveMouseHandler

MethaneApp models CH4 in order to demonstrates how to transform 3D shapes.


Constructor Summary
MethaneApp()
          Constructs the MethaneApp.
 
Method Summary
 void handleMouseAction(InteractivePanel panel, java.awt.event.MouseEvent evt)
          Handles the mouse action.
static void main(java.lang.String[] args)
          Starts the Java application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethaneApp

public MethaneApp()
Constructs the MethaneApp.

Method Detail

handleMouseAction

public void handleMouseAction(InteractivePanel panel,
                              java.awt.event.MouseEvent evt)
Handles the mouse action.

Specified by:
handleMouseAction in interface InteractiveMouseHandler
Parameters:
panel - InteractivePanel
evt - MouseEvent

main

public static void main(java.lang.String[] args)
Starts the Java application.

Parameters:
args - command line parameters