Package org.opensourcephysics.display
Interface Interactive
- All Superinterfaces:
Drawable,Measurable
- All Known Subinterfaces:
InteractiveImage,Selectable,Video
- All Known Implementing Classes:
AbstractInteractive,AnalyticParticle,AutoTracker,AutoTracker.ATObject,AutoTracker.Corner,AutoTracker.Handle,AutoTracker.Target,BoundedImage,BoundedShape,BoundedTextLine,Calibration,CalibrationStep.Position,CartesianInteractive,CartesianType3,CenterOfMass,CircleFitter,CoordAxes,CoordAxes.AnglePoint,CoordAxes.OriginPoint,DataToolTab.DataToolAxes,DataToolTab.DataToolPlotter.LimitLine,DataToolTab.DataToolPlotter.XYAxes,DynamicParticle,DynamicParticlePolar,DynamicSystem,GifVideo,HighlightableDataset,ImageVideo,InputTrack,InteractiveArrow,InteractiveCenteredArrow,InteractiveCircle,InteractiveImage,InteractiveLabel,InteractiveShape,InteractiveTextLine,JSMovieVideo,LineProfile,MovieVideo,OffsetOrigin,OffsetOriginStep.Position,ParticleDataTrack,ParticleModel,PencilCaption,PencilScene,PerspectiveFilter.Corner,PerspectiveStep.Corner,PerspectiveTrack,PointMass,PositionStep.Position,Protractor,Protractor,Protractor.Tip,RGBRegion,RGBRegion.VertexHandle,RGBStep.Position,TapeMeasure,TCircle,TCoordAxes,TLine,TLineProfile,TPoint,TShape,TTrack,TVector,Vector,VectorSum,VideoAdapter,XAxis,XuggleVideo,XYAxis,YAxis
Interactive defines how an object must behave so that it
can interact with a drawable panel.
- Version:
- 1.0
- Author:
- Wolfgang Christian, Francisco Equembre
-
Method Summary
Modifier and TypeMethodDescriptionfindInteractive(DrawingPanel panel, int _xpix, int _ypix) doublegetX()doublegetY()booleandefault booleanvoidsetEnabled(boolean enabled) voidsetX(double x) voidsetXY(double x, double y) voidsetY(double y) Methods inherited from interface org.opensourcephysics.display.Measurable
getXMax, getXMin, getYMax, getYMin, isMeasured
-
Method Details
-
findInteractive
-
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() -
isInteractive
default boolean isInteractive()- Specified by:
isInteractivein interfaceDrawable
-