|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object endrov.typeNetwork.NetworkImageTool
public class NetworkImageTool
Make and edit networks
Field Summary | |
---|---|
static java.util.Vector<NetworkTracerFactory> |
tracers
|
boolean |
useAuto
|
Constructor Summary | |
---|---|
NetworkImageTool(Viewer2DWindow w,
NetworkImageRenderer r)
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
deselected()
Called when the tool has been deselected |
java.lang.Integer |
getClosestPointID(Network.NetworkFrame nf,
javax.vecmath.Vector3d curPos)
|
javax.swing.JMenuItem |
getMenuItem()
Get the menu item to be placed in the tools menu |
NetworkTracerInterface |
getTracer(EvStack stack,
Network.NetworkFrame nf)
Get the automatic tracer and ensure it is up to date. |
boolean |
hasTracer()
|
void |
keyPressed(java.awt.event.KeyEvent e)
|
void |
keyReleased(java.awt.event.KeyEvent e)
|
void |
mouseClicked(java.awt.event.MouseEvent e,
java.awt.Component invoker)
|
void |
mouseClickedManual(java.awt.event.MouseEvent e,
java.awt.Component invoker)
|
void |
mouseClickedTrace(java.awt.event.MouseEvent e,
java.awt.Component invoker)
|
void |
mouseDragged(java.awt.event.MouseEvent e,
int dx,
int dy)
|
void |
mouseExited(java.awt.event.MouseEvent e)
|
void |
mouseMoved(java.awt.event.MouseEvent e,
int dx,
int dy)
|
void |
mouseMovedManual(java.awt.event.MouseEvent e,
int dx,
int dy)
|
void |
mouseMovedTrace(java.awt.event.MouseEvent e,
int dx,
int dy)
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mousePressedManual(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
|
void |
paintComponent(java.awt.Graphics g)
|
void |
recalcTrace(java.awt.event.MouseEvent e)
Calculate preview points. |
void |
removeTracer()
Remove tracer and associated memory |
void |
setForcedStartingPointXYZ(Maybe<javax.vecmath.Vector3d> v)
|
boolean |
storeEditingPoint()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean useAuto
public static java.util.Vector<NetworkTracerFactory> tracers
Constructor Detail |
---|
public NetworkImageTool(Viewer2DWindow w, NetworkImageRenderer r)
Method Detail |
---|
public boolean hasTracer()
public void setForcedStartingPointXYZ(Maybe<javax.vecmath.Vector3d> v)
public NetworkTracerInterface getTracer(EvStack stack, Network.NetworkFrame nf)
public void removeTracer()
public void recalcTrace(java.awt.event.MouseEvent e)
e
- public javax.swing.JMenuItem getMenuItem()
Viewer2DTool
getMenuItem
in interface Viewer2DTool
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void deselected()
Viewer2DTool
deselected
in interface Viewer2DTool
public void mouseClicked(java.awt.event.MouseEvent e, java.awt.Component invoker)
mouseClicked
in interface GeneralTool
public void mouseClickedManual(java.awt.event.MouseEvent e, java.awt.Component invoker)
public void mouseClickedTrace(java.awt.event.MouseEvent e, java.awt.Component invoker)
public void mouseDragged(java.awt.event.MouseEvent e, int dx, int dy)
mouseDragged
in interface GeneralTool
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface GeneralTool
public void mousePressedManual(java.awt.event.MouseEvent e)
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface GeneralTool
public boolean storeEditingPoint()
public void mouseMoved(java.awt.event.MouseEvent e, int dx, int dy)
mouseMoved
in interface GeneralTool
public java.lang.Integer getClosestPointID(Network.NetworkFrame nf, javax.vecmath.Vector3d curPos)
public void mouseMovedManual(java.awt.event.MouseEvent e, int dx, int dy)
public void mouseMovedTrace(java.awt.event.MouseEvent e, int dx, int dy)
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface GeneralTool
public void paintComponent(java.awt.Graphics g)
paintComponent
in interface GeneralTool
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface GeneralTool
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface GeneralTool
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |