FileDocCategorySizeDatePackage
DialBeanInfo.javaAPI DocExample691Mon May 01 14:42:06 BST 2000magicbeans

DialBeanInfo

public class DialBeanInfo extends SimpleBeanInfo

Fields Summary
Constructors Summary
Methods Summary
public java.beans.PropertyDescriptor[]getPropertyDescriptors()

    try {
      PropertyDescriptor value =
        new PropertyDescriptor("value", Dial.class);
      PropertyDescriptor minimum =
        new PropertyDescriptor("minimum", Dial.class);
      PropertyDescriptor maximum =
        new PropertyDescriptor("maximum", Dial.class);

      value.setBound(true);
      minimum.setBound(false);
      maximum.setBound(false);

      return new PropertyDescriptor [] { value, minimum, maximum };
    }
    catch (IntrospectionException e) {
      return null;
    }