public abstract class PFChartRenderer extends PFAbstractRenderer
コンストラクタと説明 |
---|
PFChartRenderer() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected abstract void |
createShapeModel()
形状の配列を作成する。
|
protected void |
drawDataLabelInShape(java.awt.Graphics2D g,
java.awt.Shape shape,
java.lang.String message)
グラフ要素内に文字列を表示する。
|
protected void |
drawDataLabelNearShape(java.awt.Graphics2D g,
java.awt.Shape shape,
java.lang.String message)
グラフ要素の近くに文字列を表示する。
|
PFChartColor |
getChartColor()
グラフの色データを返す。
|
PFChartModel |
getChartModel()
グラフのデータモデルを返す。
|
protected int |
getMaxSeriesIndexFromHashMap(java.util.HashMap map)
HashMapに設定されている最大系列インデックスを取得する。
|
protected static java.lang.String |
getRenderProperty(java.lang.String key)
プロパティ値を返す。
|
boolean |
isLabelVisible()
グラフ要素の値の表示有無を返す。
|
void |
setChartColor(PFChartColor color)
グラフの色データを設定する。
|
void |
setChartModel(PFChartModel model)
グラフのデータモデルを設定する。
|
void |
setLabelVisible(boolean visible)
グラフ要素の値の表示有無を設定する。
|
getBackground, getBounds, getFont, getForeground, getInsets, setBackground, setBounds, setFont, setForeground, setInsets
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
render
protected static java.lang.String getRenderProperty(java.lang.String key)
key
- プロパティキーpublic PFChartModel getChartModel()
public void setChartModel(PFChartModel model)
model
- グラフのデータモデルpublic PFChartColor getChartColor()
public void setChartColor(PFChartColor color)
color
- グラフの色データprotected abstract void createShapeModel()
public boolean isLabelVisible()
setLabelVisible(boolean)
public void setLabelVisible(boolean visible)
visible
- 値の表示有無isLabelVisible()
protected void drawDataLabelInShape(java.awt.Graphics2D g, java.awt.Shape shape, java.lang.String message)
g
- Graphics2Dshape
- グラフ要素message
- 表示する文字列protected void drawDataLabelNearShape(java.awt.Graphics2D g, java.awt.Shape shape, java.lang.String message)
g
- Graphics2Dshape
- グラフ要素message
- 表示する文字列protected int getMaxSeriesIndexFromHashMap(java.util.HashMap map)