org.gscg.gameleader.animation2D
Class DistributedGisLegendRenderable
java.lang.Object
org.gscg.gameleader.animation2D.GisGraphicsRenderable
org.gscg.gameleader.animation2D.DistributedGisLegendRenderable
- All Implemented Interfaces:
- DistributedRenderable2DInterface, nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface, java.io.Serializable
- public class DistributedGisLegendRenderable
- extends GisGraphicsRenderable
- implements DistributedRenderable2DInterface
Displays the legend on a 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.8
- Version:
- $Revision: 1.1 $ $Date: 2005/06/16 12:34:02 $
- 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 |
DistributedGisLegendRenderable(nl.tudelft.simulation.language.d3.DirectedPoint location,
nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
constructs a new DistributedGisLegendRenderable |
Method Summary |
protected void |
bindToContext(java.lang.String contextName)
binds the renderable to the context |
void |
paint(java.awt.Graphics2D graphics,
java.awt.geom.Rectangle2D rectangle,
java.awt.Dimension dimension,
java.awt.image.ImageObserver observer)
|
void |
setLocation(nl.tudelft.simulation.language.d3.DirectedPoint location)
sets the location of an object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface |
contains, destroy, getSource |
DistributedGisLegendRenderable
public DistributedGisLegendRenderable(nl.tudelft.simulation.language.d3.DirectedPoint location,
nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
- constructs a new DistributedGisLegendRenderable
- Parameters:
location
- the locationsimulator
- the simulator
bindToContext
protected void bindToContext(java.lang.String contextName)
- Description copied from class:
GisGraphicsRenderable
- binds the renderable to the context
- Overrides:
bindToContext
in class GisGraphicsRenderable
- Parameters:
contextName
- the name of the context to use, may be null- See Also:
GisGraphicsRenderable.bindToContext(java.lang.String)
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)
setLocation
public void setLocation(nl.tudelft.simulation.language.d3.DirectedPoint location)
throws java.rmi.RemoteException
- Description copied from interface:
DistributedRenderable2DInterface
- sets the location of an object
- Specified by:
setLocation
in interface DistributedRenderable2DInterface
- Parameters:
location
- the location
- Throws:
java.rmi.RemoteException
- on network failure- See Also:
DistributedRenderable2DInterface.setLocation(nl.tudelft.simulation.language.d3.DirectedPoint)
Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.