public class LegendItem extends Object
Constructor and Description |
---|
LegendItem(Object representedItem) |
Modifier and Type | Method and Description |
---|---|
int |
getFillColor()
Gets the legend item fill color.
|
PropertyChangeListener |
getPropertyChangeListener()
Gets the current
PropertyChangeListener . |
int |
getStrokeColor()
Gets the legend item stroke color.
|
String |
getTitle()
Gets the legend item title.
|
Object |
representedItem() |
void |
setFillColor(int value)
Sets the legend item fill color.
|
void |
setPropertyChangeListener(PropertyChangeListener listener)
Sets the current
PropertyChangeListener . |
void |
setStrokeColor(int value)
Sets the legend item stroke color.
|
void |
setTitle(String value)
Sets the legend item title.
|
String |
toString() |
public LegendItem(Object representedItem)
public PropertyChangeListener getPropertyChangeListener()
PropertyChangeListener
.public void setPropertyChangeListener(PropertyChangeListener listener)
PropertyChangeListener
.public String getTitle()
public void setTitle(String value)
public int getFillColor()
public void setFillColor(int value)
public int getStrokeColor()
public void setStrokeColor(int value)
public Object representedItem()