Class PropertyDescriptor<P extends Describable<P>,​T>

    • Constructor Detail

      • PropertyDescriptor

        protected PropertyDescriptor​(Class<? extends P> clazz)
      • PropertyDescriptor

        protected PropertyDescriptor()
    • Method Detail

      • isApplicable

        public boolean isApplicable​(Class<? extends T> targetType)
        Returns true if this property type is applicable to the given target type.

        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.

        true to indicate applicable, in which case the property will be displayed in the configuration screen of the target, for example.