DESY ACOP Beans Home

com.cosylab.gui.util
Class GuiIntrospector

java.lang.Object
  extended by com.cosylab.gui.util.GuiIntrospector

public class GuiIntrospector
extends java.lang.Object

GuiIntrospector offers utility methods for inspecting beans properties.

Version:
$Id: GuiIntrospector.java,v 1.4 2008-04-22 12:31:02 jbobnar Exp $
Author:
Jaka Bobnar

Constructor Summary
GuiIntrospector()
           
 
Method Summary
static java.beans.PropertyDescriptor getDisplayerDynamicProperty(java.lang.Class displayerClass)
          Returns dynamic properties of the displayer.
static java.beans.PropertyDescriptor[] getDisplayerReadableStaticProperties(java.lang.Class displayerClass)
          Returns all static readable properties of the specified class.
static java.beans.PropertyDescriptor[] getDisplayerWritableStaticProperties(java.lang.Class displayerClass)
          Returns all static writable properties of the specified class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuiIntrospector

public GuiIntrospector()
Method Detail

getDisplayerWritableStaticProperties

public static java.beans.PropertyDescriptor[] getDisplayerWritableStaticProperties(java.lang.Class displayerClass)
                                                                            throws java.beans.IntrospectionException
Returns all static writable properties of the specified class.

Parameters:
displayerClass -
Returns:
property descriptors for all writable properties
Throws:
java.beans.IntrospectionException

getDisplayerDynamicProperty

public static java.beans.PropertyDescriptor getDisplayerDynamicProperty(java.lang.Class displayerClass)
                                                                 throws java.beans.IntrospectionException
Returns dynamic properties of the displayer.

Parameters:
displayerClass -
Returns:
Throws:
java.beans.IntrospectionException

getDisplayerReadableStaticProperties

public static java.beans.PropertyDescriptor[] getDisplayerReadableStaticProperties(java.lang.Class displayerClass)
                                                                            throws java.beans.IntrospectionException
Returns all static readable properties of the specified class.

Parameters:
displayerClass -
Returns:
property descriptors for all writable properties
Throws:
java.beans.IntrospectionException


Copyright © 2010. All Rights Reserved.