public static class GTUColorer.LegendEntry extends Object implements Serializable
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
LegendEntry(Color color,
String name,
String description)
Construct a new LegendEntry.
|
| Modifier and Type | Method and Description |
|---|---|
Color |
getColor() |
String |
getDescription() |
String |
getName() |
String |
toString() |
public LegendEntry(Color color, String name, String description)
color - Color; the color of the new LegendEntryname - String; the name of the new LegendEntry (should be terse)description - String; description of the new LegendEntry (may use HTML)Copyright © 2014–2016 Delft University of Technology. All rights reserved.