|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.event.MouseAdapter
de.dfg.oc.logfileanalyzer.gui.TableClickMouseListener
public class TableClickMouseListener
Listens to mouse events on a table.
Field Summary | |
---|---|
(package private) JTable |
table
The table associated with this TableClickMouseListener . |
Constructor Summary | |
---|---|
TableClickMouseListener(JTable _table)
Creates a new TableClickMouseListener . |
Method Summary | |
---|---|
private boolean |
columnConvertible(int columnId)
Returns true iff the contents of the given table column can
be converted to double . |
ComparisonDataSet |
determineMinMax(int _columnId,
double selected)
Determines the minimum and maximum value of a table column. |
void |
mouseClicked(MouseEvent e)
Reacts on a mouse event that occurred in the table. |
Methods inherited from class java.awt.event.MouseAdapter |
---|
mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
JTable table
TableClickMouseListener
.
Constructor Detail |
---|
TableClickMouseListener(JTable _table)
TableClickMouseListener
.
_table
- the table associated with this
TableClickMouseListener
Method Detail |
---|
public void mouseClicked(MouseEvent e)
ComparisonFrame
is created that compares the
classifier currently selected in the table with the table's other
classifiers.
mouseClicked
in interface MouseListener
mouseClicked
in class MouseAdapter
private boolean columnConvertible(int columnId)
true
iff the contents of the given table column can
be converted to double
.
columnId
- id of relevant table column
true
iff the contents of the given column can be
converted to double
public ComparisonDataSet determineMinMax(int _columnId, double selected)
_columnId
- the id of the table columnselected
- the value of the currently selected row
ComparisonDataSet
that can be displayed in a
ComparisionFrame
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |