|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseObservable
com.extjs.gxt.ui.client.Registry
public final class Registry
A local storage of objects stored by id.
Field Summary | |
---|---|
protected static java.util.Map<java.lang.String,java.lang.Object> |
map
|
Method Summary | ||
---|---|---|
static
|
get(java.lang.String id)
Returns the object with the given id. |
|
static java.util.Map<java.lang.String,java.lang.Object> |
getAll()
Returns a map of all registered objects. |
|
static void |
register(java.lang.String id,
java.lang.Object obj)
Registers an object. |
|
static void |
unregister(java.lang.String id)
Unregisters an object. |
|
static void |
unregisterAll()
Unregisters all registered objects. |
Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable |
---|
addListener, callListener, fireEvent, fireEvent, getFiresEvents, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static java.util.Map<java.lang.String,java.lang.Object> map
Method Detail |
---|
public static <X> X get(java.lang.String id)
id
- the identifier
null
if no matchpublic static java.util.Map<java.lang.String,java.lang.Object> getAll()
public static void register(java.lang.String id, java.lang.Object obj)
id
- the identifierobj
- the object to be registeredpublic static void unregister(java.lang.String id)
id
- the identifierpublic static void unregisterAll()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |