Class TestGLCube

java.lang.Object
javaforce.webui.TestGLCube
All Implemented Interfaces:
WebUIHandler

public class TestGLCube extends Object implements WebUIHandler
  • Constructor Details

    • TestGLCube

      public TestGLCube()
  • Method Details

    • main

      public static void main(String[] args)
    • clientConnected

      public void clientConnected(WebUIClient client)
      Description copied from interface: WebUIHandler
      Invoked when a client connects for init
      Specified by:
      clientConnected in interface WebUIHandler
    • clientDisconnected

      public void clientDisconnected(WebUIClient client)
      Description copied from interface: WebUIHandler
      Invoked when a client disconnects for cleanup
      Specified by:
      clientDisconnected in interface WebUIHandler
    • getResource

      public byte[] getResource(String url)
      Description copied from interface: WebUIHandler
      Returns raw resources from /static/...
      Specified by:
      getResource in interface WebUIHandler
    • convertFloatArray

      public static byte[] convertFloatArray(float[] m)
    • convertIntArray

      public static byte[] convertIntArray(int[] i)
    • getRootPanel

      public Panel getRootPanel(WebUIClient client)
      Description copied from interface: WebUIHandler
      Returns a root panel for a new client.
      Specified by:
      getRootPanel in interface WebUIHandler