de.jreality.scene.tool
Class InputSlot
java.lang.Object
de.jreality.scene.tool.InputSlot
- All Implemented Interfaces:
- java.io.Serializable
public class InputSlot
- extends java.lang.Object
- implements java.io.Serializable
Abstract input device, addressed via a logical name.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
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
getDevice
public static InputSlot getDevice(java.lang.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 java.lang.String getName()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object