|
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--com.ogane.xi.Pen
PenクラスはX-Tチャート用のペンです。
X-Tチャート用ペンは色と値を与える事ができる部品です。 X-Tチャートはこのペンを使ってグラフを描きます。 ペンは内部に値を保持し外部から随時値を設定(setValue)及び 参照(getValue)できます。参照すると一番最近に設定された値が 選られます。また、内部には前回参照した時からの最大値と最小値を保持し、 それぞれ随時maximumValue及びminimumValueで読み出す事ができます。
このクラスは JIM(Java Industrial Monitoring Framework)V0.71の仕様に適合しています。
コンストラクタの概要 | |
Pen()
X-Tチャート用のペンを作成します。 |
|
Pen(Color theColor)
X-Tチャート用のペンを作成します。 |
|
Pen(Color theColor,
double theValue)
X-Tチャート用のペンを作成します。 |
メソッドの概要 | |
void |
addNotify()
データリファレンサーをマネージャに接続します。 |
void |
dataValueChanged(DataValueChangeEvent event)
|
Color |
getColor()
ペンの色を返します。 |
Class[][] |
getReferableDataHolderTypeInfo(DataReferencer dataRef)
|
DataReferencer |
getReferencer()
データリファレンサーを返します。 |
double |
getValue()
現在値を返します。 |
double |
maximumValue()
前回値から現在値までの最大値を返します。 |
double |
minimumValue()
前回値から現在値までの最小値を返します。 |
double |
previousValue()
前回値を返します。 |
void |
removeNotify()
データリファレンサーをマネージャから切断します。 |
void |
reset()
ペンを初期化します。 |
void |
setColor(Color theColor)
ペンの色を設定します。 |
void |
setReferencer(DataReferencer newDHR)
データリファレンサーを設定します。 |
void |
setValue(double theValue)
現在値を設定します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public Pen(Color theColor, double theValue)
theColor
- ペンの色theValue
- 初期値public Pen(Color theColor)
theColor
- ペンの色public Pen()
メソッドの詳細 |
public void reset()
public void setValue(double theValue)
Indicator
内の setValue
theValue
- 現在値public void setColor(Color theColor)
theColor
- ペンの色public double getValue()
public double maximumValue()
public double minimumValue()
public double previousValue()
public Color getColor()
public void setReferencer(DataReferencer newDHR)
newDHR
- データリファレンサーpublic DataReferencer getReferencer()
public void addNotify()
public void removeNotify()
public void dataValueChanged(DataValueChangeEvent event)
DataValueChangeListener
内の dataValueChanged
public Class[][] getReferableDataHolderTypeInfo(DataReferencer dataRef)
DataReferencerOwner
内の getReferableDataHolderTypeInfo
|
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Copyright 2000-2010, 大金システム設計事務所. All Rights Reserved.
2660-73 Mawatari, Hitachinaka, Ibaraki, 312-0012 JAPAN.
info@ogane.com