| java.lang.Object org.netbeans.modules.tasklist.filter.TaskProperty
TaskProperty | abstract class TaskProperty (Code) | | Lightweight property for indirect access to suggestion
properties. Replaces both reflection and property-getter-dispatchers
in filters and view columns. Represents an API to add properties to
task views and filters. We don't like bean properties and reflection
for effectivity reasons.
A property serves to extract the value it represents from
a given Suggestion.
Properties for different views/filters/... are difined in factories
named in plural like SuggestionProperties, TaskProperties, etc.
|
getName | public String getName()(Code) | | Returns human readable name of this property. The name is
retrieved from the bundle stored in the same directory as
the real class of this property with the key:
"LBL_" + getID() + "Property".
localized String |
getValue | abstract public Object getValue(Task t)(Code) | | Extract the value represented by this property from the given
suggestion.
Parameters: obj - the Suggestion to extract from Object value extracted |
getValueClass | public Class getValueClass()(Code) | | Returns class of values of this property.
Class |
|
|