artisynth.core.gui.editorManager
Class FemModel3dAgent

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

public class FemModel3dAgent
extends AddComponentAgent<FemModel3d>


Constructor Summary
FemModel3dAgent(Main main, ComponentList<MechSystemModel> list, CompositeComponent ancestor)
           
 
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

FemModel3dAgent

public FemModel3dAgent(Main main,
                       ComponentList<MechSystemModel> list,
                       CompositeComponent ancestor)
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<FemModel3d>

valueChange

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

actionPerformed

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

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<FemModel3d>