com.jme.input.util
Class SyntheticTriggerContainer

java.lang.Object
  extended by com.jme.input.util.SyntheticTriggerContainer
Direct Known Subclasses:
SyntheticAxis, SyntheticButton

abstract class SyntheticTriggerContainer
extends java.lang.Object

Author:
Irrisor

Constructor Summary
SyntheticTriggerContainer()
           
 
Method Summary
(package private) abstract  void add(SyntheticTrigger trigger)
           
abstract  java.lang.String getDeviceName()
           
abstract  int getIndex()
           
abstract  java.lang.String getName()
           
(package private) abstract  void remove(SyntheticTrigger trigger)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyntheticTriggerContainer

SyntheticTriggerContainer()
Method Detail

add

abstract void add(SyntheticTrigger trigger)
Parameters:
trigger - what to add to list of triggers

remove

abstract void remove(SyntheticTrigger trigger)
Parameters:
trigger - what to remove from list of triggers

getName

public abstract java.lang.String getName()
Returns:
the name of this button

getIndex

public abstract int getIndex()
Returns:
index of this button/axis (used when registering with InputHandler)
See Also:
getDeviceName()

getDeviceName

public abstract java.lang.String getDeviceName()
Returns:
name of the virtual device this button/axis is attached to (used when registering with InputHandler)
See Also:
getIndex()