P - Type of the XyzProperty. Called 'property type'T - Type of the Xyz, that the property attaches to. Called 'target type'public abstract class PropertyDescriptor<P extends Describable<P>,T> extends Descriptor<P>
Descriptor type used for XyzProperty classes.Descriptor.FormException, Descriptor.PropertyType, Descriptor.Selfclazz| Modifier | Constructor and Description |
|---|---|
protected |
PropertyDescriptor() |
protected |
PropertyDescriptor(Class<? extends P> clazz) |
| Modifier and Type | Method and Description |
|---|---|
static <D extends PropertyDescriptor<?,T>,T> |
for_(List<D> all,
Class<? extends T> target) |
static <D extends PropertyDescriptor<?,T>,T> |
for_(List<D> all,
T target) |
boolean |
isApplicable(Class<? extends T> targetType)
Returns true if this property type is applicable to the
given target type.
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic boolean isApplicable(Class<? extends T> targetType)
The default implementation of this method checks if the given node type is assignable according to the parameterization, but subtypes can extend this to change this behavior.
public static <D extends PropertyDescriptor<?,T>,T> List<D> for_(List<D> all, Class<? extends T> target)
public static <D extends PropertyDescriptor<?,T>,T> List<D> for_(List<D> all, T target)
Copyright © 2019. All rights reserved.