|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.go.aist.dmrc.platform.beans.gui.chart.render.PFAbstractRenderer jp.go.aist.dmrc.platform.beans.gui.chart.render.PFChartRenderer jp.go.aist.dmrc.platform.beans.gui.chart.render.PFCategoryChartRenderer jp.go.aist.dmrc.platform.beans.gui.chart.render.PFCandleChartRenderer
ろうそく足グラフを描画するためのクラス。
コンストラクタの概要 | |
PFCandleChartRenderer(PFChartModel model,
PFChartColor color,
PFCategoryCoordSystem coord)
コンストラクタ。 |
メソッドの概要 | |
boolean |
changeValue(int mousex,
int mousey)
マウスドラッグ時の処理 |
protected void |
createShapeModel()
形状の配列を作成する。 |
boolean |
decideValue(int mousex,
int mousey)
マウスリリース時の処理 |
int |
getCandleWidthRatio()
ろうそく幅の割合を返す。 |
java.awt.Color |
getDownwardColor(int series)
データ下降時(始値>終値)のろうそくの色を返す。 |
java.awt.Point |
getSelectedIndex(int mousex,
int mousey)
選択された棒の系列・項目のインデックスを返す。 |
int |
getSelectedItemIndex()
選択対象項目インデックスを取得する。 |
int |
getSelectedSeriesIndex()
選択対象系列インデックスを取得する。 |
java.lang.String |
getTooltipText(int mousex,
int mousey)
マウスポインタの位置にある棒の情報を文字列形式で返す。 |
java.awt.Color |
getUpwardColor(int series)
データ上昇時(始値≦終値)のろうそくの色を返す。 |
int |
getWickWidthRatio()
ろうそくの芯の太さの割合を返す。 |
void |
render(java.awt.Graphics2D g)
棒グラフを描画する。 |
boolean |
selectValue(int mousex,
int mousey)
マウスプレス時の処理 |
void |
setCandleWidthRatio(int ratio)
ろうそく幅の割合を設定する。 |
void |
setDownwardColor(java.awt.Color color,
int series)
データ下降時(始値>終値)のろうそくの色を設定する。 |
void |
setSelectedIndex(int series,
int item)
選択対象のインデックスを設定する。 |
void |
setUpwardColor(java.awt.Color color,
int series)
データ上昇時(始値≦終値)のろうそくの色を設定する。 |
void |
setWickWidthRatio(int ratio)
ろうそくの芯の太さの割合を設定する。 |
クラス jp.go.aist.dmrc.platform.beans.gui.chart.render.PFCategoryChartRenderer から継承したメソッド |
getAxis, getBase, getChangeUnit, getCoordSystem, getDisplayExponent, getDisplayMethod, getItemDisplayCount, getItemDisplayStart, getItemPixelPosition, getItemWidth, getNumberAxisOrientation, getTransform, isChangeEnabled, isFirstItemOnNumberAxis, isRenderEnabled, setAxis, setChangeEnabled, setChangeUnit, setCoordSystem |
クラス jp.go.aist.dmrc.platform.beans.gui.chart.render.PFChartRenderer から継承したメソッド |
drawDataLabelInShape, drawDataLabelNearShape, getChartColor, getChartModel, getRenderProperty, isLabelVisible, setChartColor, setChartModel, setLabelVisible |
クラス 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 PFCandleChartRenderer(PFChartModel model, PFChartColor color, PFCategoryCoordSystem coord)
model
- グラフデータモデルcolor
- 色データcoord
- 系列グラフ座標軸メソッドの詳細 |
protected void createShapeModel()
PFChartRenderer
内の createShapeModel
public int getSelectedSeriesIndex()
PFCategoryChartRenderer
内の getSelectedSeriesIndex
public int getSelectedItemIndex()
PFCategoryChartRenderer
内の getSelectedItemIndex
public void setSelectedIndex(int series, int item)
PFCategoryChartRenderer
内の setSelectedIndex
series
- 系列インデックスitem
- 項目インデックスpublic boolean selectValue(int mousex, int mousey)
PFCategoryChartRenderer
内の selectValue
mousex
- マウスポインタのX位置mousey
- マウスポインタのY位置
public boolean decideValue(int mousex, int mousey)
PFCategoryChartRenderer
内の decideValue
mousex
- マウスポインタのX位置mousey
- マウスポインタのY位置
public boolean changeValue(int mousex, int mousey)
PFCategoryChartRenderer
内の changeValue
mousex
- マウスポインタのX位置mousey
- マウスポインタのY位置
public java.awt.Point getSelectedIndex(int mousex, int mousey)
PFCategoryChartRenderer
内の getSelectedIndex
mousex
- マウスポインタのX位置mousey
- マウスポインタのY位置
public java.lang.String getTooltipText(int mousex, int mousey)
PFCategoryChartRenderer
内の getTooltipText
mousex
- マウスポインタのX位置mousey
- マウスポインタのY位置
public int getCandleWidthRatio()
public void setCandleWidthRatio(int ratio)
ratio
- ろうそく幅の割合(1-100)
java.lang.IllegalArgumentException
- ratioが1〜100以外の場合public int getWickWidthRatio()
public void setWickWidthRatio(int ratio)
ratio
- ろうそくの芯の太さの割合(1-100)
java.lang.IllegalArgumentException
- ratioが1〜100以外の場合public java.awt.Color getUpwardColor(int series)
series
- 系列インデックス
public void setUpwardColor(java.awt.Color color, int series)
color
- ろうそくの色series
- 系列インデックスpublic java.awt.Color getDownwardColor(int series)
series
- 系列インデックス
public void setDownwardColor(java.awt.Color color, int series)
color
- ろうそくの色series
- 系列インデックスpublic void render(java.awt.Graphics2D g)
g
- Graphics2D
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |