public class PopupMenuMouseAdapter
extends java.awt.event.MouseAdapter
| Constructor and Description |
|---|
PopupMenuMouseAdapter(javax.swing.JTable table,
javax.swing.table.TableModel tableModel,
GuiContentType guiContentType,
int keyColumn)
Create the mouse event listener for the specified table, table model, and
GuiContentType of the table. |
PopupMenuMouseAdapter(javax.swing.JTable table,
javax.swing.table.TableModel tableModel,
GuiContentType guiContentType,
int keyColumn,
boolean notAStation)
Create the mouse event listener for the specified table, table model, and
GuiContentType of the table. |
| Modifier and Type | Method and Description |
|---|---|
void |
mouseClicked(java.awt.event.MouseEvent e)
DO NOT CALL.
|
public PopupMenuMouseAdapter(javax.swing.JTable table,
javax.swing.table.TableModel tableModel,
GuiContentType guiContentType,
int keyColumn)
GuiContentType of the table.table - JTable whose rows can be right-clickedtableModel - TableModel of the JTableguiContentType - GuiContentType of the table, to help PopupMenuMouseAdapterkeyColumn - zero-based column number of column to extract value from, or -1 to use the clicked-upon columnpublic PopupMenuMouseAdapter(javax.swing.JTable table,
javax.swing.table.TableModel tableModel,
GuiContentType guiContentType,
int keyColumn,
boolean notAStation)
GuiContentType of the table.table - JTable whose rows can be right-clickedtableModel - TableModel of the JTableguiContentType - GuiContentType of the table, to help PopupMenuMouseAdapterkeyColumn - zero-based column number of column to extract value from, or -1 to use the clicked-upon columnnotAStation - boolean true ig the columnvalue should not be converted to s StationStatepublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenermouseClicked in class java.awt.event.MouseAdaptere - MouseEvent reporting the click