OptaPlanner distribution 6.2.1-SNAPSHOT

org.optaplanner.examples.vehiclerouting.swingui
Class VehicleRoutingSolutionPainter

java.lang.Object
  extended by org.optaplanner.examples.vehiclerouting.swingui.VehicleRoutingSolutionPainter

public class VehicleRoutingSolutionPainter
extends Object


Constructor Summary
VehicleRoutingSolutionPainter()
           
 
Method Summary
 Graphics2D createCanvas(double width, double height)
           
 BufferedImage getCanvas()
           
 LatitudeLongitudeTranslator getTranslator()
           
 void reset(VehicleRoutingSolution solution, Dimension size, ImageObserver imageObserver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleRoutingSolutionPainter

public VehicleRoutingSolutionPainter()
Method Detail

getCanvas

public BufferedImage getCanvas()

getTranslator

public LatitudeLongitudeTranslator getTranslator()

reset

public void reset(VehicleRoutingSolution solution,
                  Dimension size,
                  ImageObserver imageObserver)

createCanvas

public Graphics2D createCanvas(double width,
                               double height)

OptaPlanner distribution 6.2.1-SNAPSHOT

Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.