Visual Content in J2ME
An Introduction |
Prof. David Bernstein
|
Computer Science Department |
bernstdh@jmu.edu |
VisualComponent
Class:
Vector
instead of ArrayList
GameCanvas
instead of
JComponent
Visualization
Class:
Vector
instead of ArrayList
Enumeration
instead of Iterator
VisualizationView
Class:
int
instead of Color
Enumeration
instead of Iterator
Graphics
object
The AbstractTransformableContent
class can no longer
be used because:
The TransformableContent
interface can no longer
include setComposite()
or
setBufferedImageOp()
The factories have to change:
j2meexamples/src/visual/statik/sampled/ImageFactory.java
Nothing (significant) has to change
Stage
Class:
Enumeration
instead of Iterator
int
instead of Color
Sprite
Class:
RuleBasedSprite
Class:
Vector
instead of ArrayList