DESY ACOP Beans Home

com.cosylab.gui.components.customizer
Class CustomizerFactory

java.lang.Object
  extended by com.cosylab.gui.components.customizer.CustomizerFactory

public class CustomizerFactory
extends java.lang.Object

Provides methods to simplifly creation of Customizers.

Author:
Alen Vrecko

Constructor Summary
CustomizerFactory()
           
 
Method Summary
static java.beans.Customizer createCustomizer(java.beans.PropertyDescriptor[] properties)
          Returns a simple customizer for the provided properties.
static java.beans.Customizer createCustomizer(java.lang.String[] properties)
          Returns a simple customizer for the provided properties.
static java.beans.PropertyDescriptor[] propertyStringsToDescriptors(java.lang.String[] properties, java.lang.Class type)
          Method to convert a set of string descriptior properties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomizerFactory

public CustomizerFactory()
Method Detail

createCustomizer

public static java.beans.Customizer createCustomizer(java.lang.String[] properties)
Returns a simple customizer for the provided properties.

Parameters:
properties -
type -
Returns:

createCustomizer

public static java.beans.Customizer createCustomizer(java.beans.PropertyDescriptor[] properties)
Returns a simple customizer for the provided properties.

Parameters:
properties -
type -
Returns:

propertyStringsToDescriptors

public static java.beans.PropertyDescriptor[] propertyStringsToDescriptors(java.lang.String[] properties,
                                                                           java.lang.Class type)
Method to convert a set of string descriptior properties

Parameters:
properties -
type -
Returns:


Copyright © 2010. All Rights Reserved.