|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jpemartin.jgt.MoveLeftRight
public class MoveLeftRight
| Constructor Summary | |
|---|---|
MoveLeftRight(int maxX)
initialize the left-right movement with the default speed (4) |
|
MoveLeftRight(int maxX,
int speed)
initialize the left-right movement with the given speed |
|
| Method Summary | |
|---|---|
void |
move(java.awt.Rectangle me)
move "moved" by one step |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MoveLeftRight(int maxX)
public MoveLeftRight(int maxX,
int speed)
| Method Detail |
|---|
public void move(java.awt.Rectangle me)
MoveControl
move in interface MoveControl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||