Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.zazof.jteg.gui
Class PlaceArmiesVisualizer  view PlaceArmiesVisualizer download PlaceArmiesVisualizer.java

java.lang.Object
  extended byorg.zazof.jteg.gui.PlaceArmiesVisualizer
All Implemented Interfaces:
java.util.EventListener, InformationVisualizer

public class PlaceArmiesVisualizer
extends java.lang.Object
implements InformationVisualizer

This class is responsible for visualizing the placing of the armies to assist the user in this proces.


Field Summary
private  int $height
           
private  PlaceArmiesMouseInput $pam
           
private  int $upperLeftX
           
private  int $upperLeftY
           
private  int $width
           
private static boolean DEBUG
           
 
Constructor Summary
PlaceArmiesVisualizer(PlaceArmiesMouseInput pam)
           
 
Method Summary
 void draw(java.awt.Graphics2D graphics)
          Method for implementing the InformationVisualizer Interface Draws the informationscreen on the boardcanvas to assist the user in placing armies
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

$upperLeftX

private int $upperLeftX

$upperLeftY

private int $upperLeftY

$width

private int $width

$height

private int $height

$pam

private PlaceArmiesMouseInput $pam

DEBUG

private static final boolean DEBUG
See Also:
Constant Field Values
Constructor Detail

PlaceArmiesVisualizer

public PlaceArmiesVisualizer(PlaceArmiesMouseInput pam)
Method Detail

draw

public void draw(java.awt.Graphics2D graphics)
Method for implementing the InformationVisualizer Interface Draws the informationscreen on the boardcanvas to assist the user in placing armies

Specified by:
draw in interface InformationVisualizer