|
Boeing Simulation 3.1 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--visualizer.graphics.ReflectiveObjectViz
This is a standard visualizer that takes in a WhatWhere and then reflective determines what to draw on the screen.
| Field Summary | |
private visualizer.graphics.ColorPicker |
colorPicker
The ColorPicker that will determine
how we colors our object. |
private JPanel |
parent
The JPanel that this is drawn on. |
private static long |
serialVersionUID
|
private objects.WhatWhere |
target
The object that will be drawn on the Graphics. |
| Constructor Summary | |
ReflectiveObjectViz(objects.WhatWhere target,
JPanel parent,
visualizer.graphics.ColorPicker colorPicker)
|
|
| Method Summary | |
void |
draw(Graphics g)
Draw a square on the javax.swing.Graphics using a
randomly chosen Color. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final long serialVersionUID
private final objects.WhatWhere target
Graphics.
private final JPanel parent
JPanel that this is drawn on.
private final visualizer.graphics.ColorPicker colorPicker
ColorPicker that will determine
how we colors our object.
| Constructor Detail |
public ReflectiveObjectViz(objects.WhatWhere target,
JPanel parent,
visualizer.graphics.ColorPicker colorPicker)
| Method Detail |
public void draw(Graphics g)
javax.swing.Graphics using a
randomly chosen Color.
draw in interface Drawable
|
Boeing Simulation 3.1 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||