1 package edu.psu.geovista.app.scatterplot;
2
3 import java.beans.*;
4
5 /***
6 * Title:
7 * Description:
8 * Copyright: Copyright (c) 2001
9 * Company:
10 * @author
11 * @version 1.0
12 */
13
14 public class ScatterPlotBeanInfo extends SimpleBeanInfo {
15 Class beanClass = ScatterPlot.class;
16 String iconColor16x16Filename = "scatterplotm16.gif";
17 String iconColor32x32Filename = "scatterplotm32.gif";
18 String iconMono16x16Filename;
19 String iconMono32x32Filename;
20
21 public ScatterPlotBeanInfo() {
22 }
23 public PropertyDescriptor[] getPropertyDescriptors() {
24 try {
25 PropertyDescriptor _attributeArrays = new PropertyDescriptor("attributeArrays", beanClass, null, "setAttributeArrays");
26 PropertyDescriptor _axisOn = new PropertyDescriptor("axisOn", beanClass, "isAxisOn", "setAxisOn");
27 PropertyDescriptor _elementPosition = new PropertyDescriptor("elementPosition", beanClass, "getElementPosition", "setElementPosition");
28 PropertyDescriptor _doubleDataArrays = new PropertyDescriptor("doubleDataArrays", beanClass, null, "setDoubleDataArrays");
29 PropertyDescriptor _background = new PropertyDescriptor("background", beanClass, null, "setBackground");
30 PropertyDescriptor _selectionColor = new PropertyDescriptor("selectionColor", beanClass, null, "setSelectionColor");
31 PropertyDescriptor _selectedObservations = new PropertyDescriptor("selectedObservations", beanClass, "getSelectedObservations", "setSelectedObservations");
32 PropertyDescriptor _this = new PropertyDescriptor("this", beanClass, "getThis", null);
33 PropertyDescriptor _x = new PropertyDescriptor("x", beanClass, null, "setX");
34 PropertyDescriptor _XAxisExtents = new PropertyDescriptor("XAxisExtents", beanClass, "getXAxisExtents", "setXAxisExtents");
35 PropertyDescriptor _y = new PropertyDescriptor("y", beanClass, null, "setY");
36 PropertyDescriptor _YAxisExtents = new PropertyDescriptor("YAxisExtents", beanClass, "getYAxisExtents", "setYAxisExtents");
37 PropertyDescriptor[] pds = new PropertyDescriptor[] {
38 _attributeArrays,
39 _axisOn,
40 _elementPosition,
41 _doubleDataArrays,
42 _background,
43 _selectionColor,
44 _selectedObservations,
45 _this,
46 _x,
47 _XAxisExtents,
48 _y,
49 _YAxisExtents};
50 return pds;
51
52
53
54
55
56
57
58
59
60
61
62 }
63 catch(IntrospectionException ex) {
64 ex.printStackTrace();
65 return null;
66 }
67 }
68 public java.awt.Image getIcon(int iconKind) {
69 switch (iconKind) {
70 case BeanInfo.ICON_COLOR_16x16:
71 return iconColor16x16Filename != null ? loadImage(iconColor16x16Filename) : null;
72 case BeanInfo.ICON_COLOR_32x32:
73 return iconColor32x32Filename != null ? loadImage(iconColor32x32Filename) : null;
74 case BeanInfo.ICON_MONO_16x16:
75 return iconMono16x16Filename != null ? loadImage(iconMono16x16Filename) : null;
76 case BeanInfo.ICON_MONO_32x32:
77 return iconMono32x32Filename != null ? loadImage(iconMono32x32Filename) : null;
78 }
79 return null;
80 }
81 }
This page was automatically generated by Maven