|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IGraphic | |
---|---|
demos.bounce | |
graphics | The Graphics Package. |
graphics.movement | |
physics |
Uses of IGraphic in demos.bounce |
---|
Classes in demos.bounce that implement IGraphic | |
---|---|
class |
BouncingBall
|
class |
BouncingSquare
|
class |
BouncingTriangle
|
Uses of IGraphic in graphics |
---|
Subinterfaces of IGraphic in graphics | |
---|---|
interface |
IColorableGraphic
The interface that defines a Graphic that has a Color |
Classes in graphics that implement IGraphic | |
---|---|
class |
AbstractColorableGraphic
Extends AbstractGraphic to add methods that are relevant to Color |
class |
AbstractGraphic
An abstract class that is the superclass for most graphics. |
class |
CompoundGraphic
A Graphical object that acts as a container for other Graphical objects. |
class |
Ellipse
A Graphic that is in the shape of an Ellipse. |
class |
FramedEllipse
A Graphic that is in the outline Ellipse. |
class |
FramedRectangle
A Graphic that is the outline of a rectangle. |
class |
Image
A class that is a Graphical object based on a specified picture file. |
class |
Polygon
A polygon is a Graphic that can form many shapes. |
class |
Rectangle
A Graphic that is in the shape of a rectangle. |
class |
Rectangle3D
A Graphic that is in the shape of a rectangle with slight 3-dimensionsal shading. |
Methods in graphics that return types with arguments of type IGraphic | |
---|---|
Collection<IGraphic> |
DrawingCanvas.getAllGraphics()
Gets a Collection of all the Graphics on this DrawingCanvas |
Methods in graphics with parameters of type IGraphic | |
---|---|
void |
IContainer.add(IGraphic g)
Adds a Graphic onto this Container |
void |
DrawingCanvas.add(IGraphic g)
Adds a Graphic onto the DrawingCanvas. |
void |
CompoundGraphic.add(IGraphic g)
Adds a graphic to the compound |
boolean |
IGraphic.intersects(IGraphic shape)
Tests to see if two Graphics intersect with each other. |
boolean |
AbstractGraphic.intersects(IGraphic g)
Tests to see if two Graphics intersect with each other. |
void |
IContainer.remove(IGraphic g)
Removes a Graphic from this Container |
void |
DrawingCanvas.remove(IGraphic g)
Removes a Graphic from the DrawingCanvas. |
void |
CompoundGraphic.remove(IGraphic g)
Removes a Graphic from the Compound |
Uses of IGraphic in graphics.movement |
---|
Methods in graphics.movement with parameters of type IGraphic | |
---|---|
Vector |
WrappingMovement.move(IGraphic graphic,
Vector v)
|
Vector |
RegularMovement.move(IGraphic graphic,
Vector v)
Adds the values in the vector onto the graphic's location |
Vector |
IGraphicMovement.move(IGraphic graphic,
Vector v)
|
Vector |
BouncingMovement.move(IGraphic graphic,
Vector vector)
|
Uses of IGraphic in physics |
---|
Methods in physics that return IGraphic | |
---|---|
IGraphic |
CollisionObject.getShape()
Returns the shape of this object |
Methods in physics with parameters of type IGraphic | |
---|---|
void |
CollisionObject.setShape(IGraphic rs)
Sets the shape for this collision object |
Constructors in physics with parameters of type IGraphic | |
---|---|
CollisionObject(IGraphic shape)
Creates a new CollisionObject instance. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |