|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectto.tetramorph.starbase.chartparts.ChartParts
public abstract class ChartParts
ホロスコープを描画するための部品クラスを作るときの親クラス。
フィールドの概要 | |
---|---|
protected double |
ascendant
|
protected BasePosition |
bp
|
protected double |
diameter
|
protected double |
diameterOffset
|
protected double |
roll
|
コンストラクタの概要 | |
---|---|
ChartParts()
オブジェクトを作成する |
|
ChartParts(BasePosition bp)
オブジェクトを作成する |
メソッドの概要 | |
---|---|
abstract void |
draw()
この部品を描画する。 |
double |
getAscendant()
|
BasePosition |
getBasePosition()
|
double |
getDiameter()
|
double |
getDiameterOffset()
|
double |
getRoll()
|
void |
setAscendant(double ascendant)
上昇角度を指定する。 |
void |
setBasePosition(BasePosition bp)
BasePositionオブジェクトをセットする。 |
void |
setDiameter(double diameter)
この部品の直径を指定する。 |
void |
setDiameterOffset(double offset)
一時的に円の直径を変更するためのオフセットをセットする。 |
void |
setRoll(double roll)
この部品の回転角をセットする。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected BasePosition bp
protected double roll
protected double ascendant
protected double diameter
protected double diameterOffset
コンストラクタの詳細 |
---|
public ChartParts()
public ChartParts(BasePosition bp)
bp
- BasePositionオブジェクトメソッドの詳細 |
---|
public void setBasePosition(BasePosition bp)
public BasePosition getBasePosition()
public void setRoll(double roll)
public double getRoll()
public void setAscendant(double ascendant)
public double getAscendant()
public void setDiameter(double diameter)
diameter
- 0〜1の値でBasePosition.wの値に対するパーセンテージで指定する。public double getDiameter()
public abstract void draw()
public void setDiameterOffset(double offset)
public double getDiameterOffset()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |