|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ChartObject
Base interface for all chart objects.
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Cleans this chart object. |
void |
draw(AbstractGraphics g)
Renders chart object on the Graphics context. |
Chart<? extends Projector> |
getChart()
Returns chart associated with this chart object. |
int |
getSortPosition()
Returns chart object paint order index. |
Style |
getStyle()
|
AbstractStyle |
getStyle(StyleType styleType)
Gets style object for the stylesheet attributes specified by style type. |
void |
invalidate()
Invalidates the chart object. |
boolean |
isVisible()
Specifies if a chart object is drawn |
void |
layout(AbstractGraphics g)
Prepares chart object for rendering. |
void |
repaint()
Requests chart object repaint. |
void |
repaint(Rectangle2D r)
Requests a repaint of the object region |
void |
setChart(Chart chart)
Associates this object with a chart. |
| Method Detail |
|---|
void setChart(Chart chart)
chart - the chartChart<? extends Projector> getChart()
void draw(AbstractGraphics g)
g - graphics contextvoid layout(AbstractGraphics g)
g - graphics contextvoid invalidate()
void repaint()
void repaint(Rectangle2D r)
r - repaint regionboolean isVisible()
void dispose()
AbstractStyle getStyle(StyleType styleType)
styleType - style type attributesStyle getStyle()
int getSortPosition()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||