software.common
Class BallotGeometryMap

java.lang.Object
  extended by software.common.BallotGeometryMap

public class BallotGeometryMap
extends java.lang.Object

A wrapper for the Ballot Geometry. Does not handle xml.

Author:
stefan

Field Summary
static Util.BallotType ballotType
           
 
Constructor Summary
BallotGeometryMap(BallotGeometry geom, org.gwu.voting.standardFormat.electionSpecification.ElectionSpecification es)
           
 
Method Summary
 double getHeight()
           
 java.awt.geom.Point2D.Double getLowerAlignment()
           
 java.util.TreeMap<java.lang.Integer,java.util.TreeMap<java.lang.Integer,java.util.TreeMap<java.lang.Integer,Cluster>>> getMarkedContests()
           
 int getNoDigitsInserial()
           
 java.awt.geom.Rectangle2D.Double getSerialBottomRectangle()
           
 Cluster getSerialBulleted()
           
 java.awt.geom.Rectangle2D.Double getSerialTopRectangle()
           
 java.awt.geom.Point2D.Double getUpperAlignment()
           
 double getWidth()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ballotType

public static Util.BallotType ballotType
Constructor Detail

BallotGeometryMap

public BallotGeometryMap(BallotGeometry geom,
                         org.gwu.voting.standardFormat.electionSpecification.ElectionSpecification es)
Method Detail

getLowerAlignment

public java.awt.geom.Point2D.Double getLowerAlignment()

getNoDigitsInserial

public int getNoDigitsInserial()

getSerialBottomRectangle

public java.awt.geom.Rectangle2D.Double getSerialBottomRectangle()

getSerialTopRectangle

public java.awt.geom.Rectangle2D.Double getSerialTopRectangle()

getUpperAlignment

public java.awt.geom.Point2D.Double getUpperAlignment()

getMarkedContests

public java.util.TreeMap<java.lang.Integer,java.util.TreeMap<java.lang.Integer,java.util.TreeMap<java.lang.Integer,Cluster>>> getMarkedContests()

getWidth

public double getWidth()

getHeight

public double getHeight()

getSerialBulleted

public Cluster getSerialBulleted()