01: package net.xoetrope.builder.editor.components.swing;
02:
03: import java.awt.Component;
04:
05: import net.xoetrope.builder.editor.XPageResource;
06: import net.xoetrope.swing.XHotspotImage;
07: import net.xoetrope.builder.editor.components.PropertyHelper;
08: import java.awt.AWTEvent;
09: import net.xoetrope.xui.XPage;
10:
11: /**
12: * A helper for the XHotspoImage types
13: * <p> Copyright (c) Xoetrope Ltd., 2002-2003</p>
14: * <p> $Revision: 1.15 $</p>
15: */
16: public class XHotspotImageHelper extends PropertyHelper {
17: protected String extraProperties[] = { "ImageName", "FocusHandler",
18: "MouseHandler" };
19: protected String extensions[] = { "gif", "jpg", "png" };
20:
21: public XHotspotImageHelper() {
22: className = XHotspotImage.class.toString();
23: componentType = XPage.HOTSPOTIMAGE;
24: extraPropertyNames = extraProperties;
25:
26: setFileExtensions("Image Files", "gif", extensions);
27: }
28: }
|