|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectartisynth.core.gui.editorManager.EditingAgent
artisynth.core.gui.editorManager.FrameBasedEditingAgent
artisynth.core.gui.editorManager.AddComponentAgent<E>
public abstract class AddComponentAgent<E extends ModelComponent>
A base class used to create agents for adding components.
Constructor Summary | |
---|---|
AddComponentAgent(Main main,
ComponentList<?> container,
CompositeComponent ancestor)
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
addBasicProps(java.lang.Class type,
java.lang.String[] basicProperties)
|
void |
addComponentType(java.lang.Class type)
|
void |
addComponentType(java.lang.Class type,
java.lang.String[] excludedProperties)
|
void |
componentChanged(ComponentChangeEvent e)
|
void |
dispose()
Disconnects the agent from the ArtiSynth infrastructure and disposes of its resources. |
void |
handleLocationEvent(GLViewer viewer,
MouseRayEvent rayEvent)
Called after a left mouse press in one of the viewers when a location listener is installed. |
void |
selectionChanged(SelectionEvent e)
|
void |
setComponentType(java.lang.Class type)
Called whenever the specific class type of the components being added by this agent is changed. |
void |
show(java.awt.Rectangle popupBounds)
Connects the agent to the ArtiSynth infrastructure and makes it visible. |
void |
valueChange(ValueChangeEvent e)
|
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 |
---|
public AddComponentAgent(Main main, ComponentList<?> container, CompositeComponent ancestor)
Method Detail |
---|
public void show(java.awt.Rectangle popupBounds)
show
in class FrameBasedEditingAgent
popupBounds
- TODOpublic void dispose()
dispose
in interface Disposable
dispose
in class FrameBasedEditingAgent
public void selectionChanged(SelectionEvent e)
selectionChanged
in interface SelectionListener
public void setComponentType(java.lang.Class type)
public void valueChange(ValueChangeEvent e)
valueChange
in interface ValueChangeListener
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class FrameBasedEditingAgent
public void handleLocationEvent(GLViewer viewer, MouseRayEvent rayEvent)
public void componentChanged(ComponentChangeEvent e)
componentChanged
in interface ComponentChangeListener
componentChanged
in class FrameBasedEditingAgent
public void addComponentType(java.lang.Class type)
public void addComponentType(java.lang.Class type, java.lang.String[] excludedProperties)
public void addBasicProps(java.lang.Class type, java.lang.String[] basicProperties)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |