GLG Toolkit, Java Class Library  Version 4.5
GlgZoomState

Zoom state constants indicating the current Zoom operation in progress, if any. More...

Detailed Description

Zoom state constants indicating the current Zoom operation in progress, if any.

Constants

static final int NO_ZOOM_STATE = 0
 No active Zoom operation. More...
 
static final int PAN_DRAG_STATE = 4
 Panning the drawing by dragging it with the mouse. More...
 
static final int PAN_X_STATE = 1
 A mask that may be combined with either PAN_DRAG_STATE or ZOOM_TO_STATE using bitwise OR to limit the current operation to operate only in X direction. More...
 
static final int PAN_Y_STATE = 2
 A mask that may be combined with either PAN_DRAG_STATE or ZOOM_TO_STATE using bitwise OR to limit the current operation to operate only in Y direction. More...
 
static final int ZOOM_TO_STATE = 8
 Defining the ZoomTo rectangle with the mouse. More...
 

Variable Documentation

◆ NO_ZOOM_STATE

final int NO_ZOOM_STATE = 0
static

No active Zoom operation.

◆ PAN_DRAG_STATE

final int PAN_DRAG_STATE = 4
static

Panning the drawing by dragging it with the mouse.

◆ PAN_X_STATE

final int PAN_X_STATE = 1
static

A mask that may be combined with either PAN_DRAG_STATE or ZOOM_TO_STATE using bitwise OR to limit the current operation to operate only in X direction.

◆ PAN_Y_STATE

final int PAN_Y_STATE = 2
static

A mask that may be combined with either PAN_DRAG_STATE or ZOOM_TO_STATE using bitwise OR to limit the current operation to operate only in Y direction.

◆ ZOOM_TO_STATE

final int ZOOM_TO_STATE = 8
static

Defining the ZoomTo rectangle with the mouse.