FileDocCategorySizeDatePackage
TableRowMouseEvent.javaAPI DocAzureus 3.0.3.43130Tue Jun 26 21:08:10 BST 2007org.gudy.azureus2.plugins.ui.tables

TableRowMouseEvent

public class TableRowMouseEvent extends Object
author
TuxPaper
created
May 13, 2007
note
originally TableCellMouseEvent

Fields Summary
public static final int
EVENT_MOUSEDOWN
eventType is triggered when mouse is pressed down
public static final int
EVENT_MOUSEUP
eventType is triggered when mouse is let go
public static final int
EVENT_MOUSEDOUBLECLICK
eventType is trigggered when mouse is double clicked
public static final int
EVENT_MOUSEMOVE
eventType is triggered when the mouse is moved. ONLY fires for listeners with subclass of TableMouseMoveListener. {@link TableCellMouseListener} will not recieve mouse move events.
public static final int
EVENT_MOUSEENTER
public static final int
EVENT_MOUSEEXIT
public int
eventType
EVENT_* constant specifying the type of event that has been triggered
public int
x
x position of mouse relative to table cell
public int
y
y position of mouse relative to table cell
public int
button
Which button was pressed. 1 = first button (left), 2 = second button (middle), 3 = third button (right)

More buttons may already be pressed down.

For events of type EVENT_MOUSEMOVE, button will be 0

public int
keyboardState
Keyboard state when the mouse event was triggered.
public boolean
skipCoreFunctionality
Setting this value to true will prevent Azureus from running its core functionality (if any) for the mouse event. For example, by default the double click in My Torrents goes to the details view. If your plugin remaps double click to do a different function, set skipCoreFunctionality = true.
public Object
data
Misc data
public TableRow
row
TableRow that the mouse trigger applies to
Constructors Summary
Methods Summary