org.opensourcephysics.display
Interface Interactive
- All Superinterfaces:
- Drawable, Measurable
- All Known Subinterfaces:
- InteractionTarget, InteractiveElement, InteractiveImage, Selectable, Video
- All Known Implementing Classes:
- AbstractInteractive, AbstractInteractiveElement, AbstractInteractiveTile, BoundedImage, BoundedShape, BoundedTextLine, CartesianInteractive, CartesianType3, Element, ElementArrow, ElementImage, ElementPoints, ElementPolygon, ElementSegment, ElementSet, ElementShape, ElementSpring, ElementText, ElementTrail, GifVideo, Group, GroupDrawable, HighlightableDataset, ImageVideo, InteractionTarget, InteractionTargetCursorPosition, InteractionTargetElementPosition, InteractionTargetElementSize, InteractionTargetGroupDrawableElement, InteractionTargetPoligonMovingPoint, InteractionTargetPoligonPoint, InteractionTargetSetElement, InteractionTargetTracePoint, InteractiveArrow, InteractiveArrow, InteractiveBox, InteractiveCenteredArrow, InteractiveCircle, InteractiveCone, InteractiveCursor, InteractiveCylinder, InteractiveCylinderSimple, InteractiveImage, InteractiveImage, InteractiveLabel, InteractiveParticle, InteractivePlane, InteractivePoints, InteractivePoligon, InteractiveShape, InteractiveSphere, InteractiveSpring, InteractiveSurface, InteractiveText, InteractiveTextLine, InteractiveTrace, Pipe, PoligonsAndTexts, Protractor, Protractor.Tip, Pump, Set, Symbol, Tank, TCircle, TCoordAxes, TLine, TLineProfile, TPoint, TraceSet, TShape, TVector, Valve, VectorField, VectorField3D, 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()