vscript
Class VSRHelper

java.lang.Object
  |
  +--vscript.VSRHelper

public class VSRHelper
extends java.lang.Object

Object that provieds services and contains default values to be used. Has methods and variables that provides useful information and services.


Field Summary
static java.applet.Applet applet
           
static java.awt.Color backColor
           
 java.lang.String baseDir
           
static java.lang.String border
           
static java.awt.Color borderColor
           
static java.awt.Color borderColor2
           
 java.util.HashMap config
           
static java.awt.Color foreColor
           
 java.lang.String userDir
           
static float version
           
static vscript.VSRHelper vsrHelper
           
 
Method Summary
 java.awt.Image getImage(java.lang.String baseStr, java.lang.String imgName)
          The loacation of the image is always specified as basurl,imagename.
 java.net.URL getLoadURL(java.lang.String baseStr, java.lang.String fileName)
          If base url is null the name is treated as an absolute url, but if the image name is not an absolute url then the code base is considered as the base url.
 java.lang.String getOutput()
           
static vscript.VSRHelper getVSRHelper()
           
static vscript.VSRHelper getVSRHelper(java.applet.Applet applet)
          If invoking object is not an applet pass null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vsrHelper

public static vscript.VSRHelper vsrHelper

applet

public static java.applet.Applet applet

userDir

public java.lang.String userDir

baseDir

public java.lang.String baseDir

border

public static java.lang.String border

backColor

public static java.awt.Color backColor

foreColor

public static java.awt.Color foreColor

borderColor

public static java.awt.Color borderColor

borderColor2

public static java.awt.Color borderColor2

version

public static float version

config

public java.util.HashMap config
Method Detail

getVSRHelper

public static vscript.VSRHelper getVSRHelper(java.applet.Applet applet)
If invoking object is not an applet pass null. VSRHelper must be initialized by applets.


getVSRHelper

public static vscript.VSRHelper getVSRHelper()

getImage

public java.awt.Image getImage(java.lang.String baseStr,
                               java.lang.String imgName)
The loacation of the image is always specified as basurl,imagename. If base url is null the image name is treated as an absolute url, but if the image name is not an absolute url then the code base is considered as the base url and image is feteched from there.


getLoadURL

public java.net.URL getLoadURL(java.lang.String baseStr,
                               java.lang.String fileName)
If base url is null the name is treated as an absolute url, but if the image name is not an absolute url then the code base is considered as the base url.


getOutput

public java.lang.String getOutput()