org.malai.interaction
Class MoveTransition
java.lang.Object
org.malai.interaction.Transition
org.malai.interaction.PointingDeviceTransition
org.malai.interaction.MoveTransition
- All Implemented Interfaces:
- ITransition
- Direct Known Subclasses:
- DnD.Move4DnD
public class MoveTransition
- extends PointingDeviceTransition
This transition corresponds to a move of a button of a pointing device.
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.
06/01/2010
- Since:
- 0.1
- Author:
- Arnaud BLOUIN
Field Summary |
protected boolean |
pressed
Defines if a button is pressed while the pointing device is moving. |
Method Summary |
boolean |
isPressed()
|
void |
setPressed(boolean pressed)
Defines if a button is pressed while the pointing device is moving. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
pressed
protected boolean pressed
- Defines if a button is pressed while the pointing device is moving.
MoveTransition
public MoveTransition(SourceableState inputState,
TargetableState outputState)
Transition.Transition(SourceableState, TargetableState)
isPressed
public boolean isPressed()
- Returns:
- Defines if a button is pressed while the pointing device is moving.
- Since:
- 0.1
setPressed
public void setPressed(boolean pressed)
- Defines if a button is pressed while the pointing device is moving.
- Parameters:
pressed
- True: a button is pressed while the pointing device is moving.- Since:
- 0.1