com.threerings.editor
Class Introspector

java.lang.Object
  extended by com.threerings.editor.Introspector

public class Introspector
extends Object

Provides access to the editable properties of objects.


Constructor Summary
Introspector()
           
 
Method Summary
static String[] getCategories(Class<?> clazz)
          Returns an array containing the categories to which the supplied class's properties are assigned.
static String getMessageBundle(Class<?> clazz)
          Returns the message bundle to use when translating the supplied class's properties.
static Property[] getProperties(Class<?> clazz)
          Returns an array containing the editable properties of the supplied class.
static Property[] getProperties(Object object)
          Returns an array containing both the static and the dynamic properties of the specified object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Introspector

public Introspector()
Method Detail

getCategories

public static String[] getCategories(Class<?> clazz)
Returns an array containing the categories to which the supplied class's properties are assigned.


getProperties

public static Property[] getProperties(Object object)
Returns an array containing both the static and the dynamic properties of the specified object.


getProperties

public static Property[] getProperties(Class<?> clazz)
Returns an array containing the editable properties of the supplied class.


getMessageBundle

public static String getMessageBundle(Class<?> clazz)
Returns the message bundle to use when translating the supplied class's properties.



Copyright © 2011. All Rights Reserved.