Class LXStudio

java.lang.Object
heronarts.lx.LX
heronarts.glx.GLX
heronarts.lx.studio.LXStudio
Direct Known Subclasses:
Chromatik

public abstract class LXStudio extends GLX
  • Field Details

  • Method Details

    • version

      public static String version()
    • instantiateRegistry

      protected LXRegistry instantiateRegistry(LX lx)
      Description copied from class: LX
      Subclasses may override to provide an enhanced registry with support for more types
      Overrides:
      instantiateRegistry in class LX
      Parameters:
      lx - LX instance
      Returns:
      LXRegistry to use for dynamic class stuff
    • buildUI

      protected LXStudio.UI buildUI() throws IOException
      Description copied from class: GLX
      Subclasses may override to create a custom structured UI
      Overrides:
      buildUI in class GLX
      Returns:
      The instantiated UI object
      Throws:
      IOException - if required UI assets could not be loaded
    • onKeyPressed

      protected void onKeyPressed(KeyEvent keyEvent, char keyChar, int keyCode)
      Custom project subclasses may override for global key events
      Parameters:
      keyEvent - Key press event
      keyChar - Key character
      keyCode - Key Code
    • onKeyReleased

      protected void onKeyReleased(KeyEvent keyEvent, char keyChar, int keyCode)
      Custom project subclasses may override for global key events
      Parameters:
      keyEvent - Key release event
      keyChar - Key character
      keyCode - Key Code