artisynth.core.gui.editorManager
Class MuscleElementAgent

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

public class MuscleElementAgent
extends AddComponentAgent<MuscleElementDesc>

Responsible for adding Muscles to a Model.


Constructor Summary
MuscleElementAgent(Main main, MuscleBundle bundle, FemModel3d model)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void componentChanged(ComponentChangeEvent e)
           
 void dispose()
          Disconnects the agent from the ArtiSynth infrastructure and disposes of its resources.
 void selectionChanged(SelectionEvent e)
           
 
Methods inherited from class artisynth.core.gui.editorManager.AddComponentAgent
addBasicProps, addComponentType, addComponentType, handleLocationEvent, setComponentType, show, valueChange
 
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

MuscleElementAgent

public MuscleElementAgent(Main main,
                          MuscleBundle bundle,
                          FemModel3d model)
Method Detail

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

actionPerformed

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

selectionChanged

public void selectionChanged(SelectionEvent e)
Specified by:
selectionChanged in interface SelectionListener
Overrides:
selectionChanged in class AddComponentAgent<MuscleElementDesc>

componentChanged

public void componentChanged(ComponentChangeEvent e)
Specified by:
componentChanged in interface ComponentChangeListener
Overrides:
componentChanged in class AddComponentAgent<MuscleElementDesc>