|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectplanet.action.MovePointerAction
public class MovePointerAction
惑星ポインタ移動アクション
フィールドの概要 | |
---|---|
protected PlanetViewCanvas |
canvas
表示キャンバス |
protected int |
displacement
ポインタで指定された惑星のリストインデックス移動量 |
protected int |
index
ポインタのインデックス |
protected static java.util.Comparator |
ORBIT_COMPARATOR
惑星の軌道長半径の比較オブジェクト |
コンストラクタの概要 | |
---|---|
MovePointerAction(PlanetViewCanvas canvas,
int index,
int displacement)
惑星ポインタ移動アクションを構築する |
メソッドの概要 | |
---|---|
void |
doAction()
惑星ポインタを移動する |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected static final java.util.Comparator ORBIT_COMPARATOR
protected PlanetViewCanvas canvas
protected int index
protected int displacement
コンストラクタの詳細 |
---|
public MovePointerAction(PlanetViewCanvas canvas, int index, int displacement)
canvas
- 表示キャンバスindex
- ポインタのインデックスdisplacement
- ポインタで指定された惑星のリストインデックス移動量メソッドの詳細 |
---|
public void doAction()
SimpleAction
内の doAction
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |