Class semper.tinguin.TinguinManager
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.tinguin.TinguinManager

java.lang.Object
   |
   +----semper.tinguin.TinguinManager

public class TinguinManager
extends Object
The TINGUIN Manger, a static class that take care of the TinguinDisplays in different sessions.
Version:
0.5
Author:
Tobias Himstedt
See Also:
TinguinDisplay

Constructor Index

 o TinguinManager()

Method Index

 o buildPrefs()
Obsolete.
 o closeSession(TinguinDisplay)
Closes down a TINGUIN session
 o confirmMessage(String, String, String)
 o getSession(String)
Retrieve the display to a session given through by name.
 o init()
This method initialize the tinguin.
 o newSession(String)
Open a new TINGUIN session.

Constructors

 o TinguinManager
  public TinguinManager()

Methods

 o newSession
  public static synchronized TinguinDisplay newSession(String name)
Open a new TINGUIN session. Return the TinguinDisplay
Parameters:
name - The name of the session
 o getSession
  public static synchronized TinguinDisplay getSession(String name)
Retrieve the display to a session given through by name. Precondition: All names must be unique.
Parameters:
name - - The name of the session.
Returns:
The display. In case no session with that name exists null is returned. Should I introduce exceptions?
 o closeSession
  public static synchronized void closeSession(TinguinDisplay d)
Closes down a TINGUIN session
Parameters:
d - The TinguinDisplay to close.
 o init
  public static void init()
This method initialize the tinguin. It should be called after all managers build up there preferences in order to insert them into a menu.
 o buildPrefs
  public static void buildPrefs()
Obsolete. Does the same as the init method.
 o confirmMessage
  protected static void confirmMessage(String m,
                                       String title,
                                       String confirmLabel)

All Packages  Class Hierarchy  This Package  Previous  Next  Index