|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.cog.gui.grapheditor.properties.Introspector
An introspection helper. It includes support for user defined properties too, when it comes to graph components.
| Constructor Summary | |
Introspector()
|
|
| Method Summary | |
static boolean |
_isWritable(Object o,
String property)
|
static List |
getCommonProperties(Collection objects)
|
static List |
getProperties(Object o)
If the object is not a graph component, introspective properties will be automatically generated. |
static Object |
getProperty(Object o,
String pname)
Gets a property value using introspection |
static Class |
getPropertyClass(Class c,
String name)
determines the class of a property using instrospection. |
static Class |
getPropertyClass(Object o,
String name)
|
static List |
getPropertyHolderProperties(PropertyHolder o)
|
static String |
getPropertyName(String getterName)
|
static void |
setProperty(Object o,
String pname,
Object value,
Class valueClass)
sets a property using introspection |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Introspector()
| Method Detail |
public static List getProperties(Object o)
o -
public static List getPropertyHolderProperties(PropertyHolder o)
public static String getPropertyName(String getterName)
public static boolean _isWritable(Object o,
String property)
public static List getCommonProperties(Collection objects)
objects -
public static Object getProperty(Object o,
String pname)
o - pname -
public static void setProperty(Object o,
String pname,
Object value,
Class valueClass)
o - pname - value - valueClass -
public static Class getPropertyClass(Object o,
String name)
public static Class getPropertyClass(Class c,
String name)
name -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||