artisynth.core.gui.editorManager
Class DuplicateAgent

java.lang.Object
  extended by artisynth.core.gui.editorManager.EditingAgent
      extended by artisynth.core.gui.editorManager.DuplicateAgent
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class DuplicateAgent
extends EditingAgent
implements java.awt.event.ActionListener

This class is responsible for duplicating selections of components.


Constructor Summary
DuplicateAgent(Main main, java.util.LinkedList<ModelComponent> copyList, java.util.LinkedList<MutableCompositeComponent<?>> parentList)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void handleRayEvent(GLViewer viewer, MouseRayEvent rayEvent)
           
 void show()
           
 
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

DuplicateAgent

public DuplicateAgent(Main main,
                      java.util.LinkedList<ModelComponent> copyList,
                      java.util.LinkedList<MutableCompositeComponent<?>> parentList)
Method Detail

show

public void show()

handleRayEvent

public void handleRayEvent(GLViewer viewer,
                           MouseRayEvent rayEvent)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener