Class PALplate.lib.netManager
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class PALplate.lib.netManager

java.lang.Object
   |
   +----PALplate.lib.netManager

public class netManager
extends Object
This class handles the loading of images, classes, and html both from URLs and from disk from the net both for applets and applications. This way, we can use the same set of interactors in both applets and applications interchangeably. This class also handles the connection to the mud ...

Variable Index

 o _baseURL
the base URL used for loading from URL
 o _mode
 o _other_frame_contents
 o APP_MODE
 o APPLET_MODE

Method Index

 o get_other_frame_contents()
 o getBaseURL()
 o load_in_other_frame(URL)
Loads the given URL into the other frame;
 o load_in_other_frame(URL, String)
Loads the given URL into the other frame;
 o set_other_frame_contents(Object)
 o setBaseURL(String)
 o setBaseURL(URL)

Variables

 o _baseURL
  protected static URL _baseURL
the base URL used for loading from URL
 o _other_frame_contents
  protected static Object _other_frame_contents
 o _mode
  protected static int _mode
 o APP_MODE
  public final static int APP_MODE
 o APPLET_MODE
  public final static int APPLET_MODE

Methods

 o setBaseURL
  public static void setBaseURL(String u)
Parameters:
u - A string representing a URL
 o setBaseURL
  public static void setBaseURL(URL u)
Parameters:
u - A URL
 o getBaseURL
  public static URL getBaseURL()
Returns:
s The current base URL
 o load_in_other_frame
  public static void load_in_other_frame(URL appURL)
Loads the given URL into the other frame;
 o load_in_other_frame
  public static void load_in_other_frame(URL appURL,
                                         String frame)
Loads the given URL into the other frame;
 o get_other_frame_contents
  public static Object get_other_frame_contents()
 o set_other_frame_contents
  public static void set_other_frame_contents(Object of)

All Packages  Class Hierarchy  This Package  Previous  Next  Index