Exemplo n.º 1
0
 /**
  * If this type contains any children by default, add them.
  *
  * @param engine
  * @param ob
  */
 public void createChildren(Engine engine, OObject ob) {
   ObjectFactory factory = engine.getObjectFactory();
   factory.createChild(ob, UIKeyword.WINDOW_TITLE, Keyword.UNTYPED, "Untitled Window");
   factory.createChild(ob, UIKeyword.BOUNDS, UIKeyword.BOUNDS, "");
   factory.createChild(ob, UIKeyword.CONTENTS, Keyword.UNTYPED, "");
   factory.createChild(ob, Keyword.EVENT_ON_OPEN, Keyword.SCRIPT, "");
   factory.createChild(ob, Keyword.EVENT_ON_CLOSE, Keyword.SCRIPT, "");
 }
Exemplo n.º 2
0
 /**
  * If this type contains any children by default, add them.
  *
  * @param engine
  * @param ob
  */
 public void createChildren(Engine engine, OObject ob) {
   ObjectFactory factory = engine.getObjectFactory();
   factory.createChild(ob, Keyword.CHILD_DATA, Keyword.UNTYPED, "");
 }