public class PickHandler extends MouseHandler
Modifier and Type | Field and Description |
---|---|
(package private) Pickable |
activePick |
(package private) ClickListener |
clickListener |
(package private) Pickable |
echoItem |
(package private) Pickable |
hoverItem |
(package private) HoverTimer |
hTimer |
(package private) boolean |
inTrash |
(package private) PickListener |
pickListener |
(package private) PickStore |
pickStore |
(package private) WorldTransform |
worldTransform |
(package private) int |
xoff |
(package private) int |
yoff |
BUFFERED, FULL, NONE
Constructor and Description |
---|
PickHandler(PickStore ps,
WorldTransform wt) |
Modifier and Type | Method and Description |
---|---|
void |
advance(Mouse m) |
void |
applyOnDown(Mouse m) |
void |
applyOnDrag(Mouse m) |
void |
applyOnRelease(Mouse m) |
void |
echoPaint(Painter p,
boolean tips) |
void |
hovered() |
void |
init(Mouse m) |
boolean |
inTrash(int ix,
int iy) |
void |
missedPress(Mouse m) |
(package private) boolean |
motionAware() |
(package private) boolean |
motionChange(Mouse m) |
void |
setClickListener(ClickListener cl) |
void |
setPickListener(PickListener pl) |
activate, clear, deactivate, echoPaint, getRepaintStatus, isActive, isIn, isOut, isUndecided, release, setClaimIn, setClaimOut, setClaimUndecided, setFullRepaint, setRepaintStatus
int xoff
int yoff
WorldTransform worldTransform
PickStore pickStore
Pickable activePick
PickListener pickListener
ClickListener clickListener
Pickable echoItem
HoverTimer hTimer
Pickable hoverItem
boolean inTrash
public PickHandler(PickStore ps, WorldTransform wt)
public void setPickListener(PickListener pl)
boolean motionAware()
motionAware
in class MouseHandler
boolean motionChange(Mouse m)
motionChange
in class MouseHandler
public void echoPaint(Painter p, boolean tips)
public void init(Mouse m)
init
in class MouseHandler
public void advance(Mouse m)
advance
in class MouseHandler
public void missedPress(Mouse m)
missedPress
in class MouseHandler
public void hovered()
public void applyOnDown(Mouse m)
applyOnDown
in class MouseHandler
public void applyOnDrag(Mouse m)
applyOnDrag
in class MouseHandler
public boolean inTrash(int ix, int iy)
public void applyOnRelease(Mouse m)
applyOnRelease
in class MouseHandler
public void setClickListener(ClickListener cl)
Copyright © 2013. All Rights Reserved.