예제 #1
0
파일: Ext.java 프로젝트: bfayette/touch4j
 /**
  * Returns a component that the passed element represents. Shorthand for {@link
  * ComponentMgr#getComponent(ExtElement)}.
  *
  * @param element the component's element
  * @return the Component
  */
 public static Component getCmp(ExtElement element) {
   return ComponentMgr.getComponent(element);
 }
예제 #2
0
파일: Ext.java 프로젝트: bfayette/touch4j
 /**
  * Returns a component by id. Shorthand for {@link ComponentMgr#getComponent(String)}.
  *
  * @param id the component ID
  * @return the Component
  */
 public static Component getCmp(String id) {
   return ComponentMgr.getComponent(id);
 }