|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IGraphic | |
---|---|
graphics | The Graphics Package. |
graphics.movement | |
lab2lib | |
lab3lib | |
lab4lib | |
lab7lib | |
physics |
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 | |
---|---|
java.util.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 lab2lib |
---|
Classes in lab2lib that implement IGraphic | |
---|---|
class |
BouncingBall
|
class |
BouncingSquare
|
class |
BouncingTriangle
|
Uses of IGraphic in lab3lib |
---|
Methods in lab3lib with parameters of type IGraphic | |
---|---|
void |
BouncingWorldParent.add(IGraphic org)
|
Uses of IGraphic in lab4lib |
---|
Classes in lab4lib that implement IGraphic | |
---|---|
class |
Breakout
An screenshot from the game Breakout that can position itself randomly on a containers.Lab4Applet |
class |
Earth
An image of the planet Earth that can position itself randomly on a containers.Lab4Applet |
class |
Elephant
An image of an elephant that can position itself randomly on a containers.Lab4Applet |
Methods in lab4lib with parameters of type IGraphic | |
---|---|
void |
WindowWithButtons.add(IGraphic graphic)
Allows the caller to add a graphic to the window. |
Uses of IGraphic in lab7lib |
---|
Classes in lab7lib that implement IGraphic | |
---|---|
class |
EllipticalShape
|
class |
HexagonShape
A square that moves when told to. |
class |
SquareShape
A square that moves when told to. |
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 |