com.getsnappy.snappyj.examples
Class GroovyLoadingIndicator

java.lang.Object
  extended by JavaScriptLoadingIndicator
      extended by com.getsnappy.snappyj.examples.GroovyLoadingIndicator

public class GroovyLoadingIndicator
extends JavaScriptLoadingIndicator

This loading indicator will apply the opaque png "/images/grey.png" screenwide and then load /images/loadingBox.png and attempt to keep it centered in the screen

Author:
brian

Constructor Summary
GroovyLoadingIndicator(java.lang.String contextId)
           
 
Method Summary
 void jsFinish(java.io.Writer out)
           
 void jsStart(java.io.Writer out)
          This function will apply the opaque png "/images/grey.png" screenwide and then load /images/loadingBox.png and attempt to keep centered in the screen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyLoadingIndicator

public GroovyLoadingIndicator(java.lang.String contextId)
Method Detail

jsStart

public void jsStart(java.io.Writer out)
             throws java.io.IOException
This function will apply the opaque png "/images/grey.png" screenwide and then load /images/loadingBox.png and attempt to keep centered in the screen

Throws:
java.io.IOException

jsFinish

public void jsFinish(java.io.Writer out)
              throws java.io.IOException
Throws:
java.io.IOException