saaps.sapm
Class StopLightCanvas.Lamp

java.lang.Object
  |
  +--saaps.sapm.StopLightCanvas.Lamp
Enclosing class:
StopLightCanvas

class StopLightCanvas.Lamp
extends java.lang.Object


Field Summary
private  java.awt.Color cOff
           
private  java.awt.Color cOn
           
private  int dOff
           
private  int dOn
           
private  boolean state
           
private  int type
           
private  int xOff
           
private  int xOn
           
private  int yOff
           
private  int yOn
           
 
Constructor Summary
protected StopLightCanvas.Lamp(int t)
           
 
Method Summary
protected  void draw(java.awt.Graphics g)
           
protected  void off()
           
protected  void on()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

type

private int type

xOff

private int xOff

yOff

private int yOff

dOff

private int dOff

xOn

private int xOn

yOn

private int yOn

dOn

private int dOn

cOn

private java.awt.Color cOn

cOff

private java.awt.Color cOff

state

private boolean state
Constructor Detail

StopLightCanvas.Lamp

protected StopLightCanvas.Lamp(int t)
Method Detail

off

protected void off()

on

protected void on()

draw

protected void draw(java.awt.Graphics g)