|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.getsnappy.w20.JavaScriptLoadingIndicator
com.getsnappy.w20.ContextAnimatedGifLoadingIndicator
public class ContextAnimatedGifLoadingIndicator
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
| Constructor Summary | |
|---|---|
ContextAnimatedGifLoadingIndicator(java.lang.String contextId)
Creates an loading image with the default imageUri /images/loadingBox.png |
|
ContextAnimatedGifLoadingIndicator(java.lang.String contextId,
java.lang.String imageUri,
int imageWidth,
int imageHeight)
Will display the following image with the specified width and height in the center of the context if possible. |
|
ContextAnimatedGifLoadingIndicator(java.lang.String contextId,
java.lang.String imageUri,
int imageWidth,
int imageHeight,
int distanceFromTop,
int distanceFromLeft)
Will display the following image with the specified width and height. |
|
| Method Summary | |
|---|---|
void |
jsFinish(java.io.Writer out)
Called immediately before replacing the contents of the page. |
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 |
|---|
public ContextAnimatedGifLoadingIndicator(java.lang.String contextId)
contextId -
public ContextAnimatedGifLoadingIndicator(java.lang.String contextId,
java.lang.String imageUri,
int imageWidth,
int imageHeight)
contextId - - the id of an html elementimageUri - - the uri for an imageimageWidth - - the width of the imageimageHeight - - the height of the image
public ContextAnimatedGifLoadingIndicator(java.lang.String contextId,
java.lang.String imageUri,
int imageWidth,
int imageHeight,
int distanceFromTop,
int distanceFromLeft)
contextId - - the id of an html elementimageUri - - the uri for an imageimageWidth - - the width of the imageimageHeight - - the height of the imagetop - - the value used for absolute positioning css attribute top.
null will result in this attribute not being set| Method Detail |
|---|
public void jsStart(java.io.Writer out)
throws java.io.IOException
jsStart in class JavaScriptLoadingIndicatorjava.io.IOExceptionDoNothingLoadingIndicator
public void jsFinish(java.io.Writer out)
throws java.io.IOException
JavaScriptLoadingIndicator
jsFinish in class JavaScriptLoadingIndicatorjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||