|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.go.aist.dmrc.platform.beans.gui.chart.render.PFAbstractRenderer jp.go.aist.dmrc.platform.beans.gui.chart.render.PFTitleRenderer jp.go.aist.dmrc.platform.beans.gui.chart.PFChartLegend
系列を描画するためのクラス。
コンストラクタの概要 | |
PFChartLegend(PFChartModel[] model,
PFChartColor[] color)
コンストラクタ。 |
|
PFChartLegend(PFChartModel model,
PFChartColor color)
コンストラクタ。 |
メソッドの概要 | |
int |
getAlignment()
凡例内の凡例表示位置(上寄せ、中央、下寄せ)を返す。 |
PFChartColor[] |
getChartColor()
グラフ色データを返す。 |
PFChartModel[] |
getChartModel()
グラフデータモデルを返す。 |
int |
getWidth(java.awt.Graphics2D g)
凡例の幅を返す。 |
boolean |
isVisible()
表示有無を返す。 |
void |
render(java.awt.Graphics2D g)
系列を描画する。 |
void |
setAlignment(int align)
凡例内の凡例表示位置(上寄せ、中央、下寄せ)を設定する。 |
void |
setChartData(PFChartModel[] model,
PFChartColor[] color)
グラフデータ・グラフ色データを設定する。 |
void |
setChartData(PFChartModel model,
PFChartColor color)
グラフデータ・グラフ色データを設定する。 |
void |
setVisible(boolean visible)
表示有無を設定する。 |
クラス jp.go.aist.dmrc.platform.beans.gui.chart.render.PFTitleRenderer から継承したメソッド |
getTitle, isTitleVisible, setTitle, setTitleVisible |
クラス jp.go.aist.dmrc.platform.beans.gui.chart.render.PFAbstractRenderer から継承したメソッド |
getBackground, getBounds, getFont, getForeground, getInsets, setBackground, setBounds, setFont, setForeground, setInsets |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public PFChartLegend(PFChartModel[] model, PFChartColor[] color)
model
- グラフデータモデルcolor
- グラフ色データpublic PFChartLegend(PFChartModel model, PFChartColor color)
model
- グラフデータモデルcolor
- グラフ色データメソッドの詳細 |
public boolean isVisible()
public void setVisible(boolean visible)
visible
- 表示有無public int getAlignment()
public void setAlignment(int align)
align
- 凡例表示位置
java.lang.IllegalArgumentException
- alignが予期せぬ値の場合public void setChartData(PFChartModel[] model, PFChartColor[] color)
model
- グラフデータモデルcolor
- グラフ色データ
java.lang.IllegalArgumentException
- 引数がnullの場合
java.lang.IllegalArgumentException
- modelの配列長とcolorの配列長が異なる場合public void setChartData(PFChartModel model, PFChartColor color)
model
- グラフデータモデルcolor
- グラフ色データpublic PFChartModel[] getChartModel()
public PFChartColor[] getChartColor()
public int getWidth(java.awt.Graphics2D g)
g
- Graphics2D
public void render(java.awt.Graphics2D g)
g
- Graphics2D
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |