gui.playfield
Class ScaleReferenceGraphic

java.lang.Object
  extended by gui.playfield.PlayFieldGraphic
      extended by gui.playfield.ScaleReferenceGraphic

public class ScaleReferenceGraphic
extends PlayFieldGraphic

Reference scale bar graphic. This is the small reference scale on the upper left corner of the playfield.


Field Summary
 
Fields inherited from class gui.playfield.PlayFieldGraphic
scale
 
Constructor Summary
ScaleReferenceGraphic()
           
 
Method Summary
 void draw(java.awt.Graphics2D g2)
          Draws the graphic component to the graphics context g2
 
Methods inherited from class gui.playfield.PlayFieldGraphic
getScale, invScale, scale, scale, setScale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScaleReferenceGraphic

public ScaleReferenceGraphic()
Method Detail

draw

public void draw(java.awt.Graphics2D g2)
Description copied from class: PlayFieldGraphic
Draws the graphic component to the graphics context g2

Specified by:
draw in class PlayFieldGraphic
Parameters:
g2 - The context to draw the graphics to