Source code: com/arranger/jarl/base/IJarlObject.java
1 package com.arranger.jarl.base;
2
3 import org.w3c.dom.Element;
4
5 /**
6 * IJarlObject a base class for jarl object
7 */
8 public interface IJarlObject extends Cloneable {
9
10 /**
11 * Initialize this widget
12 * @param context the global context
13 * @param element the element containing config info
14 */
15 public void init(IContext context, Element element);
16
17 /**
18 * Some object need the absolute times, not the relative times
19 *
20 * @param context
21 */
22 public void preCheckTime(IContext context);
23
24 /**
25 * @see #preCheckTime
26 * @param context
27 */
28 public void postCheckTime(IContext context);
29
30 /**
31 * @return the zorder of the object
32 */
33 public int getZOrder();
34
35 /**
36 * Set the zOrder of this object
37 * @param zOrder
38 */
39 public void setZOrder(int zOrder);
40
41 /**
42 * @return the info for this object
43 */
44 public IJarlObjectInfo getJarlObjectInfo();
45
46 /**
47 * @return the configuration element (read-only)
48 */
49 public Element getConfigElement();
50
51 public Object clone();
52 }