|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gwtext.client.widgets.ComponentMgr
public class ComponentMgr
Component manager.
Constructor Summary | |
---|---|
ComponentMgr()
|
Method Summary | |
---|---|
static Component |
getComponent(com.google.gwt.user.client.Element element)
Returns a component that the passed element represents. |
static Component |
getComponent(ExtElement element)
Returns a component that the passed element represents. |
static Component |
getComponent(java.lang.String id)
Returns a component by id. |
void |
onAvailable(java.lang.String id,
Function fn)
Registers a function that will be called when a specified component is added to ComponentMgr. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentMgr()
Method Detail |
---|
public void onAvailable(java.lang.String id, Function fn)
id
- the component IDfn
- the function to executepublic static Component getComponent(java.lang.String id)
id
- the component ID
public static Component getComponent(com.google.gwt.user.client.Element element)
element
- the element
public static Component getComponent(ExtElement element)
element
- the element
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |