no.uio.edd.utils.datautils
Class TableSelector
java.lang.Object
no.uio.edd.utils.datautils.TableSelector
- All Implemented Interfaces:
- java.awt.event.KeyListener, java.util.EventListener
public class TableSelector
- extends java.lang.Object
- implements java.awt.event.KeyListener
Our special table selector.
- Author:
- holmen
Field Summary |
protected int |
currentRow
|
(package private) java.lang.Object |
doknr
|
Constructor Summary |
TableSelector(javax.swing.JTable table,
EddTableModel tableModel,
TableCallbackInterface inResultTableCallbackInterface)
It is necessary to keep the table since it is not possible to determine
the table from the event's source |
TableSelector(javax.swing.JTable table,
EddTableModel tableModel,
TableCallbackInterface inResultTableCallbackInterface,
java.lang.String inTableType)
It is necessary to keep the table since it is not possible to determine
the table from the event's source |
Method Summary |
void |
keyPressed(java.awt.event.KeyEvent e)
|
void |
keyReleased(java.awt.event.KeyEvent arg0)
|
void |
keyTyped(java.awt.event.KeyEvent e)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doknr
java.lang.Object doknr
currentRow
protected int currentRow
TableSelector
TableSelector(javax.swing.JTable table,
EddTableModel tableModel,
TableCallbackInterface inResultTableCallbackInterface)
- It is necessary to keep the table since it is not possible to determine
the table from the event's source
- Parameters:
table
- tableModel
- inResultTableCallbackInterface
- An object implementing the interface
ResultTableCallbackInterface enabling callback.
TableSelector
TableSelector(javax.swing.JTable table,
EddTableModel tableModel,
TableCallbackInterface inResultTableCallbackInterface,
java.lang.String inTableType)
- It is necessary to keep the table since it is not possible to determine
the table from the event's source
- Parameters:
table
- tableModel
- inResultTableCallbackInterface
- An object implementing the interface
ResultTableCallbackInterface enabling callback.tableType
- to see the difference between more than one result table in a
single object.
keyReleased
public void keyReleased(java.awt.event.KeyEvent arg0)
- Specified by:
keyReleased
in interface java.awt.event.KeyListener
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
- Specified by:
keyPressed
in interface java.awt.event.KeyListener
keyTyped
public void keyTyped(java.awt.event.KeyEvent e)
- Specified by:
keyTyped
in interface java.awt.event.KeyListener