|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.getdown.launcher.GetdownAppletConfig
public class GetdownAppletConfig
| Field Summary | |
|---|---|
boolean |
allowConnect
Indicates whether Getdown should allow the launched app to connect to it through a server socket bound to localhost on any available port in order to allow interaction with JavaScript code on the page containing the applet. |
static String |
APPARG_PREFIX
A property specifying the names of additional appargs properties. |
String[] |
appargs
Additional appargs to supply to the launching app. |
String |
appbase
|
static String |
APPBASE
|
File |
appdir
|
String |
appname
|
static String |
APPNAME
|
static String |
BGIMAGE
|
static String |
CONNECT
|
static String |
DIRECT
|
static String |
ERRORBGIMAGE
|
String |
errorimgpath
The error background image |
String |
imgpath
The list of background images and their display time |
String |
installerFileContents
|
boolean |
invokeDirect
Indicates whether the downloaded app should be launched in the parent applet (true) or as a separate java process (false). |
static String |
JVMARG_PREFIX
Used to specify the names of additional jvmargs properties. |
String[] |
jvmargs
Additional jvmargs to supply to the launching app. |
static String |
PARAM_DELIMITER
|
static String |
REDIRECT_ON_FINISH
|
static String |
REDIRECT_ON_FINISH_TARGET
|
String |
redirectTarget
|
URL |
redirectUrl
An optional URL to which the applet should redirect when done. |
Rectangle |
statusBounds
Optional default bounds for the status panel. |
Color |
statusColor
|
| Constructor Summary | |
|---|---|
GetdownAppletConfig(JApplet applet)
|
|
GetdownAppletConfig(JApplet applet,
String paramPrefix)
|
|
| Method Summary | |
|---|---|
void |
config(Getdown getdown)
Sets getdown status panel size and text color from applet params. |
RotatingBackgrounds |
getBackgroundImages(ImageLoader loader)
Gets the rotation background images and error image.The given image loader will be used if the images have not been loaded yet. |
static RotatingBackgrounds |
getBackgroundImages(String imageParam,
String errorImagePath,
ImageLoader loader)
Gets the rotation background images and error image.The given image loader will be used if the images have not been loaded yet. |
String |
getParameter(String param)
Gets the value of the named parameter. |
String |
getParameter(String param,
String defaultValue)
Gets the value of an optional Applet parameter. |
void |
init()
Does all the fiddly initialization of Getdown and throws an exception if something goes horribly wrong. |
void |
redirect()
Uses the Applet context to redirect the browser to a URL (intended for use when the applet is done downloading). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String APPBASE
public static final String APPNAME
public static final String BGIMAGE
public static final String ERRORBGIMAGE
public static final String PARAM_DELIMITER
public static final String DIRECT
public static final String CONNECT
public static final String REDIRECT_ON_FINISH
public static final String REDIRECT_ON_FINISH_TARGET
public static final String JVMARG_PREFIX
<param name="jvmarg0" value="-Xmx256M"/>
<param name="jvmarg1" value="-Dfoo=bar"/>
When a number is reached for which no value exists, we stop looking.
public static final String APPARG_PREFIX
<param name="apparg0" value="my awesome value"/>
<param name="apparg1" value="monkeys"/>
When a number is reached for which no value exists, we stop looking.
public String appbase
public String appname
public String imgpath
public String errorimgpath
public File appdir
public String[] jvmargs
public String[] appargs
public URL redirectUrl
public String redirectTarget
public String installerFileContents
public boolean invokeDirect
public boolean allowConnect
public Rectangle statusBounds
public Color statusColor
| Constructor Detail |
|---|
public GetdownAppletConfig(JApplet applet)
public GetdownAppletConfig(JApplet applet,
String paramPrefix)
| Method Detail |
|---|
public void init()
throws Exception
Exceptionpublic void config(Getdown getdown)
public String getParameter(String param)
public String getParameter(String param,
String defaultValue)
public void redirect()
public RotatingBackgrounds getBackgroundImages(ImageLoader loader)
public static RotatingBackgrounds getBackgroundImages(String imageParam,
String errorImagePath,
ImageLoader loader)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||