final class BoxSelectionHandler extends MouseHandler
Modifier and Type | Field and Description |
---|---|
(package private) int |
actionMode |
(package private) static int |
NORMAL |
(package private) static int |
SIMPLE |
private boolean |
vbl |
private boolean |
vbr |
private boolean |
vtl |
private boolean |
vtr |
private int |
x0 |
private int |
x1 |
private int[] |
xyxy |
private int |
y0 |
private int |
y1 |
BUFFERED, FULL, NONE
Constructor and Description |
---|
BoxSelectionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
activate() |
void |
advance(Mouse m) |
void |
applyOnDown(Mouse m) |
void |
applyOnDrag(Mouse m) |
void |
applyOnRelease(Mouse m) |
private void |
checkActivate(int x,
int y) |
void |
clear() |
(package private) void |
echoPaint(java.awt.Graphics2D g) |
int[] |
getXYXY() |
void |
init(Mouse m) |
(package private) void |
readPosition(Mouse m) |
void |
simpleActivate() |
deactivate, getRepaintStatus, isActive, isIn, isOut, isUndecided, missedPress, motionAware, motionChange, release, setClaimIn, setClaimOut, setClaimUndecided, setFullRepaint, setRepaintStatus
private boolean vtl
private boolean vtr
private boolean vbl
private boolean vbr
private int x0
private int y0
private int x1
private int y1
private int[] xyxy
static final int NORMAL
static final int SIMPLE
int actionMode
public void activate()
activate
in class MouseHandler
public void simpleActivate()
public void clear()
clear
in class MouseHandler
public void init(Mouse m)
init
in class MouseHandler
public void advance(Mouse m)
advance
in class MouseHandler
void echoPaint(java.awt.Graphics2D g)
echoPaint
in class MouseHandler
public void applyOnDown(Mouse m)
applyOnDown
in class MouseHandler
public void applyOnDrag(Mouse m)
applyOnDrag
in class MouseHandler
public void applyOnRelease(Mouse m)
applyOnRelease
in class MouseHandler
void readPosition(Mouse m)
public int[] getXYXY()
private void checkActivate(int x, int y)
Copyright © 2013. All Rights Reserved.