Package javaforce.webui
Class TestGLCube
java.lang.Object
javaforce.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) byte[]getResource(String url) Returns raw resources from /static/...getRootPanel(WebUIClient client) Returns a root panel for a new client.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) -
getRootPanel
Description copied from interface:WebUIHandlerReturns a root panel for a new client.- Specified by:
getRootPanelin interfaceWebUIHandler
-