public class InteractiveCircle extends MeasuredCircle implements Interactive
Modifier and Type | Class and Description |
---|---|
protected static class |
InteractiveCircle.InteractiveCircleLoader
A class to save and load InteractiveCircle data in an XMLControl.
|
Constructor and Description |
---|
InteractiveCircle()
Constructs an InteractiveCircle at the origin.
|
InteractiveCircle(double x,
double y)
Constructs an InteractiveCircle with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
Interactive |
findInteractive(DrawingPanel panel,
int xpix,
int ypix) |
static XML.ObjectLoader |
getLoader() |
boolean |
isEnabled() |
boolean |
isInside(DrawingPanel panel,
int xpix,
int ypix) |
void |
setEnabled(boolean _enableInteraction)
Enables mouse interactions.
|
getXMax, getXMin, getYMax, getYMin, isMeasured, setMeasured
draw, getX, getY, setX, setXY, setY, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getX, getY, setX, setXY, setY
getXMax, getXMin, getYMax, getYMin, isMeasured
public InteractiveCircle(double x, double y)
x
- y
- public InteractiveCircle()
public void setEnabled(boolean _enableInteraction)
setEnabled
in interface Interactive
_enableInteraction
- public boolean isEnabled()
isEnabled
in interface Interactive
public boolean isInside(DrawingPanel panel, int xpix, int ypix)
public Interactive findInteractive(DrawingPanel panel, int xpix, int ypix)
findInteractive
in interface Interactive
public static XML.ObjectLoader getLoader()