software.common
Class BallotGeometryMap
java.lang.Object
software.common.BallotGeometryMap
public class BallotGeometryMap
- extends java.lang.Object
A wrapper for the Ballot Geometry. Does not handle xml.
- Author:
- stefan
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ballotType
public static Util.BallotType ballotType
BallotGeometryMap
public BallotGeometryMap(BallotGeometry geom,
org.gwu.voting.standardFormat.electionSpecification.ElectionSpecification es)
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()