Source code: com/arranger/jarl/widget/IWidgetDef.java
1 package com.arranger.jarl.widget;
2
3 import com.arranger.jarl.base.IContext;
4 import org.w3c.dom.Element;
5
6 /**
7 * IWidgetDef created on Feb 20, 2003
8 */
9 public interface IWidgetDef extends IWidget {
10
11 /**
12 * Initialize this widget
13 * @param context the global context
14 * @param element the element containing config info
15 */
16 public void initDef(IContext context, Element element);
17
18 /**
19 * Based off of the actual def, get a real instance
20 * @param context
21 * @param element
22 */
23 public IWidget initInstance(IContext context, Element element);
24 }