public abstract class PFXYChartRenderer extends PFChartRenderer
コンストラクタと説明 |
---|
PFXYChartRenderer(PFChartModel model,
PFChartColor color,
PFXYCoordSystem coord)
コンストラクタ。
|
修飾子とタイプ | メソッドと説明 |
---|---|
abstract boolean |
changeValue(int x,
int y)
グラフ上でグラフ要素を操作しているときの処理。
|
abstract boolean |
decideValue(int x,
int y)
グラフ上で値を決定したときの処理。
|
PFXYCoordSystem |
getCoordSystem()
XY座標軸描画クラスのインスタンスを返す。
|
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()
アフィン変換行列を返す。
|
java.math.BigDecimal |
getXChangeUnit()
値操作時のX軸方向の値変更単位を返す。
|
protected int |
getXDisplayExponent()
X軸の表示桁を返す。
|
protected int |
getXDisplayMethod()
X軸値の表示方法を返す。
|
java.math.BigDecimal |
getYChangeUnit()
値操作時のY軸方向の値変更単位を返す。
|
protected int |
getYDisplayExponent()
Y軸の表示桁を返す。
|
protected int |
getYDisplayMethod()
Y軸値の表示方法を返す。
|
boolean |
isChangeEnabled()
グラフ上での値操作の可否を返す。
|
boolean |
isXAxisLogarithm()
X軸が対数軸かどうかを取得する。
|
boolean |
isYAxisLogarithm()
Y軸が対数軸かどうかを取得する。
|
abstract boolean |
selectValue(int x,
int y)
グラフ上でグラフ要素を選択したときの処理。
|
void |
setChangeEnabled(boolean enabled)
グラフ上での値操作の可否を設定する。
|
void |
setCoordSystem(PFXYCoordSystem coord)
XY座標軸描画クラスのインスタンスを設定する。
|
abstract void |
setSelectedIndex(int series,
int item)
選択対象のインデックスを設定する。
|
void |
setXAxisLogarithm(boolean log)
X軸を対数軸に設定する。
|
void |
setXChangeUnit(java.math.BigDecimal decimal)
値操作時のX軸方向の値変更単位を設定する。
|
void |
setYAxisLogarithm(boolean log)
Y軸を対数軸に設定する。
|
void |
setYChangeUnit(java.math.BigDecimal decimal)
値操作時のY軸方向の値変更単位を設定する。
|
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 PFXYChartRenderer(PFChartModel model, PFChartColor color, PFXYCoordSystem coord)
model
- グラフデータモデルcolor
- グラフ色データcoord
- XY座標軸java.lang.IllegalArgumentException
- model,color,coordのいずれかがnullの場合public abstract int getSelectedSeriesIndex()
public abstract int getSelectedItemIndex()
public abstract void setSelectedIndex(int series, int item)
series
- 系列インデックスitem
- 項目インデックスpublic PFXYCoordSystem getCoordSystem()
setCoordSystem(PFXYCoordSystem)
public void setCoordSystem(PFXYCoordSystem coord)
coord
- XY座標軸描画java.lang.IllegalArgumentException
- coordがnullの場合getCoordSystem()
public boolean isChangeEnabled()
setChangeEnabled(boolean)
public void setChangeEnabled(boolean enabled)
enabled
- グラフ上での値操作を許可する場合trueisChangeEnabled()
public java.math.BigDecimal getXChangeUnit()
setXChangeUnit(BigDecimal)
public void setXChangeUnit(java.math.BigDecimal decimal)
decimal
- 値変更単位java.lang.IllegalArgumentException
- unitが0以下の場合getXChangeUnit()
public java.math.BigDecimal getYChangeUnit()
setYChangeUnit(BigDecimal)
public void setYChangeUnit(java.math.BigDecimal decimal)
decimal
- 値変更単位java.lang.IllegalArgumentException
- unitが0以下の場合getYChangeUnit()
public boolean isXAxisLogarithm()
public boolean isYAxisLogarithm()
public void setXAxisLogarithm(boolean log)
log
- 対数軸true/falsepublic void setYAxisLogarithm(boolean log)
log
- 対数軸true/falseprotected java.awt.geom.AffineTransform getTransform()
PFXYCoordSystem.getTransform()
protected int getXDisplayMethod()
PFXYCoordSystem.getDisplayMethod(int)
protected int getYDisplayMethod()
PFXYCoordSystem.getDisplayMethod(int)
protected int getXDisplayExponent()
PFXYCoordSystem.getDisplayExponent(int)
protected int getYDisplayExponent()
PFXYCoordSystem.getDisplayExponent(int)
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座標)