public abstract class FrameBasedEditingAgent extends EditingAgent implements java.awt.event.ActionListener, Disposable, ComponentChangeListener
Constructor and Description |
---|
FrameBasedEditingAgent(Main main) |
Modifier and Type | Method and Description |
---|---|
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.
|
javax.swing.JFrame |
getDisplay() |
boolean |
isVisible() |
void |
show(java.awt.Rectangle popupBounds)
Connects the agent to the ArtiSynth infrastructure and makes it visible.
|
getCenter, intersectClipPlane, intersectViewPlane
public FrameBasedEditingAgent(Main main)
public void show(java.awt.Rectangle popupBounds)
popupBounds
- TODOpublic void dispose()
dispose
in interface Disposable
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void addWidget(java.awt.Component comp)
createDisplay
to add a
custom component to the display.public void componentChanged(ComponentChangeEvent e)
componentChanged
in interface ComponentChangeListener
public boolean isVisible()
public javax.swing.JFrame getDisplay()