de.jreality.scene.tool
Class InputSlot

java.lang.Object
  extended by de.jreality.scene.tool.InputSlot
All Implemented Interfaces:
Serializable

public class InputSlot
extends Object
implements Serializable

Abstract input device, addressed via a logical name.

See Also:
Serialized Form

Field Summary
static InputSlot LEFT_BUTTON
           
static InputSlot META_LEFT_BUTTON
          This inputslot can be used for customized tools.
static InputSlot META_MIDDLE_BUTTON
           
static InputSlot META_RIGHT_BUTTON
           
static InputSlot MIDDLE_BUTTON
           
static InputSlot POINTER_HIT
           
static InputSlot POINTER_TRANSFORMATION
           
static InputSlot RIGHT_BUTTON
           
static InputSlot SHIFT_LEFT_BUTTON
           
static InputSlot SHIFT_MIDDLE_BUTTON
           
static InputSlot SHIFT_RIGHT_BUTTON
           
static InputSlot SYSTEM_TIME
           
 
Method Summary
 boolean equals(Object obj)
           
static InputSlot getDevice(String name)
          Get the canonical device for the logical name.
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

POINTER_HIT

public static final InputSlot POINTER_HIT

POINTER_TRANSFORMATION

public static final InputSlot POINTER_TRANSFORMATION

SYSTEM_TIME

public static final InputSlot SYSTEM_TIME

LEFT_BUTTON

public static final InputSlot LEFT_BUTTON

MIDDLE_BUTTON

public static final InputSlot MIDDLE_BUTTON

RIGHT_BUTTON

public static final InputSlot RIGHT_BUTTON

SHIFT_LEFT_BUTTON

public static final InputSlot SHIFT_LEFT_BUTTON

SHIFT_MIDDLE_BUTTON

public static final InputSlot SHIFT_MIDDLE_BUTTON

SHIFT_RIGHT_BUTTON

public static final InputSlot SHIFT_RIGHT_BUTTON

META_LEFT_BUTTON

public static final InputSlot META_LEFT_BUTTON
This inputslot can be used for customized tools. The standard key is CONTROL+mouseclick. If you want to use ALT+mouseclick instead just uncomment the mapping AltMeta and comment the Meta-mapping at the file toolconfig-mouse-keybord.xml at de.jreality.toolsystem.config.chunks. Be aware, that the most operating systems are using ALT+mouseclick for moving windows. In that case, the usage of the Operating system will overwrite your Tool.


META_MIDDLE_BUTTON

public static final InputSlot META_MIDDLE_BUTTON

META_RIGHT_BUTTON

public static final InputSlot META_RIGHT_BUTTON
Method Detail

getDevice

public static InputSlot getDevice(String name)
Get the canonical device for the logical name. Devices with the same name are meant to represent the same device and yield the same instance.


getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object