Package org.opentrafficsim.animation
Class OtsRenderableLabeled.NoText<L extends OtsShape>
java.lang.Object
org.opentrafficsim.animation.RenderableTextSource<L,OtsRenderableLabeled.NoText<L>>
org.opentrafficsim.animation.OtsRenderableLabeled.NoText<L>
- Type Parameters:
L- source type
- Enclosing class:
- OtsRenderableLabeled<L extends OtsShape,
T extends RenderableTextSource<L, T>>
public static class OtsRenderableLabeled.NoText<L extends OtsShape>
extends RenderableTextSource<L,OtsRenderableLabeled.NoText<L>>
Convenience class to use when the renderable wants to omit having a label. The
OtsRenderableLabeled.createText(L, nl.tudelft.simulation.naming.context.Contextualized, java.lang.String) should return
null.-
Nested Class Summary
Nested classes/interfaces inherited from class org.opentrafficsim.animation.RenderableTextSource
RenderableTextSource.ContrastToBackground, RenderableTextSource.ScaleDependentRendering -
Field Summary
Fields inherited from class org.opentrafficsim.animation.RenderableTextSource
RENDERALWAYS, RENDERWHEN1, RENDERWHEN10, RENDERWHEN100Fields inherited from interface org.opentrafficsim.base.geometry.OtsShape
DEFAULT_POLYGON_SEGMENTS, WORLD_MARGIN_LINE -
Method Summary
Methods inherited from class org.opentrafficsim.animation.RenderableTextSource
destroy, getAbsoluteContour, getColor, getDx, getDy, getFont, getFontSize, getLocation, getRelativeBounds, getRelativeContour, getScaleDependentRendering, getSource, getText, getTextAlignment, getZ, isFlip, isRotate, isScale, isScaleObject, isScaleY, isTranslate, paint, setColor, setDynamic, setFlip, setRotate, setScale, setScaleObject, setScaleY, setText, setTranslate, setXYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opentrafficsim.base.geometry.OtsShape
contains, contains, getAbsoluteBounds, getAbsoluteContour, getDirZ, signedDistance, signedDistance