Class Signals

java.lang.Object
jme3utilities.SignalTracker
jme3utilities.ui.Signals
All Implemented Interfaces:
com.jme3.input.controls.ActionListener, com.jme3.input.controls.InputListener

public class Signals extends jme3utilities.SignalTracker implements com.jme3.input.controls.ActionListener
A SignalTracker to handle actions that start with the "signal " prefix.
  • Field Summary

    Fields inherited from class jme3utilities.SignalTracker

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    A no-arg constructor to avoid javadoc warnings from JDK 18.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAction(String actionString, boolean isOngoing, float unused)
    Process a signal action.

    Methods inherited from class jme3utilities.SignalTracker

    add, setActive, test

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Signals

      public Signals()
      A no-arg constructor to avoid javadoc warnings from JDK 18.
  • Method Details

    • onAction

      public void onAction(String actionString, boolean isOngoing, float unused)
      Process a signal action.
      Specified by:
      onAction in interface com.jme3.input.controls.ActionListener
      Parameters:
      actionString - consisting of "signal " + signalName + " " + source
      isOngoing - true if the action is ongoing, otherwise false
      unused - time interval between frames (in seconds, ≥0)