Package java.beans

Examples of java.beans.SimpleBeanInfo


public class getIcon implements Testlet
{
  public void test(TestHarness harness)
  {
    SimpleBeanInfo i = new SimpleBeanInfo();
    harness.check(i.getIcon(SimpleBeanInfo.ICON_COLOR_16x16), null);
    harness.check(i.getIcon(SimpleBeanInfo.ICON_COLOR_32x32), null);
    harness.check(i.getIcon(SimpleBeanInfo.ICON_MONO_16x16), null);
    harness.check(i.getIcon(SimpleBeanInfo.ICON_MONO_32x32), null);
    harness.check(i.getIcon(-99), null);
  }
View Full Code Here


public class getBeanDescriptor implements Testlet
{
  public void test(TestHarness harness)
  {
    SimpleBeanInfo i = new SimpleBeanInfo();
    harness.check(i.getBeanDescriptor(), null);
  }
View Full Code Here

public class getEventSetDescriptors implements Testlet
{
  public void test(TestHarness harness)
  {
    SimpleBeanInfo i = new SimpleBeanInfo();
    harness.check(i.getEventSetDescriptors(), null);
  }
View Full Code Here

public class getDefaultEventIndex implements Testlet
{
  public void test(TestHarness harness)
  {
    SimpleBeanInfo i = new SimpleBeanInfo();
    harness.check(i.getDefaultEventIndex(), -1);
  }
View Full Code Here

public class getAdditionalBeanInfo implements Testlet
{
  public void test(TestHarness harness)
  {
    SimpleBeanInfo i = new SimpleBeanInfo();
    harness.check(i.getAdditionalBeanInfo(), null);
  }
View Full Code Here

public class getDefaultPropertyIndex implements Testlet
{
  public void test(TestHarness harness)
  {
    SimpleBeanInfo i = new SimpleBeanInfo();
    harness.check(i.getDefaultPropertyIndex(), -1);
  }
View Full Code Here

     * Test du beaninfo
     */
    public static void main(final String[] args) {

        try {
            final SimpleBeanInfo tmpBeanInfo = new CommandStartStopButtonCometeV2BeanInfo();
            tmpBeanInfo.getPropertyDescriptors();
            tmpBeanInfo.getMethodDescriptors();
            tmpBeanInfo.getEventSetDescriptors();
        }
        catch (final Exception e) {
            e.printStackTrace();
        }
    }
View Full Code Here

     * Test du beaninfo
     */
    public static void main(final String[] args) {

        try {
            final SimpleBeanInfo tmpBeanInfo = new CommandDeviceComboCometeV2BeanInfo();
            tmpBeanInfo.getPropertyDescriptors();
            tmpBeanInfo.getMethodDescriptors();
            tmpBeanInfo.getEventSetDescriptors();
        }
        catch (final Exception e) {
            e.printStackTrace();
        }
    }
View Full Code Here

     * Test du beaninfo
     */
    public static void main(final String[] args) {

        try {
            final SimpleBeanInfo tmpBeanInfo = new CommandBinaryButtonCometeV2BeanInfo();
            tmpBeanInfo.getPropertyDescriptors();
            tmpBeanInfo.getMethodDescriptors();
            tmpBeanInfo.getEventSetDescriptors();
        }
        catch (final Exception e) {
            e.printStackTrace();
        }
    }
View Full Code Here

     * Test du beaninfo
     */
    public static void main(final String[] args) {

        try {
            final SimpleBeanInfo tmpBeanInfo = new CommandAttributeButtonCometeV2BeanInfo();
            tmpBeanInfo.getPropertyDescriptors();
            tmpBeanInfo.getMethodDescriptors();
            tmpBeanInfo.getEventSetDescriptors();
        }
        catch (final Exception e) {
            e.printStackTrace();
        }
    }
View Full Code Here

TOP

Related Classes of java.beans.SimpleBeanInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.