|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.sprig.chart.layout.ChartLayoutAdapter
public abstract class ChartLayoutAdapter
An abstract chart layout adapter.
| Field Summary |
|---|
| Fields inherited from interface org.norther.tammi.sprig.chart.layout.ChartLayout |
|---|
AREA_CHART, BAR_3D_CHART, BAR_CHART, BOTTOM, BOTTOM_LEFT, BOTTOM_RIGHT, CENTER, CORNER, DATE_AREA_CHART, DATE_LINE_CHART, HORIZONTAL, LEFT, LINE_3D_CHART, LINE_CHART, MULTI_PIE_3D_CHART, MULTI_PIE_CHART, PIE_3D_CHART, PIE_CHART, RIGHT, STACKED_AREA_CHART, STACKED_BAR_3D_CHART, STACKED_BAR_CHART, STACKED_DATE_AREA_CHART, STACKED_XY_AREA_CHART, TOP, TOP_LEFT, TOP_RIGHT, VERTICAL, XY_AREA_CHART, XY_LINE_CHART |
| Constructor Summary | |
|---|---|
ChartLayoutAdapter(int type,
Object chart)
Constructs a new adapter. |
|
| Method Summary | |
|---|---|
Object |
getChart()
Gets the implementation specific chart. |
int |
getChartType()
Gets the type of the chart. |
String |
getFontFace()
Gets the font face. |
int |
getFontSize()
Gets the font size. |
int |
getHeight()
Gets the height. |
int |
getWidth()
Gets the width. |
void |
setFontFace(String fn)
Sets the font face. |
void |
setFontSize(int fs)
Sets the font size. |
void |
setHeight(int h)
Sets the height. |
void |
setWidth(int w)
Sets the width. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChartLayoutAdapter(int type,
Object chart)
type - the chart type.chart - the chart adaptee.| Method Detail |
|---|
public Object getChart()
ChartLayout
getChart in interface ChartLayoutpublic int getChartType()
ChartLayout
getChartType in interface ChartLayoutpublic int getWidth()
ChartLayout
getWidth in interface ChartLayoutpublic void setWidth(int w)
ChartLayout
setWidth in interface ChartLayoutw - the width.public int getHeight()
ChartLayout
getHeight in interface ChartLayoutpublic void setHeight(int h)
ChartLayout
setHeight in interface ChartLayouth - the height.public String getFontFace()
ChartLayout
getFontFace in interface ChartLayoutpublic void setFontFace(String fn)
ChartLayout
setFontFace in interface ChartLayoutfn - the font name.public int getFontSize()
ChartLayout
getFontSize in interface ChartLayoutpublic void setFontSize(int fs)
ChartLayout
setFontSize in interface ChartLayoutfs - the font size in points.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||