public class ColorLiteralLegend extends Object implements ParameterLegend
LegendStructure associated to a numeric constant, that is represented as a
ColorLiteral in the SE model.| Constructor and Description |
|---|
ColorLiteralLegend(ColorLiteral literal)
Build a new
RealLiteralLegend that is associated to the
ColorLiteral r. |
| Modifier and Type | Method and Description |
|---|---|
Color |
getColor()
Gets the
Color contained in the inner ColorLiteral. |
ColorLiteral |
getLiteral()
Get the
ColorLiteral associated with this RealLiteralLegend. |
SeParameter |
getParameter()
Gets the
SeParameter that had been used to build this LegendStructure. |
void |
setColor(Color col)
Sets the
Color contained in the inner ColorLiteral. |
public ColorLiteralLegend(ColorLiteral literal)
RealLiteralLegend that is associated to the
ColorLiteral r.literal - the input ColorLiteralpublic ColorLiteral getLiteral()
ColorLiteral associated with this RealLiteralLegend.public Color getColor()
Color contained in the inner ColorLiteral.public void setColor(Color col)
Color contained in the inner ColorLiteral.col - public SeParameter getParameter()
ParameterLegendSeParameter that had been used to build this LegendStructure.getParameter in interface ParameterLegendCopyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.