artisynth.core.gui.editorManager
Class RigidBodyAgent

java.lang.Object
  extended by artisynth.core.gui.editorManager.EditingAgent
      extended by artisynth.core.gui.editorManager.FrameBasedEditingAgent
          extended by artisynth.core.gui.editorManager.AddComponentAgent<RigidBody>
              extended by artisynth.core.gui.editorManager.RigidBodyAgent
All Implemented Interfaces:
SelectionListener, ComponentChangeListener, java.awt.event.ActionListener, java.util.EventListener, Disposable, ValueChangeListener

public class RigidBodyAgent
extends AddComponentAgent<RigidBody>


Constructor Summary
RigidBodyAgent(Main main, MechModel model)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 void dispose()
          Disconnects the agent from the ArtiSynth infrastructure and disposes of its resources.
 void handleLocationEvent(GLViewer viewer, MouseRayEvent rayEvent)
          Called after a left mouse press in one of the viewers when a location listener is installed.
 void valueChange(ValueChangeEvent evt)
           
 
Methods inherited from class artisynth.core.gui.editorManager.AddComponentAgent
addBasicProps, addComponentType, addComponentType, componentChanged, selectionChanged, setComponentType, show
 
Methods inherited from class artisynth.core.gui.editorManager.FrameBasedEditingAgent
addWidget, isVisible
 
Methods inherited from class artisynth.core.gui.editorManager.EditingAgent
getCenter, intersectClipPlane, intersectViewPlane
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RigidBodyAgent

public RigidBodyAgent(Main main,
                      MechModel model)
Method Detail

handleLocationEvent

public void handleLocationEvent(GLViewer viewer,
                                MouseRayEvent rayEvent)
Description copied from class: AddComponentAgent
Called after a left mouse press in one of the viewers when a location listener is installed.

Overrides:
handleLocationEvent in class AddComponentAgent<RigidBody>

dispose

public void dispose()
Description copied from class: AddComponentAgent
Disconnects the agent from the ArtiSynth infrastructure and disposes of its resources.

Specified by:
dispose in interface Disposable
Overrides:
dispose in class AddComponentAgent<RigidBody>

valueChange

public void valueChange(ValueChangeEvent evt)
Specified by:
valueChange in interface ValueChangeListener
Overrides:
valueChange in class AddComponentAgent<RigidBody>

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class AddComponentAgent<RigidBody>