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, setRepaintStatusprivate 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 MouseHandlerpublic void simpleActivate()
public void clear()
clear in class MouseHandlerpublic void init(Mouse m)
init in class MouseHandlerpublic void advance(Mouse m)
advance in class MouseHandlervoid echoPaint(java.awt.Graphics2D g)
echoPaint in class MouseHandlerpublic void applyOnDown(Mouse m)
applyOnDown in class MouseHandlerpublic void applyOnDrag(Mouse m)
applyOnDrag in class MouseHandlerpublic void applyOnRelease(Mouse m)
applyOnRelease in class MouseHandlervoid readPosition(Mouse m)
public int[] getXYXY()
private void checkActivate(int x,
int y)
Copyright © 2013. All Rights Reserved.