public class TaskSaturationColorer extends Object implements org.opentrafficsim.core.gtu.animation.GTUColorer
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Field and Description |
|---|---|
(package private) static List<org.opentrafficsim.core.gtu.animation.GTUColorer.LegendEntry> |
LEGEND
Legend.
|
(package private) static Color |
MAX
Full.
|
(package private) static Color |
MID
Medium.
|
(package private) static Color |
NA
Not available.
|
(package private) static Color |
SUBCRIT
Zero.
|
| Constructor and Description |
|---|
TaskSaturationColorer() |
| Modifier and Type | Method and Description |
|---|---|
Color |
getColor(org.opentrafficsim.core.gtu.GTU gtu) |
List<org.opentrafficsim.core.gtu.animation.GTUColorer.LegendEntry> |
getLegend() |
String |
toString() |
static final Color MAX
static final Color MID
static final Color SUBCRIT
static final Color NA
static final List<org.opentrafficsim.core.gtu.animation.GTUColorer.LegendEntry> LEGEND
public Color getColor(org.opentrafficsim.core.gtu.GTU gtu)
getColor in interface org.opentrafficsim.core.gtu.animation.GTUColorerpublic List<org.opentrafficsim.core.gtu.animation.GTUColorer.LegendEntry> getLegend()
getLegend in interface org.opentrafficsim.core.gtu.animation.GTUColorerCopyright © 2014–2018 Delft University of Technology. All rights reserved.