|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectto.tetramorph.starbase.lib.Caption
public class Caption
WardBalloonで表示する天体やアスペクトの短い説明文を、AspectやBodyオブジェクト などから生成するstaticメソッド群。
メソッドの概要 | |
---|---|
static String |
getAspectCaption(Aspect a)
シングルチャートにおけるアスペクトの説明文を返す。 |
static String |
getAspectCaption(Aspect a,
String[] groups)
NPT三重円におけるアスペクトの説明文を返す。 |
static String |
getAspectSymbolCaption(Aspect a)
アスペクトシンボルの名前と角度を返す。 |
static String |
getAspectSymbolCaption(int aid)
アスペクトシンボルの名前と角度を返す。 |
static String |
getBodyCaption(Body b)
シングルチャートにおける天体の内容の説明文(日本語)を返す。 |
static String |
getBodyCaption(Body b,
String[] groups)
NPT三重円における天体の説明文を返す。 |
static String |
getSabianCaption(Body p,
int lang)
吹き出し用にHTML書式のサビアンメッセージを返す。 |
static String |
getSabianCaption(Body p,
int lang,
String[] groups)
吹き出し用にHTML書式のサビアンメッセージを返す。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
メソッドの詳細 |
---|
public static String getAspectCaption(Aspect a)
public static String getAspectCaption(Aspect a, String[] groups)
a
- アスペクトオブジェクトgroups
- 各天体のグループ名を格納した配列。nullの場合、グループ名は
除外される。public static String getAspectSymbolCaption(int aid)
aid
- Constで定義されるアスペクトIDpublic static String getAspectSymbolCaption(Aspect a)
a
- アスペクトpublic static String getBodyCaption(Body b)
public static String getBodyCaption(Body b, String[] groups)
groups
- {"N","P","T"}などを指定する。public static String getSabianCaption(Body p, int lang, String[] groups)
p
- 天体位置が入っている感受点オブジェクトlang
- Sabian.JPまたはSabian.ENで日本語/英語の切替groups
- Body#groupに応じてN,P,T等の識別文字を配列で指定する。public static String getSabianCaption(Body p, int lang)
p
- 天体位置が入っている感受点オブジェクトlang
- Sabian.JPまたはSabian.ENで日本語/英語の切替
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |