org.gscg.gameleader.animation2D
Class DistributedGisContentSingleImageRenderable

java.lang.Object
  extended bynl.tudelft.simulation.dsol.animation.D2.Renderable2D
      extended bynl.tudelft.simulation.dsol.animation.D2.ImageRenderable
          extended byorg.gscg.gameleader.animation2D.DistributedSingleImageRenderable
              extended byorg.gscg.gameleader.animation2D.DistributedGisContentSingleImageRenderable
All Implemented Interfaces:
DistributedRenderable2DInterface, nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface, java.io.Serializable

public class DistributedGisContentSingleImageRenderable
extends DistributedSingleImageRenderable

The DistributedGisContentSingleImageRenderable is used to show the contents of a single image renderable on a remote animation panel. How and if the image is displayed depends on the zoom level of the 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 Class Summary
 
Nested classes inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface
nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface.Util
 
Field Summary
 
Fields inherited from class org.gscg.gameleader.animation2D.DistributedSingleImageRenderable
box
 
Fields inherited from class nl.tudelft.simulation.dsol.animation.D2.ImageRenderable
CB, CC, CT, images, imageURLS, LB, LC, LT, orientation, RB, RC, RT
 
Fields inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2D
contextName, flip, rotate, scale, simulator, source, translate
 
Constructor Summary
DistributedGisContentSingleImageRenderable(nl.tudelft.simulation.language.d3.DirectedPoint staticLocation, java.awt.Dimension size, nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator, java.net.URL image)
          constructs a new DistributedGisActorSingleImageRenderable
DistributedGisContentSingleImageRenderable(nl.tudelft.simulation.dsol.animation.LocatableInterface source, nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator, java.net.URL image)
          constructs a new DistributedGisActorSingleImageRenderable
DistributedGisContentSingleImageRenderable(java.awt.geom.Point2D staticLocation, java.awt.Dimension size, nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator, java.net.URL image)
          constructs a new DistributedGisActorSingleImageRenderable
 
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 org.gscg.gameleader.animation2D.DistributedSingleImageRenderable
bind2Context, selectImage, setLocation
 
Methods inherited from class nl.tudelft.simulation.dsol.animation.D2.ImageRenderable
getImages, getOrientation, paint, resolveOrigin, setOrientation
 
Methods inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2D
contains, destroy, getSource, isFlip, isRotate, isScale, isTranslate, setFlip, setRotate, setScale, setTranslate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface
contains, destroy, getSource
 

Constructor Detail

DistributedGisContentSingleImageRenderable

public DistributedGisContentSingleImageRenderable(nl.tudelft.simulation.language.d3.DirectedPoint staticLocation,
                                                  java.awt.Dimension size,
                                                  nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator,
                                                  java.net.URL image)
constructs a new DistributedGisActorSingleImageRenderable

Parameters:
staticLocation - the location
size - the size of the image
simulator - the simulator to use
image - the image name

DistributedGisContentSingleImageRenderable

public DistributedGisContentSingleImageRenderable(nl.tudelft.simulation.dsol.animation.LocatableInterface source,
                                                  nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator,
                                                  java.net.URL image)
constructs a new DistributedGisActorSingleImageRenderable

Parameters:
source - the source
simulator - the simulator to use
image - the image name

DistributedGisContentSingleImageRenderable

public DistributedGisContentSingleImageRenderable(java.awt.geom.Point2D staticLocation,
                                                  java.awt.Dimension size,
                                                  nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator,
                                                  java.net.URL image)
constructs a new DistributedGisActorSingleImageRenderable

Parameters:
staticLocation - the location
size - the size of the image
simulator - the simulator to use
image - the image name
Method Detail

paint

public void paint(java.awt.Graphics2D graphics,
                  java.awt.geom.Rectangle2D rectangle,
                  java.awt.Dimension dimension,
                  java.awt.image.ImageObserver observer)
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.