|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectHashSet
net.moioli.chart.AbstractChart
net.moioli.chart.DefaultChart
public class DefaultChart
A simple yet complete implementation of the ChartI interface. It includes the xy axes, the MoioChart logo and a Legend by default.
DrawableI
,
GraphicsI
Constructor Summary | |
---|---|
DefaultChart()
Builds an empty DefaultChart. |
|
DefaultChart(Collection c)
Builds an DefaultChart with the specified objects. |
Method Summary | |
---|---|
void |
drawMe(GraphicsI g,
IntRectangle clip)
Draws this DefaultChart on the passed GraphicsI surface. |
Methods inherited from class net.moioli.chart.AbstractChart |
---|
add, getMaxX, getMaxY, getMinX, getMinY, getPixelAccuracy, setMaxX, setMaxY, setMinX, setMinY, setPixelAccuracy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.moioli.chart.ChartI |
---|
add, getMaxX, getMaxY, getMinX, getMinY, getPixelAccuracy, setMaxX, setMaxY, setMinX, setMinY, setPixelAccuracy |
Constructor Detail |
---|
public DefaultChart()
public DefaultChart(Collection c)
c
- Collection of DrawableI objectsMethod Detail |
---|
public void drawMe(GraphicsI g, IntRectangle clip)
ChartI
drawMe
in interface ChartI
drawMe
in class AbstractChart
g
- the surface where this DefaultChart will be drawnclip
- the clipping rectangle to be used for drawingChartI.drawMe(net.moioli.chart.GraphicsI, net.moioli.chart.IntRectangle)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |