org.opensourcephysics.display
Interface Interactive
- All Superinterfaces:
- Drawable, Measurable
- All Known Subinterfaces:
- InteractiveImage, Selectable, Video
- All Known Implementing Classes:
- AbstractInteractive, BoundedImage, BoundedShape, BoundedTextLine, CartesianInteractive, CartesianType3, GifVideo, HighlightableDataset, ImageVideo, InteractiveArrow, InteractiveCenteredArrow, InteractiveCircle, InteractiveImage, InteractiveLabel, InteractiveShape, InteractiveTextLine, Protractor, Protractor.Tip, TCircle, TCoordAxes, TLine, TLineProfile, TPoint, TShape, TVector, VideoAdapter, XAxis, XYAxis, YAxis
public interface Interactive
- extends Measurable
Interactive defines how an object must behave so that it
can interact with a drawable panel.
- Version:
- 1.0
- Author:
- Wolfgang Christian, Francisco Equembre
Methods inherited from interface org.opensourcephysics.display.Drawable |
draw |
findInteractive
Interactive findInteractive(DrawingPanel panel,
int _xpix,
int _ypix)
setEnabled
void setEnabled(boolean enabled)
isEnabled
boolean isEnabled()
setXY
void setXY(double x,
double y)
setX
void setX(double x)
setY
void setY(double y)
getX
double getX()
getY
double getY()