| java.lang.Object net.mygwt.ui.client.util.Observable net.mygwt.ui.client.Registry
Registry | public class Registry extends Observable (Code) | | A local storage of objects stored by id.
|
Field Summary | |
protected static Map | map |
get | public static Object get(String id)(Code) | | Returns the object with the given id.
Parameters: id - the identifier the object or null if no match |
getAll | public static Map getAll()(Code) | | Returns a map of all registered objects.
the object map |
register | public static void register(String id, Object obj)(Code) | | Registers an object.
Parameters: id - the indentifier Parameters: obj - the object to be registred |
unregister | public static void unregister(String id)(Code) | | Unregisters an object.
Parameters: id - the identifier |
unregisterAll | public static void unregisterAll()(Code) | | Unregisters all registered objects.
|
|
|