Class RecordTransferListener

A MouseListener implementation for a JTable that hands out the org.kaiwitte.workbench.data.Record in a org.kaiwitte.workbench.ui.model.SchemeTableModel to a org.kaiwitte.workbench.ui.controller.RecordReceiver.

Synopsis

 public class RecordTransferListenerimplements MouseListener {
  public RecordTransferListener(JTable table,
                                SchemeTableModel model,
                                RecordReceiver receiver);

  public void mouseClicked(MouseEvent e);
  public void mousePressed(MouseEvent e);
  public void mouseReleased(MouseEvent e);
  public void mouseEntered(MouseEvent e);
  public void mouseExited(MouseEvent e);
}

Methods inherited from java.lang.Object: clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait

Inheritance Path. java.lang.Object-> org.kaiwitte.workbench.ui.controller.RecordTransferListener

RecordTransferListener(JTable, SchemeTableModel, RecordReceiver)

Synopsis: public RecordTransferListener(javax.swing.JTable table, 
                                        org.kaiwitte.workbench.ui.model.Sch\
emeTableModel model, 
                                        org.kaiwitte.workbench.ui.controlle\
r.RecordReceiver receiver);

Parameters

table

the table

model

the SchemeTableModel of the table

receiver

the RecordReceiver that receives the record from the table

Creates a new instance.

mouseClicked(MouseEvent)

Synopsis: public void mouseClicked(java.awt.event.MouseEvent e);

Specified by: Method mouseClicked in interface MouseListener

Parameters

e

the mouse event

Triggers the receiving.

mouseEntered(MouseEvent)

Synopsis: public void mouseEntered(java.awt.event.MouseEvent e);

Specified by: Method mouseEntered in interface MouseListener

Parameters

e

not used

Does nothing.

mouseExited(MouseEvent)

Synopsis: public void mouseExited(java.awt.event.MouseEvent e);

Specified by: Method mouseExited in interface MouseListener

Parameters

e

not used

Does nothing.

mousePressed(MouseEvent)

Synopsis: public void mousePressed(java.awt.event.MouseEvent e);

Specified by: Method mousePressed in interface MouseListener

Parameters

e

not used

Does nothing.

mouseReleased(MouseEvent)

Synopsis: public void mouseReleased(java.awt.event.MouseEvent e);

Specified by: Method mouseReleased in interface MouseListener

Parameters

e

not used

Does nothing.