public class StripeAnimation extends Renderable2D<Stripe> implements ClonableRenderable2DInterface<Stripe>, Serializable
 Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
 $LastChangedDate: 2015-09-14 01:33:02 +0200 (Mon, 14 Sep 2015) $, @version $Revision: 1401 $, by $Author: averbraeck $,
 initial version Oct 17, 2014 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | StripeAnimation.TYPEStripe type. | 
Renderable2DInterface.Util| Constructor and Description | 
|---|
| StripeAnimation(Stripe source,
               SimulatorInterface.TimeDoubleUnit simulator,
               StripeAnimation.TYPE type) | 
| Modifier and Type | Method and Description | 
|---|---|
| ClonableRenderable2DInterface<Stripe> | clone(Stripe newSource,
     SimulatorInterface.TimeDoubleUnit newSimulator)Clone the animation object and register it for the new source on the new simulation. | 
| void | paint(Graphics2D graphics,
     ImageObserver observer) | 
| String | toString() | 
bind2Context, contains, destroy, equals, getSource, hashCode, isFlip, isRotate, isScale, isTranslate, paint, setFlip, setRotate, setScale, setTranslateclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontains, destroy, getSource, paintpublic StripeAnimation(Stripe source, SimulatorInterface.TimeDoubleUnit simulator, StripeAnimation.TYPE type) throws NamingException, RemoteException, OTSGeometryException
source - Stripe; ssimulator - SimulatorInterface.TimeDoubleUnit; stype - TYPE; tNamingException - neRemoteException - on communication failureOTSGeometryException - when something is very wrong with the geometry of the linepublic final void paint(Graphics2D graphics, ImageObserver observer)
paint in class Renderable2D<Stripe>public ClonableRenderable2DInterface<Stripe> clone(Stripe newSource, SimulatorInterface.TimeDoubleUnit newSimulator) throws NamingException, RemoteException
clone in interface ClonableRenderable2DInterface<Stripe>newSource - T; the sourcenewSimulator - SimulatorInterface.TimeDoubleUnit; the simulatorNamingException - when animation context cannot be created or retrievedRemoteException - - when remote context cannot be foundpublic final String toString()
toString in class Renderable2D<Stripe>Copyright © 2014–2019 Delft University of Technology. All rights reserved.