public abstract class AbstractPicker extends MoebiusGraphics
Modifier and Type | Field and Description |
---|---|
protected boolean |
isPickable |
protected boolean |
isPicked |
protected int |
xPick |
protected int |
yPick |
attributes, size, transform
Constructor and Description |
---|
AbstractPicker() |
Modifier and Type | Method and Description |
---|---|
void |
clearPickPath() |
boolean |
getIsPicked() |
MoebiusShapeStack |
getPickPath() |
MoebiusTransformStack |
getPickTransformPath() |
int |
getXPick() |
int |
getYPick() |
void |
initPicking(int x,
int y) |
boolean |
isPicked() |
boolean |
pick(MouseEvent e,
MoebiusShape aShape) |
MoebiusShape |
popShape() |
MoebiusShape |
push(MoebiusShape aShape) |
void |
setIsPicked(boolean v) |
void |
setPickPoint(int aX,
int aY) |
void |
setXPick(int v) |
void |
setYPick(int v) |
arc, arc, circle, circle, clear, clone, getAttributes, getColor, getFilled, getFont, getGraphics, getHorizontalTextLayout, getLineWidth, getPointColor, getPointOutline, getPointRadius, getShapeStack, getSize, getTransform, getTransformStack, getUsePointColor, getVerticalTextLayout, line, line, lineSeg, lineSeg, lineSeg, point, point, point, popTransform, push, setAttributes, setColor, setFilled, setFont, setGraphics, setHorizontalTextLayout, setLineWidth, setPointColor, setPointOutline, setPointRadius, setSize, setTransformStack, setUsePointColor, setVerticalTextLayout, text, text, text
protected boolean isPickable
protected boolean isPicked
protected int xPick
protected int yPick
public void clearPickPath()
public boolean getIsPicked()
public MoebiusShapeStack getPickPath()
public MoebiusTransformStack getPickTransformPath()
public int getXPick()
public int getYPick()
public void initPicking(int x, int y)
public boolean isPicked()
public boolean pick(MouseEvent e, MoebiusShape aShape)
public MoebiusShape popShape()
popShape
in class MoebiusGraphics
public MoebiusShape push(MoebiusShape aShape)
push
in class MoebiusGraphics
public void setIsPicked(boolean v)
public void setPickPoint(int aX, int aY)
public void setXPick(int v)
public void setYPick(int v)