|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
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.PFStackBarChartRenderer
積上棒グラフを描画するためのクラス。
フィールドの概要 | |
protected int |
barRatio
一項目分の描画領域に対する、棒の描画領域の割合 |
コンストラクタの概要 | |
PFStackBarChartRenderer(PFChartModel model,
PFChartColor color,
PFCategoryCoordSystem coord)
コンストラクタ。 |
メソッドの概要 | |
boolean |
changeValue(int mousex,
int mousey)
マウスドラッグ時の処理 |
protected void |
createShapeModel()
形状の配列を作成する。 |
boolean |
decideValue(int mousex,
int mousey)
マウスリリース時の処理 |
int |
getBarRatio()
グラフ領域の幅に対する棒の幅の割合を返す。 |
java.awt.Point |
getSelectedIndex(int mousex,
int mousey)
選択された棒の系列・項目のインデックスを返す。 |
int |
getSelectedItemIndex()
選択対象項目インデックスを取得する。 |
int |
getSelectedSeriesIndex()
選択対象系列インデックスを取得する。 |
java.lang.String |
getTooltipText(int mousex,
int mousey)
マウスポインタの位置にある棒の情報を文字列形式で返す。 |
void |
render(java.awt.Graphics2D g)
棒グラフを描画する。 |
boolean |
selectValue(int mousex,
int mousey)
マウスプレス時の処理 |
void |
setBarRatio(int ratio)
グラフ領域の幅に対する棒の幅の割合を設定する。 |
void |
setSelectedIndex(int series,
int item)
選択対象のインデックスを設定する。 |
クラス jp.go.aist.dmrc.platform.beans.gui.chart.render.PFCategoryChartRenderer から継承したメソッド |
getAxis, getBase, getChangeUnit, getCoordSystem, getDisplayExponent, getDisplayMethod, getItemCount, getItemDisplayCount, getItemDisplayStart, getItemPixelPosition, getItemWidth, getNumberAxisOrientation, getTransform, isAxisLogarithm, isChangeEnabled, isFirstItemOnNumberAxis, isRadarChart, isRenderEnabled, setAxis, setAxisLogarithm, 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 |
フィールドの詳細 |
protected int barRatio
コンストラクタの詳細 |
public PFStackBarChartRenderer(PFChartModel model, PFChartColor color, PFCategoryCoordSystem coord)
model
- グラフデータモデルcolor
- 色データcoord
- 軸レンダラー
java.lang.IllegalArgumentException
- 引数がnullの場合メソッドの詳細 |
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 getBarRatio()
public void setBarRatio(int ratio)
ratio
- グラフ領域の幅に対する棒の幅の割合(1-100)
java.lang.IllegalArgumentException
- ratioが1〜100以外の値public void render(java.awt.Graphics2D g)
g
- Graphics2D
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |