moebiusViewer
Class AbstractPicker

java.lang.Object
  extended bymoebiusViewer.MoebiusGraphics
      extended bymoebiusViewer.AbstractPicker
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Direct Known Subclasses:
GenericPicker, MoebiusPicker

public abstract class AbstractPicker
extends MoebiusGraphics

See Also:
Serialized Form

Field Summary
protected  boolean isPickable
           
protected  boolean isPicked
           
protected  int xPick
           
protected  int yPick
           
 
Fields inherited from class moebiusViewer.MoebiusGraphics
attributes, size, transform
 
Constructor Summary
AbstractPicker()
           
 
Method Summary
 void clearPickPath()
           
 boolean getIsPicked()
           
 MoebiusShapeStack getPickPath()
           
 MoebiusTransformStack getPickTransformPath()
           
 int getXPick()
           
 int getYPick()
           
 void initPicking(int x, int y)
           
 boolean isPicked()
           
 boolean pick(java.awt.event.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)
           
 
Methods inherited from class moebiusViewer.MoebiusGraphics
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xPick

protected int xPick

yPick

protected int yPick

isPickable

protected boolean isPickable

isPicked

protected boolean isPicked
Constructor Detail

AbstractPicker

public AbstractPicker()
Method Detail

getXPick

public int getXPick()

setXPick

public void setXPick(int v)

getYPick

public int getYPick()

setYPick

public void setYPick(int v)

setPickPoint

public void setPickPoint(int aX,
                         int aY)

getIsPicked

public boolean getIsPicked()

isPicked

public boolean isPicked()

setIsPicked

public void setIsPicked(boolean v)

getPickPath

public MoebiusShapeStack getPickPath()

getPickTransformPath

public MoebiusTransformStack getPickTransformPath()

push

public MoebiusShape push(MoebiusShape aShape)
Overrides:
push in class MoebiusGraphics

popShape

public MoebiusShape popShape()
Overrides:
popShape in class MoebiusGraphics

clearPickPath

public void clearPickPath()

initPicking

public void initPicking(int x,
                        int y)

pick

public boolean pick(java.awt.event.MouseEvent e,
                    MoebiusShape aShape)