|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectto.tetramorph.starbase.chartparts.ChartParts
to.tetramorph.starbase.chartparts.NumberNeedle
public class NumberNeedle
ホロスコープに数値(たとえば天体のそばでその度数やハウス番号)を 表示する際に使用する。
フィールドの概要 | |
---|---|
static int |
CENTER
|
static int |
INNER
|
static int |
OUTER
|
クラス to.tetramorph.starbase.chartparts.ChartParts から継承されたフィールド |
---|
ascendant, bp, diameter, diameterOffset, roll |
コンストラクタの概要 | |
---|---|
NumberNeedle()
文字針オブジェクトを作成する。 |
|
NumberNeedle(BasePosition bp)
文字針オブジェクトを作成する。 |
メソッドの概要 | |
---|---|
void |
draw()
このオブジェクトにセットされているパラメターにしたがって数字針を描画する。 |
void |
setAlign(int align)
配置位置をセットする。 |
void |
setAngleWithValues(double[] angles,
String[] angleStrings)
描画する位置(角度)と、表示する値をセットする。 |
void |
setColor(Color color)
|
void |
setCusps(double[] cusps)
カスプ表示はsetAngleWithValues()の変わりにこっちを使うと簡単。 |
void |
setDirection(double angle)
文字の向きをセットする。 |
void |
setSymbolSize(float symbolSize)
|
void |
setVOffset(double voffset)
文字列の垂直方向への移動オフセット(±0..1) |
クラス to.tetramorph.starbase.chartparts.ChartParts から継承されたメソッド |
---|
getAscendant, getBasePosition, getDiameter, getDiameterOffset, getRoll, setAscendant, setBasePosition, setDiameter, setDiameterOffset, setRoll |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static final int INNER
public static final int CENTER
public static final int OUTER
コンストラクタの詳細 |
---|
public NumberNeedle()
public NumberNeedle(BasePosition bp)
bp
- BasePositionオブジェクトメソッドの詳細 |
---|
public void setAngleWithValues(double[] angles, String[] angleStrings)
angles
- 表示する角度angleStrings
- 表示する文字列public void setCusps(double[] cusps)
public void setSymbolSize(float symbolSize)
public void draw()
ChartParts
内の draw
public void setAlign(int align)
public void setVOffset(double voffset)
public void setDirection(double angle)
public void setColor(Color color)
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |