Source code: com/arranger/jarl/stroke/IStrokeDef.java
1 package com.arranger.jarl.stroke;
2
3 import com.arranger.jarl.base.IContext;
4 import org.w3c.dom.Element;
5
6 /**
7 * IStrokeDef created on Feb 26, 2003
8 */
9 public interface IStrokeDef {
10
11 /**
12 * Initialize this trait
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 * @return an initialized trait
23 */
24 public IStroke initInstance(IContext context, Element element);
25 }