Method Summary |
|
public java.util.Enumeration<String> | attributeNames() Gets an enumeration of the locale-independent names of this
feature. |
static Reference | createReference(Object obj, boolean soft) Create a Reference wrapper for the object. |
static Reference | createReference(Object obj) |
Class | getClass0() |
public String | getDisplayName() Gets the localized display name of this feature. |
public String | getName() Gets the programmatic name of this feature. |
static Object | getObject(Reference ref) Returns an object from a Reference wrapper. |
static Class[] | getParameterTypes(Class base, Method method) Resolves the parameter types of the method. |
static Class | getReturnType(Class base, Method method) Resolves the return type of the method. |
public String | getShortDescription() Gets the short description of this feature.
A localized short description associated with this property/method/event. |
static Reference<T> | getSoftReference(T object) Creates a new soft reference that refers to the given object. |
public Object | getValue(String attributeName) Retrieve a named attribute with this feature.
Parameters: attributeName - The locale-independent name of the attribute The value of the attribute. |
static Reference<T> | getWeakReference(T object) Creates a new weak reference that refers to the given object. |
public boolean | isExpert() The "expert" flag is used to distinguish between those features that are
intended for expert users from those that are intended for normal users. |
public boolean | isHidden() The "hidden" flag is used to identify features that are intended only
for tool use, and which should not be exposed to humans. |
public boolean | isPreferred() The "preferred" flag is used to identify features that are particularly
important for presenting to humans. |
void | setClass0(Class cls) |
public void | setDisplayName(String displayName) Sets the localized display name of this feature. |
public void | setExpert(boolean expert) The "expert" flag is used to distinguish between features that are
intended for expert users from those that are intended for normal users. |
public void | setHidden(boolean hidden) The "hidden" flag is used to identify features that are intended only
for tool use, and which should not be exposed to humans. |
public void | setName(String name) Sets the programmatic name of this feature. |
public void | setPreferred(boolean preferred) The "preferred" flag is used to identify features that are particularly
important for presenting to humans. |
public void | setShortDescription(String text) You can associate a short descriptive string with a feature. |
public void | setValue(String attributeName, Object value) Associate a named attribute with this feature. |