|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlotListener
This interface is to be implemented by all of the filters that are supposed to listen for user interaction with plots. This is used to produce fast analysis tools so that users can click on plots and change what data is being moved through the system. The original filters that will use this are a region selection (less powerful than a full selection filter, but works as a listener) and a slice through. Those came to my mind because they would allow me to build the same types of tools I have used in the past for rings. Others can be added if people find a need for them.
Method Summary | |
---|---|
java.awt.Shape |
getSelectionRegion()
This method can be used by plot listeners to tell a certain plot style what region is being investigated. |
void |
keyPressed(java.awt.event.KeyEvent e)
This is called when a key is pressed. |
void |
keyReleased(java.awt.event.KeyEvent e)
This is called when a key is released. |
void |
keyTyped(java.awt.event.KeyEvent e)
This is called when a key is typed. |
void |
mouseClicked(double v1,
double v2,
java.awt.event.MouseEvent e)
This is called when a mouse button is clicked. |
void |
mouseDragged(double v1,
double v2,
java.awt.event.MouseEvent e)
This is called when the mouse is dragged. |
void |
mouseMoved(double v1,
double v2,
java.awt.event.MouseEvent e)
This is called when the mouse is moved. |
void |
mousePressed(double v1,
double v2,
java.awt.event.MouseEvent e)
This is called when a mouse button is pressed. |
void |
mouseReleased(double v1,
double v2,
java.awt.event.MouseEvent e)
This is called when a mouse button is released. |
Methods inherited from interface edu.swri.swiftvis.GraphElement |
---|
clearData, copy, getBounds, getDescription, getPaint, getPropertiesPanel, relink, setBounds |
Method Detail |
---|
void mousePressed(double v1, double v2, java.awt.event.MouseEvent e)
v1
- The primary coordinate in the plot where it was pressed.v2
- The secondary coordinate in the plot where it was pressed.e
- The event that triggered the call.void mouseReleased(double v1, double v2, java.awt.event.MouseEvent e)
v1
- The primary coordinate in the plot where it was pressed.v2
- The secondary coordinate in the plot where it was pressed.e
- The event that triggered the call.void mouseClicked(double v1, double v2, java.awt.event.MouseEvent e)
v1
- The primary coordinate in the plot where it was pressed.v2
- The secondary coordinate in the plot where it was pressed.e
- The event that triggered the call.void mouseMoved(double v1, double v2, java.awt.event.MouseEvent e)
v1
- The primary coordinate in the plot where it was pressed.v2
- The secondary coordinate in the plot where it was pressed.e
- The event that triggered the call.void mouseDragged(double v1, double v2, java.awt.event.MouseEvent e)
v1
- The primary coordinate in the plot where it was pressed.v2
- The secondary coordinate in the plot where it was pressed.e
- The event that triggered the call.void keyPressed(java.awt.event.KeyEvent e)
e
- The event that triggered the call.void keyReleased(java.awt.event.KeyEvent e)
e
- The event that triggered the call.void keyTyped(java.awt.event.KeyEvent e)
e
- The event that triggered the call.java.awt.Shape getSelectionRegion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |