artisynth.core.gui.editorManager
Class FrameBasedEditingAgent

java.lang.Object
  extended by artisynth.core.gui.editorManager.EditingAgent
      extended by artisynth.core.gui.editorManager.FrameBasedEditingAgent
All Implemented Interfaces:
ComponentChangeListener, java.awt.event.ActionListener, java.util.EventListener, Disposable
Direct Known Subclasses:
AddComponentAgent, ExcitationTargetAgent, MotionTargetComponentAgent, RigidBodyGeometryAgent

public abstract class FrameBasedEditingAgent
extends EditingAgent
implements java.awt.event.ActionListener, Disposable, ComponentChangeListener


Constructor Summary
FrameBasedEditingAgent(Main main)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void addWidget(java.awt.Component comp)
          Called by subclasses inside createDisplay to add a custom component to the display.
 void componentChanged(ComponentChangeEvent e)
           
 void dispose()
          Disconnects the agent from the ArtiSynth infrastructure and disposes of its resources.
 boolean isVisible()
           
 void show(java.awt.Rectangle popupBounds)
          Connects the agent to the ArtiSynth infrastructure and makes it visible.
 
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

FrameBasedEditingAgent

public FrameBasedEditingAgent(Main main)
Method Detail

show

public void show(java.awt.Rectangle popupBounds)
Connects the agent to the ArtiSynth infrastructure and makes it visible.

Parameters:
popupBounds - TODO

dispose

public void dispose()
Disconnects the agent from the ArtiSynth infrastructure and disposes of its resources.

Specified by:
dispose in interface Disposable

actionPerformed

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

addWidget

public void addWidget(java.awt.Component comp)
Called by subclasses inside createDisplay to add a custom component to the display.


componentChanged

public void componentChanged(ComponentChangeEvent e)
Specified by:
componentChanged in interface ComponentChangeListener

isVisible

public boolean isVisible()