org.gscg.gameleader.animation2D
Class GisLegendRenderable
java.lang.Object
org.gscg.gameleader.animation2D.GisGraphicsRenderable
org.gscg.gameleader.animation2D.GisLegendRenderable
- All Implemented Interfaces:
- nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface, java.io.Serializable
- public class GisLegendRenderable
- extends GisGraphicsRenderable
- implements java.io.Serializable
Displays the legend on a non-remote animation panel.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
Delft, the Netherlands. All rights reserved.
See for project information
www.simulation.tudelft.nl .
The source code and binary code of this software is proprietary information
of Delft University of Technology.
- Since:
- 1.0
- Version:
- $Revision: 1.2 $ $Date: 2005/08/10 11:23:30 $
- Author:
- Stijn-Pieter
van Houten
- See Also:
- Serialized Form
Nested classes inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface |
nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface.Util |
Constructor Summary |
GisLegendRenderable()
constructs a new GisLegendRenderable; this emtpy constructor is needed
for persistency reasons |
GisLegendRenderable(nl.tudelft.simulation.language.d3.DirectedPoint location,
nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator,
java.lang.String contextName)
constructs a new DistributedGisLegendRenderable |
Method Summary |
void |
paint(java.awt.Graphics2D graphics,
java.awt.geom.Rectangle2D rectangle,
java.awt.Dimension dimension,
java.awt.image.ImageObserver observer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GisLegendRenderable
public GisLegendRenderable()
- constructs a new GisLegendRenderable; this emtpy constructor is needed
for persistency reasons
GisLegendRenderable
public GisLegendRenderable(nl.tudelft.simulation.language.d3.DirectedPoint location,
nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator,
java.lang.String contextName)
- constructs a new DistributedGisLegendRenderable
- Parameters:
location
- the locationsimulator
- the simulatorcontextName
- the name of the context to bind the renderale into
should only be used in case of deserialization; should be null
otherwise
paint
public void paint(java.awt.Graphics2D graphics,
java.awt.geom.Rectangle2D rectangle,
java.awt.Dimension dimension,
java.awt.image.ImageObserver observer)
- Specified by:
paint
in interface nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface
- Specified by:
paint
in class GisGraphicsRenderable
- See Also:
Renderable2DInterface.paint(java.awt.Graphics2D,
java.awt.geom.Rectangle2D, java.awt.Dimension,
java.awt.image.ImageObserver)
Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.