net.sf.doolin.gui.field.table.support
Class GUITableMouseListener<V,E>
java.lang.Object
java.awt.event.MouseAdapter
net.sf.doolin.gui.field.table.support.GUITableMouseListener<V,E>
- Type Parameters:
V - Type of object for the viewE - Type of item in the table
- All Implemented Interfaces:
- MouseListener, MouseMotionListener, MouseWheelListener, EventListener
public class GUITableMouseListener<V,E>
- extends MouseAdapter
Mouse listener for a GUITable.
- Author:
- Damien Coraboeuf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GUITableMouseListener
public GUITableMouseListener(GUITable<V,E> table)
- Constructor
- Parameters:
table - Associated table
mouseClicked
public void mouseClicked(MouseEvent e)
- On a double click, executes any
associated action.
- Specified by:
mouseClicked in interface MouseListener- Overrides:
mouseClicked in class MouseAdapter
mouseReleased
public void mouseReleased(MouseEvent e)
- On a pop-up menu trigger, builds a pop-up menu for the current item and
displays it. The content of the pop-up menu is defined by the
FieldTable.getTableMenu() action group.
- Specified by:
mouseReleased in interface MouseListener- Overrides:
mouseReleased in class MouseAdapter
Copyright © 2011. All Rights Reserved.