|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectapps.lightrays.gfxlib.DrawableElement
apps.lightrays.gfxlib.GraphicalSwitch
public class GraphicalSwitch
The Class GraphicalSwitch.
| Constructor Summary | |
|---|---|
GraphicalSwitch()
Instantiates a new graphical switch. |
|
| Method Summary | |
|---|---|
void |
add(java.lang.String name,
DrawableElement el)
Adds the. |
void |
draw(java.awt.Graphics2D gfx,
long tick_count)
Draw. |
void |
setCurrent(java.lang.String name)
Sets the current. |
| Methods inherited from class apps.lightrays.gfxlib.DrawableElement |
|---|
getC, getOpacity, getX, getY, getZ, setC, setOpacity, setX, setY, setZ |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphicalSwitch()
| Method Detail |
|---|
public void add(java.lang.String name,
DrawableElement el)
name - the nameel - the el
public void draw(java.awt.Graphics2D gfx,
long tick_count)
DrawableElement
draw in class DrawableElementgfx - the gfxtick_count - the tick_countpublic void setCurrent(java.lang.String name)
name - the new current
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||