Package javaforce.tests.webui
Class TestGLCube
java.lang.Object
javaforce.tests.webui.TestGLCube
- All Implemented Interfaces:
WebUIHandler
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclientConnected(WebUIClient client) Invoked when a client connects for initvoidclientDisconnected(WebUIClient client) Invoked when a client disconnects for cleanupstatic byte[]convertFloatArray(float[] m) static byte[]convertIntArray(int[] i) getPanel(String name, HTTP.Parameters params, WebUIClient client) Returns a root panel for a new client.byte[]getResource(String url, HTTP.Parameters params, WebRequest request, WebResponse res) Returns raw resources from /static/...static void
-
Constructor Details
-
TestGLCube
public TestGLCube()
-
-
Method Details
-
main
-
clientConnected
Description copied from interface:WebUIHandlerInvoked when a client connects for init- Specified by:
clientConnectedin interfaceWebUIHandler
-
clientDisconnected
Description copied from interface:WebUIHandlerInvoked when a client disconnects for cleanup- Specified by:
clientDisconnectedin interfaceWebUIHandler
-
getResource
Description copied from interface:WebUIHandlerReturns raw resources from /static/...- Specified by:
getResourcein interfaceWebUIHandler
-
convertFloatArray
public static byte[] convertFloatArray(float[] m) -
convertIntArray
public static byte[] convertIntArray(int[] i) -
getPanel
Description copied from interface:WebUIHandlerReturns a root panel for a new client.- Specified by:
getPanelin interfaceWebUIHandler
-