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.Self
clazz
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, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public 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 © 2004–2021. All rights reserved.