jp.go.aist.dmrc.platform.beans.gui.chart.render
クラス PFAreaChartRenderer

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.PFAreaChartRenderer
すべての実装されたインタフェース:
java.io.Serializable, PFRenderer

public class PFAreaChartRenderer
extends PFCategoryChartRenderer

面グラフを描画するためのクラス。

関連項目:
直列化された形式

コンストラクタの概要
PFAreaChartRenderer(PFChartModel model, PFChartColor color, PFCategoryCoordSystem coord)
          コンストラクタ。
 
メソッドの概要
 boolean changeValue(int mousex, int mousey)
          マウスドラッグ時の処理
protected  void createShapeModel()
          形状データの配列を生成する。
 boolean decideValue(int mousex, int mousey)
          マウスリリース時の処理
 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 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, getMaxSeriesIndexFromHashMap, 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
 

コンストラクタの詳細

PFAreaChartRenderer

public PFAreaChartRenderer(PFChartModel model,
                           PFChartColor color,
                           PFCategoryCoordSystem coord)
コンストラクタ。

パラメータ:
model - グラフデータモデル
color - 色データ
coord - カテゴリグラフ座標系
メソッドの詳細

getSelectedSeriesIndex

public int getSelectedSeriesIndex()
選択対象系列インデックスを取得する。

定義:
クラス PFCategoryChartRenderer 内の getSelectedSeriesIndex
戻り値:
選択対象系列インデックス

getSelectedItemIndex

public int getSelectedItemIndex()
選択対象項目インデックスを取得する。

定義:
クラス PFCategoryChartRenderer 内の getSelectedItemIndex
戻り値:
選択対象項目インデックス

setSelectedIndex

public void setSelectedIndex(int series,
                             int item)
選択対象のインデックスを設定する。

定義:
クラス PFCategoryChartRenderer 内の setSelectedIndex
パラメータ:
series - 系列インデックス
item - 項目インデックス

selectValue

public boolean selectValue(int mousex,
                           int mousey)
マウスプレス時の処理

定義:
クラス PFCategoryChartRenderer 内の selectValue
パラメータ:
mousex - マウスポインタのX位置
mousey - マウスポインタのY位置
戻り値:
処理を行った場合true

decideValue

public boolean decideValue(int mousex,
                           int mousey)
マウスリリース時の処理

定義:
クラス PFCategoryChartRenderer 内の decideValue
パラメータ:
mousex - マウスポインタのX位置
mousey - マウスポインタのY位置
戻り値:
処理を行った場合true

changeValue

public boolean changeValue(int mousex,
                           int mousey)
マウスドラッグ時の処理

定義:
クラス PFCategoryChartRenderer 内の changeValue
パラメータ:
mousex - マウスポインタのX位置
mousey - マウスポインタのY位置
戻り値:
処理を行った場合true

getSelectedIndex

public java.awt.Point getSelectedIndex(int mousex,
                                       int mousey)
選択された棒の系列・項目のインデックスを返す。

定義:
クラス PFCategoryChartRenderer 内の getSelectedIndex
パラメータ:
mousex - マウスポインタのX位置
mousey - マウスポインタのY位置
戻り値:
選択対象の系列・項目

getTooltipText

public java.lang.String getTooltipText(int mousex,
                                       int mousey)
マウスポインタの位置にある棒の情報を文字列形式で返す。
棒情報をツールチップに表示するのに使う。

定義:
クラス PFCategoryChartRenderer 内の getTooltipText
パラメータ:
mousex - マウスポインタのX位置
mousey - マウスポインタのY位置
戻り値:
ツールチップに表示するテキスト

createShapeModel

protected void createShapeModel()
形状データの配列を生成する。

定義:
クラス PFChartRenderer 内の createShapeModel

render

public void render(java.awt.Graphics2D g)
面グラフの描画処理

パラメータ:
g - Graphics2D