|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.engine.LegendEntry
public class LegendEntry extends java.lang.Object implements java.io.Serializable
Legend entry. Binds legend symbol to a text label.
| Constructor and Description |
|---|
LegendEntry(java.lang.String label,
LegendSymbol symbol)
Constructs a new LegendEntry with the specified text label and legend symbol. |
LegendEntry(java.lang.String startlabel,
java.lang.String endLabel,
LegendSymbol symbol)
Constructs a new LegendEntry with the specified text labels and legend symbol. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEndLabel()
Gets the text label of the legend entry range end (used for ColorScaleLegend. |
java.lang.String |
getLabel()
Gets the text label of the legend entry. |
ChartEntity |
getReferencedEntity()
Gets the chart entity referenced by the legend symbol. |
LegendSymbol |
getSymbol()
Gets the legend symbol of the legend entry. |
void |
setLabel(java.lang.String label)
Sets the specified text label to the legend entry. |
void |
setReferencedEntity(ChartEntity referencedEntity)
Sets the referenced chart entity for the legend symbol. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LegendEntry(java.lang.String label,
LegendSymbol symbol)
LegendEntry with the specified text label and legend symbol.
label - the label of legend entrysymbol - the symbol of legend entry
public LegendEntry(java.lang.String startlabel,
java.lang.String endLabel,
LegendSymbol symbol)
LegendEntry with the specified text labels and legend symbol.
startlabel - the start label of legend entryendLabel - the end label of legend entrysymbol - the symbol of legend entry| Method Detail |
|---|
public void setLabel(java.lang.String label)
label - the labelpublic java.lang.String getLabel()
public java.lang.String getEndLabel()
public LegendSymbol getSymbol()
public void setReferencedEntity(ChartEntity referencedEntity)
referencedEntity - the referenced chart entitypublic ChartEntity getReferencedEntity()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||