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

Class PALplate.lib.PermFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----sub_arctic.lib.interactor_applet
                                           |
                                           +----sub_arctic.lib.debug_interactor_applet
                                                   |
                                                   +----PALplate.lib.PermFrame

public class PermFrame
extends debug_interactor_applet
This is the main class for the Applet version of the Domisilica GUI.

It contains a mudClient for connection to the PALplate.

It also provides PALplates users with a toolbar from which they can run various applications. Other applets running in the browser can register and remove them. For now, the toolbar consists of images and URLs. If an image is clicked on, then the associated URL is loaded into the app frame. Everything added to the toolbar is stuff the mud told us about right now.


Variable Index

 o apps
 o FrameName
 o LastApp
the last URL that we know of that was loaded into FrameName
 o MainScreenURL
the name of the frame in which URLs should be loaded
 o mudClient
Provides access to all that cool mud stuff.
 o MudInitialized
So applets can find out if the mud is initialized
 o mudThread

Constructor Index

 o PermFrame()

Method Index

 o build_ui(base_parent_interactor)
 o destroy()
Sends a quit command and closes the sockets (which by then a broken, so you may get an error but this way we can be doubly sure ...)
 o getAppletInfo()
 o pre_build_ui()
Sets up the mud thread, makes a toolbar, and requests a lists of apps to add to it.
 o processParameters()
Gets parameters passed to applet.

Variables

 o mudThread
  public Thread mudThread
 o mudClient
  public static MudClient mudClient
Provides access to all that cool mud stuff.
See Also:
MudClient
 o MudInitialized
  public static boolean MudInitialized
So applets can find out if the mud is initialized
 o LastApp
  public static URL LastApp
the last URL that we know of that was loaded into FrameName
 o MainScreenURL
  public static URL MainScreenURL
the name of the frame in which URLs should be loaded
 o FrameName
  public static String FrameName
 o apps
  public appFrame apps

Constructors

 o PermFrame
  public PermFrame()

Methods

 o pre_build_ui
  public void pre_build_ui()
Sets up the mud thread, makes a toolbar, and requests a lists of apps to add to it. This function also instantiates the netManager
Overrides:
pre_build_ui in class interactor_applet
 o build_ui
  public void build_ui(base_parent_interactor top)
Overrides:
build_ui in class interactor_applet
 o getAppletInfo
  public String getAppletInfo()
Overrides:
getAppletInfo in class Applet
 o processParameters
  public void processParameters()
Gets parameters passed to applet. Right now all parameters are for MudSlideThread

Expected (or understood) parameters are

name -- default

------------------------

host -- palweb.pal.xerox.com

port -- 7777

mudAllowed -- true

startapp -- the first file to be loaded in the lower frame (see MainScreenURL)

guestName -- whatever this defaults to in MudClient

guestPassword -- whatever this defaults to in MudClient

See Also:
MainScreenURL, GuestName, GuestPassword
 o destroy
  public void destroy()
Sends a quit command and closes the sockets (which by then a broken, so you may get an error but this way we can be doubly sure ...)
Overrides:
destroy in class interactor_applet

All Packages  Class Hierarchy  This Package  Previous  Next  Index