artisynth.core.gui.editorManager
Class AxialSpringAgent<C extends AxialSpring>
java.lang.Object
artisynth.core.gui.editorManager.EditingAgent
artisynth.core.gui.editorManager.FrameBasedEditingAgent
artisynth.core.gui.editorManager.AddComponentAgent<C>
artisynth.core.gui.editorManager.AxialSpringAgent<C>
- All Implemented Interfaces:
- SelectionListener, ComponentChangeListener, java.awt.event.ActionListener, java.util.EventListener, Disposable, ValueChangeListener
- Direct Known Subclasses:
- MuscleFibreAgent
public class AxialSpringAgent<C extends AxialSpring>
- extends AddComponentAgent<C>
Responsible for adding AxialSprings to a MechModel.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AxialSpringAgent
public AxialSpringAgent(Main main,
ComponentList<C> list,
CompositeComponent ancestor)
setPoints
public void setPoints(Point pointA,
Point pointB)
setContinuousAdd
public void setContinuousAdd(boolean continuous)
getContinuousAdd
public boolean getContinuousAdd()
selectionChanged
public void selectionChanged(SelectionEvent e)
- Specified by:
selectionChanged
in interface SelectionListener
- Overrides:
selectionChanged
in class AddComponentAgent<C extends AxialSpring>
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
- Overrides:
actionPerformed
in class AddComponentAgent<C extends AxialSpring>