@Equality public class LegendEntry extends java.lang.Object
| Constructor and Description |
|---|
LegendEntry(java.lang.String label,
Style style)
Constructs a legend entry for a single style.
|
LegendEntry(java.lang.String label,
Style[] styles)
Constructs a legend entry for a group of styles.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
javax.swing.Icon |
getIcon()
Returns the icon associated with this entry.
|
java.lang.String |
getLabel()
Returns the text label associated with this entry.
|
int |
hashCode() |
public LegendEntry(java.lang.String label,
Style[] styles)
label - dataset labelstyles - dataset stylespublic LegendEntry(java.lang.String label,
Style style)
style - dataset stylelabel - dataset labelpublic javax.swing.Icon getIcon()
public java.lang.String getLabel()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.