www.sdmetrics.com

sdmetrics.app
Interface DiagKiviat.Listener

Enclosing interface:
DiagKiviat

public static interface DiagKiviat.Listener

Listener for mouse events in the diagram.


Method Summary
 void leftMouseClicked(int metric, int x, int y)
          Reports a "left mouse click" in the diagram.
 void rightMouseClicked(int metric, int x, int y)
          Reports a "right mouse click" in the diagram.
 

Method Detail

leftMouseClicked

public void leftMouseClicked(int metric,
                             int x,
                             int y)
Reports a "left mouse click" in the diagram. The left mouse click indicates a metric has been "selected".

Parameters:
metric - Index of the selected metric on the diagram
x - X-coordinate of the mouse click
y - Y-coordinate of the mouse click

rightMouseClicked

public void rightMouseClicked(int metric,
                              int x,
                              int y)
Reports a "right mouse click" in the diagram. The right mouse click should open a popup-menu for the metric.

Parameters:
metric - Index of the selected metric on the diagram
x - X-coordinate of the mouse click
y - Y-coordinate of the mouse click

www.sdmetrics.com