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, setMeasureddraw, getX, getY, setX, setXY, setY, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetX, getY, setX, setXY, setYgetXMax, getXMin, getYMax, getYMin, isMeasuredpublic 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 Interactivepublic boolean isInside(DrawingPanel panel, int xpix, int ypix)
public Interactive findInteractive(DrawingPanel panel, int xpix, int ypix)
findInteractive in interface Interactivepublic static XML.ObjectLoader getLoader()