GLG Toolkit, Java Class Library  Version 4.5
GlgProcessMouseMask

Specifies the type of the mouse events to be processed by a viewport. More...

Detailed Description

Specifies the type of the mouse events to be processed by a viewport.

The masks can be combined with bitwise OR.

Constants

static final int MOUSE_CLICK = 4
 Enables object selection on mouse click. More...
 
static final int MOUSE_MOVE_AND_CLICK = ( MOUSE_OVER_SELECTION | MOUSE_CLICK | MOUSE_OVER_TOOLTIP )
 Convenience constant that matches ProcessMouse's option in the Builder. More...
 
static final int MOUSE_MOVE_AND_CLICK_NAMED = ( MOUSE_MOVE_AND_CLICK | NAMED_TOOLTIP )
 Convenience constant that matches ProcessMouse's option in the Builder. More...
 
static final int MOUSE_OVER_SELECTION = 1
 Enabled object highlighting and selection on mouse over. More...
 
static final int MOUSE_OVER_TOOLTIP = 2
 Enables object tooltips on mouse over when used together with MOUSE_OVER_SELECTION. More...
 
static final int NAMED_TOOLTIP = 8
 Forces using object names instead of TooltipString resources for tooltips. More...
 
static final int NO_MOUSE_EVENTS = 0
 Disables all event processing if no other masks are selected. More...
 

Variable Documentation

◆ MOUSE_CLICK

final int MOUSE_CLICK = 4
static

Enables object selection on mouse click.

◆ MOUSE_MOVE_AND_CLICK

final int MOUSE_MOVE_AND_CLICK = ( MOUSE_OVER_SELECTION | MOUSE_CLICK | MOUSE_OVER_TOOLTIP )
static

Convenience constant that matches ProcessMouse's option in the Builder.

Enables object selection on mouse click and mouse over, as well as object tooltips on mouse over.

◆ MOUSE_MOVE_AND_CLICK_NAMED

final int MOUSE_MOVE_AND_CLICK_NAMED = ( MOUSE_MOVE_AND_CLICK | NAMED_TOOLTIP )
static

Convenience constant that matches ProcessMouse's option in the Builder.

Same as MOUSE_MOVE_AND_CLICK, but uses object names for tooltips.

◆ MOUSE_OVER_SELECTION

final int MOUSE_OVER_SELECTION = 1
static

Enabled object highlighting and selection on mouse over.

◆ MOUSE_OVER_TOOLTIP

final int MOUSE_OVER_TOOLTIP = 2
static

Enables object tooltips on mouse over when used together with MOUSE_OVER_SELECTION.

◆ NAMED_TOOLTIP

final int NAMED_TOOLTIP = 8
static

Forces using object names instead of TooltipString resources for tooltips.

◆ NO_MOUSE_EVENTS

final int NO_MOUSE_EVENTS = 0
static

Disables all event processing if no other masks are selected.