public class RigidBodyConnectorAgent extends AddComponentAgent<BodyConnector>
Constructor and Description |
---|
RigidBodyConnectorAgent(Main main,
MechModel model) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
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 |
setBodies(RigidBody bodyA,
RigidBody bodyB) |
addBasicProps, addComponentType, addComponentType, componentChanged, dispose, setComponentType, show, valueChange
addWidget, getDisplay, isVisible
getCenter, intersectClipPlane, intersectViewPlane
public void selectionChanged(SelectionEvent e)
selectionChanged
in interface SelectionListener
selectionChanged
in class AddComponentAgent<BodyConnector>
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class AddComponentAgent<BodyConnector>
public void handleLocationEvent(GLViewer viewer, MouseRayEvent rayEvent)
AddComponentAgent
handleLocationEvent
in class AddComponentAgent<BodyConnector>