public class RuleCustomizer extends BeanCustomizer
| Modifier and Type | Class and Description |
|---|---|
class |
RuleCustomizer.ArrayLabelField |
| Constructor and Description |
|---|
RuleCustomizer() |
| Modifier and Type | Method and Description |
|---|---|
PropertyDescriptor |
descriptor(java.lang.Object bean,
java.lang.String propertyName)
Gets the descriptor for a property of a bean, or null to defer to a
superclass customizer.
|
PropertyField |
field(java.lang.Object bean,
java.lang.String propertyName)
Gets the
PropertyField which should be used to display a property
of a bean, or null to defer to a superclass customizer. |
java.lang.Class |
getType()
The type which this customizer customizes.
|
java.lang.String[] |
items(java.lang.Object bean,
java.lang.String groupName)
Gets an array of property and property group names for the properties of
a bean, in display order, or null to defer to a superclass customizer.
|
java.lang.String |
label(java.lang.Object bean,
java.lang.String itemName)
Gets the localized label for a property or property group of a bean, or
null to defer to a superclass customizer.
|
java.lang.Boolean |
visible(java.lang.Object bean,
java.lang.String itemName)
Gets whether a property or property group of the bean should be visible,
or null to defer to a superclass customizer.
|
description, modifiable, type, validpublic java.lang.Class getType()
BeanCustomizergetType in class BeanCustomizerpublic java.lang.String[] items(java.lang.Object bean,
java.lang.String groupName)
BeanCustomizerBeanCustomizer implementation returns null.items in class BeanCustomizerbean - the instance of the bean class being displayedgroupName - the name of a property group, or null for the notional
top level grouppublic java.lang.Boolean visible(java.lang.Object bean,
java.lang.String itemName)
BeanCustomizerBeanCustomizer implementation returns null.visible in class BeanCustomizerpublic PropertyDescriptor descriptor(java.lang.Object bean, java.lang.String propertyName)
BeanCustomizerBeanCustomizer implementation
returns null.descriptor in class BeanCustomizerpublic PropertyField field(java.lang.Object bean, java.lang.String propertyName)
BeanCustomizerPropertyField which should be used to display a property
of a bean, or null to defer to a superclass customizer. The
default BeanCustomizer implementation returns null.field in class BeanCustomizerpublic java.lang.String label(java.lang.Object bean,
java.lang.String itemName)
BeanCustomizerBeanCustomizer implementation returns null.label in class BeanCustomizer