org.opensourcephysics.display
Interface Interactive
- All Superinterfaces:
- Drawable, Measurable
- All Known Subinterfaces:
- InteractiveImage, Selectable, Video
- All Known Implementing Classes:
- AbstractInteractive, AnalyticParticle, AutoTracker, AutoTracker.Corner, AutoTracker.Handle, AutoTracker.Target, BoundedImage, BoundedShape, BoundedTextLine, Calibration, CalibrationStep.Position, CartesianInteractive, CartesianType3, CenterOfMass, CoordAxes, DynamicParticle, DynamicParticleConvertible, DynamicParticlePolar, DynamicSystem, GifVideo, HighlightableDataset, ImageVideo, InteractiveArrow, InteractiveCenteredArrow, InteractiveCircle, InteractiveImage, InteractiveLabel, InteractiveShape, InteractiveTextLine, LineProfile, OffsetOrigin, OffsetOriginStep.Position, ParticleModel, PointMass, PositionStep.Position, Protractor, Protractor, Protractor.Tip, QTVideo, RGBRegion, RGBStep.Position, TapeMeasure, TCircle, TCoordAxes, TLine, TLineProfile, TPoint, TShape, TTrack, TVector, Vector, VectorSum, VideoAdapter, XAxis, XuggleVideo, 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()