public abstract class PFCategoryChartRenderer extends PFChartRenderer
コンストラクタと説明 |
---|
PFCategoryChartRenderer()
コンストラクタ。
|
PFCategoryChartRenderer(PFChartModel model,
PFChartColor color,
PFCategoryCoordSystem coord)
コンストラクタ。
|
修飾子とタイプ | メソッドと説明 |
---|---|
abstract boolean |
changeValue(int x,
int y)
グラフ上でグラフ要素を操作しているときの処理。
|
abstract boolean |
decideValue(int x,
int y)
グラフ上で値を決定したときの処理。
|
int |
getAxis()
軸の種別(第一数値軸/第二数値軸)を返す。
|
protected long |
getBase()
基準値を返す。
|
java.math.BigDecimal |
getChangeUnit()
値操作時の値変更単位を返す。
|
PFCategoryCoordSystem |
getCoordSystem()
系列グラフ座標軸を返す。
|
protected int |
getDisplayExponent()
表示桁位置を取得する。
|
protected int |
getDisplayMethod()
表示方法を取得する。
|
protected int |
getItemCount()
項目数を取得する。
|
protected int |
getItemDisplayCount()
表示項目数を取得する。
|
protected int |
getItemDisplayStart()
表示開始項目を取得する。
|
protected double |
getItemPixelPosition(int item)
項目を表示する位置(X座標)を返す。
|
protected double |
getItemWidth()
項目幅を取得する。
|
protected int |
getNumberAxisOrientation()
数値軸の方向を返す。
|
abstract java.awt.Point |
getSelectedIndex(int x,
int y)
グラフ上で選択されたグラフ要素のインデックスを返す。
|
abstract int |
getSelectedItemIndex()
選択対象項目インデックスを取得する。
|
abstract int |
getSelectedSeriesIndex()
選択対象系列インデックスを取得する。
|
abstract java.lang.String |
getTooltipText(int x,
int y)
グラフ上で選択されたグラフ要素のツールチップテキストを返す。
|
protected java.awt.geom.AffineTransform |
getTransform()
アフィン変換行列を返す。
|
boolean |
isAxisLogarithm()
対数軸かどうかを取得する。
|
boolean |
isChangeEnabled()
グラフ上での値操作の可否を返す。
|
protected boolean |
isFirstItemOnNumberAxis()
第一項目を数値軸上に配置するかどうかを取得する。
|
boolean |
isRadarChart()
レーダ軸かどうかを取得する。
|
protected boolean |
isRenderEnabled()
グラフ描画可能かどうかを返す。
|
abstract boolean |
selectValue(int x,
int y)
グラフ上でグラフ要素を選択したときの処理。
|
void |
setAxis(int axis)
軸の種別(第一数値軸/第二数値軸)を設定する。
|
void |
setAxisLogarithm(boolean log)
対数軸を設定する。
|
void |
setChangeEnabled(boolean enabled)
グラフ上での値操作の可否を設定する。
|
void |
setChangeUnit(java.math.BigDecimal decimal)
値操作時の値変更単位を設定する。
|
void |
setCoordSystem(PFCategoryCoordSystem coord)
系列グラフ座標軸を設定する。
|
abstract void |
setSelectedIndex(int series,
int item)
選択対象のインデックスを設定する。
|
createShapeModel, drawDataLabelInShape, drawDataLabelNearShape, getChartColor, getChartModel, getMaxSeriesIndexFromHashMap, getRenderProperty, isLabelVisible, setChartColor, setChartModel, setLabelVisible
getBackground, getBounds, getFont, getForeground, getInsets, setBackground, setBounds, setFont, setForeground, setInsets
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
render
public PFCategoryChartRenderer()
public PFCategoryChartRenderer(PFChartModel model, PFChartColor color, PFCategoryCoordSystem coord)
model
- グラフデータモデルcolor
- グラフ色データcoord
- カテゴリグラフ座標系java.lang.IllegalArgumentException
- model,color,coordのいずれかがnullの場合public PFCategoryCoordSystem getCoordSystem()
setCoordSystem(PFCategoryCoordSystem)
public void setCoordSystem(PFCategoryCoordSystem coord)
coord
- 系列グラフ座標軸getCoordSystem()
protected boolean isRenderEnabled()
public int getAxis()
setAxis(int)
public void setAxis(int axis)
PFChartUtility.FIRST_AXIS
… 第一数値軸
PFChartUtility.SECOND_AXIS
… 第二数値軸
axis
- 軸の種別java.lang.IllegalArgumentException
- 軸の種別が適切でない場合getAxis()
public boolean isChangeEnabled()
setChangeEnabled(boolean)
public void setChangeEnabled(boolean enabled)
enabled
- グラフ上での値操作の可否isChangeEnabled()
public java.math.BigDecimal getChangeUnit()
setChangeUnit(BigDecimal)
public void setChangeUnit(java.math.BigDecimal decimal)
decimal
- 値変更単位java.lang.IllegalArgumentException
- unitが0以下の場合getChangeUnit()
protected java.awt.geom.AffineTransform getTransform()
PFCategoryCoordSystem.getTransform(int)
protected long getBase()
PFCategoryCoordSystem.getBase(int)
protected int getNumberAxisOrientation()
PFCategoryCoordSystem.getNumberAxisOrientation()
protected double getItemPixelPosition(int item)
item
- 項目インデックスPFCategoryCoordSystem.getItemPixelPosition(int)
protected double getItemWidth()
protected int getItemDisplayStart()
protected int getItemDisplayCount()
protected int getItemCount()
protected boolean isFirstItemOnNumberAxis()
protected int getDisplayMethod()
protected int getDisplayExponent()
public boolean isAxisLogarithm()
public void setAxisLogarithm(boolean log)
log
- 対数軸true/false
axisは第1軸に設定されている.public boolean isRadarChart()
public abstract int getSelectedSeriesIndex()
public abstract int getSelectedItemIndex()
public abstract void setSelectedIndex(int series, int item)
series
- 系列インデックスitem
- 項目インデックスpublic abstract java.lang.String getTooltipText(int x, int y)
x
- 現在のマウスの位置(X座標)y
- 現在のマウスの位置(Y座標)public abstract java.awt.Point getSelectedIndex(int x, int y)
x
- 現在のマウスの位置(X座標)y
- 現在のマウスの位置(Y座標)public abstract boolean selectValue(int x, int y)
x
- マウスボタンが押された位置(X座標)y
- マウスボタンが押された位置(Y座標)public abstract boolean changeValue(int x, int y)
x
- 現在のマウスの位置(X座標)y
- 現在のマウスの位置(Y座標)public abstract boolean decideValue(int x, int y)
x
- 左マウスボタンが離された位置(X座標)y
- 左マウスボタンが離された位置(Y座標)