01: /* Imageable.java
02:
03: {{IS_NOTE
04: Purpose:
05:
06: Description:
07:
08: History:
09: May 21, 2007 4:26:53 PM, Created by henrichen
10: }}IS_NOTE
11:
12: Copyright (C) 2007 Potix Corporation. All Rights Reserved.
13:
14: {{IS_RIGHT
15: This program is distributed under GPL Version 2.0 in the hope that
16: it will be useful, but WITHOUT ANY WARRANTY.
17: }}IS_RIGHT
18: */
19: package org.zkoss.zkmob;
20:
21: import javax.microedition.lcdui.Image;
22:
23: /**
24: * A JavaMe component with setImage() method; to be used with
25: * {@link ImageRequest}.
26: *
27: * @author henrichen
28: */
29: public interface Imageable {
30: /** Setup {@link Image}.
31: * @param image The Image.
32: */
33: public void loadImage(Image image);
34:
35: /** Get image url.
36: * @reaturn image url.
37: */
38: public String getImageSrc();
39: }
|