public interface ChartLegendItem extends Persistent
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics2D g2,
Rectangle2D area) |
Paint |
getBackground() |
Font |
getItemFont() |
Object |
getLegendItem() |
int |
getXPosition() |
int |
getYPosition() |
boolean |
isVisible() |
void |
setBackground(Paint paint) |
void |
setLegendItem(Object leg) |
void |
setPosition(int x,
int y) |
void |
setPosition(String horizontal,
String vertical) |
void |
setVisible(boolean isVisible) |
loadFromState, saveToState
Object getLegendItem()
void setLegendItem(Object leg)
Paint getBackground()
void setBackground(Paint paint)
void draw(Graphics2D g2, Rectangle2D area)
Font getItemFont()
boolean isVisible()
void setVisible(boolean isVisible)
int getXPosition()
int getYPosition()
void setPosition(int x, int y)