Package com.biglybt.pif.ui.tables
Class TableRowMouseEvent
java.lang.Object
com.biglybt.pif.ui.tables.TableRowMouseEvent
- Direct Known Subclasses:
TableCellMouseEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Object
int
Which button was pressed.Misc datastatic final int
eventType is trigggered when mouse is double clickedstatic final int
eventType is triggered when mouse is pressed downstatic final int
static final int
static final int
eventType is triggered when the mouse is moved.static final int
eventType is triggered when mouse is let goint
EVENT_* constant specifying the type of event that has been triggeredint
Keyboard state when the mouse event was triggered.TableRow that the mouse trigger applies toboolean
Setting this value to true will prevent Azureus from running its core functionality (if any) for the mouse event.int
x position of mouse relative to table cellint
y position of mouse relative to table cell -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
baseEvent
-
EVENT_MOUSEDOWN
public static final int EVENT_MOUSEDOWNeventType is triggered when mouse is pressed down- Since:
- 2.3.0.7
- See Also:
-
EVENT_MOUSEUP
public static final int EVENT_MOUSEUPeventType is triggered when mouse is let go- Since:
- 2.3.0.7
- See Also:
-
EVENT_MOUSEDOUBLECLICK
public static final int EVENT_MOUSEDOUBLECLICKeventType is trigggered when mouse is double clicked- Since:
- 2.3.0.7
- See Also:
-
EVENT_MOUSEMOVE
public static final int EVENT_MOUSEMOVEeventType is triggered when the mouse is moved. ONLY fires for listeners with subclass of TableMouseMoveListener.TableCellMouseListener
will not recieve mouse move events.- See Also:
-
EVENT_MOUSEENTER
public static final int EVENT_MOUSEENTER- See Also:
-
EVENT_MOUSEEXIT
public static final int EVENT_MOUSEEXIT- See Also:
-
eventType
public int eventTypeEVENT_* constant specifying the type of event that has been triggered- Since:
- 2.3.0.7
-
x
public int xx position of mouse relative to table cell- Since:
- 2.3.0.7
-
y
public int yy position of mouse relative to table cell -
button
public int buttonWhich 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
- Since:
- 2.3.0.7
-
keyboardState
public int keyboardStateKeyboard state when the mouse event was triggered.- Since:
- 2.3.0.7
-
skipCoreFunctionality
public boolean skipCoreFunctionalitySetting 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. -
data
Misc data- Since:
- 3.0.1.7
-
row
TableRow that the mouse trigger applies to- Since:
- 3.0.1.6
-
-
Constructor Details
-
TableRowMouseEvent
-