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
-
TinguinManager()
-
-
buildPrefs()
- Obsolete.
-
closeSession(TinguinDisplay)
- Closes down a TINGUIN session
-
confirmMessage(String, String, String)
-
-
getSession(String)
- Retrieve the display to a session given through by name.
-
init()
- This method initialize the tinguin.
-
newSession(String)
- Open a new TINGUIN session.
TinguinManager
public TinguinManager()
newSession
public static synchronized TinguinDisplay newSession(String name)
- Open a new TINGUIN session. Return the TinguinDisplay
- Parameters:
- name - The name of the session
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?
closeSession
public static synchronized void closeSession(TinguinDisplay d)
- Closes down a TINGUIN session
- Parameters:
- d - The TinguinDisplay to close.
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.
buildPrefs
public static void buildPrefs()
- Obsolete. Does the same as the init method.
confirmMessage
protected static void confirmMessage(String m,
String title,
String confirmLabel)
All Packages Class Hierarchy This Package Previous Next Index