SimpleAnimator
The SimpleAnimator
class demonstrates how the Java 2D API shapes can be put into motion to create a simple animation. The code is for demonstration purposes: other code should use the scala2d
package to insulate from the particular graphics framework.
Value parameters
- title
-
the title of the display
Attributes
- See also
-
SimpleAnimator2
to see the changes - Graph
-
- Supertypes
-
trait Runnableclass JFrametrait RootPaneContainertrait WindowConstantsclass Frameclass Windowtrait Accessibleclass Containerclass Componenttrait Serializabletrait MenuContainertrait ImageObserverclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Classlikes
The Canvas
inner class is used to place shapes in the drawing region.
The Canvas
inner class is used to place shapes in the drawing region.
Attributes
- Supertypes
-
class JPaneltrait Accessibleclass JComponentclass Containerclass Componenttrait Serializabletrait MenuContainertrait ImageObserverclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Run method for the display thread that repeatedly updates coordinates, sleeps and repaints.
Run method for the display thread that repeatedly updates coordinates, sleeps and repaints.
Attributes
Inherited methods
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Frame
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Attributes
- Inherited from:
- Window
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Component
Attributes
- Inherited from:
- JFrame
Attributes
- Inherited from:
- Container
Deprecated and Inherited methods
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Window
Attributes
- Deprecated
- true
- Inherited from:
- Window
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Container
Attributes
- Deprecated
- true
- Inherited from:
- Container
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Frame
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Window
Attributes
- Deprecated
- true
- Inherited from:
- Container
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Container
Attributes
- Deprecated
- true
- Inherited from:
- Container
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Container
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Window
Attributes
- Deprecated
- true
- Inherited from:
- Container
Attributes
- Deprecated
- true
- Inherited from:
- Window
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Frame
Attributes
- Deprecated
- true
- Inherited from:
- Window
Attributes
- Deprecated
- true
- Inherited from:
- Component
Attributes
- Deprecated
- true
- Inherited from:
- Component