de.jreality.toolsystem
Class ToolEvent

java.lang.Object
  extended by de.jreality.toolsystem.ToolEvent
All Implemented Interfaces:
Serializable

public class ToolEvent
extends Object
implements Serializable

Author:
weissman
See Also:
Serialized Form

Constructor Summary
ToolEvent(Object source, InputSlot device, AxisState axis)
          Deprecated. Use ToolEvent(Object source, long when, InputSlot device, AxisState axis)
ToolEvent(Object source, InputSlot device, DoubleArray trafo)
          Deprecated. Use ToolEvent(Object source, long when, InputSlot device, DoubleArray trafo)
ToolEvent(Object source, long when, InputSlot device, AxisState axis)
           
ToolEvent(Object source, long when, InputSlot device, AxisState axis, DoubleArray trafo)
           
ToolEvent(Object source, long when, InputSlot device, DoubleArray trafo)
           
 
Method Summary
 void consume()
           
 AxisState getAxisState()
           
 InputSlot getInputSlot()
           
 Object getSource()
           
 long getTimeStamp()
           
 DoubleArray getTransformation()
           
 boolean isConsumed()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ToolEvent

public ToolEvent(Object source,
                 InputSlot device,
                 AxisState axis)
Deprecated. Use ToolEvent(Object source, long when, InputSlot device, AxisState axis)


ToolEvent

public ToolEvent(Object source,
                 long when,
                 InputSlot device,
                 AxisState axis)

ToolEvent

public ToolEvent(Object source,
                 InputSlot device,
                 DoubleArray trafo)
Deprecated. Use ToolEvent(Object source, long when, InputSlot device, DoubleArray trafo)


ToolEvent

public ToolEvent(Object source,
                 long when,
                 InputSlot device,
                 DoubleArray trafo)

ToolEvent

public ToolEvent(Object source,
                 long when,
                 InputSlot device,
                 AxisState axis,
                 DoubleArray trafo)
Method Detail

getInputSlot

public InputSlot getInputSlot()

getAxisState

public AxisState getAxisState()

getTransformation

public DoubleArray getTransformation()

getTimeStamp

public long getTimeStamp()

toString

public String toString()
Overrides:
toString in class Object

getSource

public Object getSource()

consume

public void consume()

isConsumed

public boolean isConsumed()