Class TableRowMouseEvent
java.lang.Object
com.biglybt.pif.ui.tables.TableRowMouseEvent
- Direct Known Subclasses:
TableCellMouseEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ObjectintWhich button was pressed.Misc datastatic final inteventType is trigggered when mouse is double clickedstatic final inteventType is triggered when mouse is pressed downstatic final intstatic final intstatic final inteventType is triggered when the mouse is moved.static final inteventType is triggered when mouse is let gointEVENT_* constant specifying the type of event that has been triggeredintKeyboard state when the mouse event was triggered.TableRow that the mouse trigger applies tobooleanSetting this value to true will prevent Azureus from running its core functionality (if any) for the mouse event.intx position of mouse relative to table cellinty 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.TableCellMouseListenerwill 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
-
row
-
-
Constructor Details
-
TableRowMouseEvent
-