|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.malai.action.Action
org.malai.action.library.PositionAction
public abstract class PositionAction
Defines an abstract action that move an object to the given position.
This file is part of Malai.
Copyright (c) 2009-2012 Arnaud BLOUIN
Malai is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later version.
Malai is distributed without any warranty; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
12/20/2010
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.malai.action.Action |
---|
Action.ActionStatus |
Field Summary | |
---|---|
protected double |
px
The X-coordinate of the location to zoom. |
protected double |
py
The Y-coordinate of the location to zoom. |
Fields inherited from class org.malai.action.Action |
---|
status |
Constructor Summary | |
---|---|
PositionAction()
Creates the action. |
Method Summary | |
---|---|
boolean |
canDo()
|
void |
setPx(double px)
|
void |
setPy(double py)
|
Methods inherited from class org.malai.action.Action |
---|
abort, cancelledBy, doActionBody, doIt, done, flush, getStatus, hadEffect, isDone, isRegisterable, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected double px
protected double py
Constructor Detail |
---|
public PositionAction()
Method Detail |
---|
public boolean canDo()
canDo
in class Action
public void setPx(double px)
px
- The x-coordinate to set.public void setPy(double py)
py
- The y-coordinate to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |