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, valid
public java.lang.Class getType()
BeanCustomizer
getType
in class BeanCustomizer
public java.lang.String[] items(java.lang.Object bean, java.lang.String groupName)
BeanCustomizer
BeanCustomizer
implementation returns null.items
in class BeanCustomizer
bean
- 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)
BeanCustomizer
BeanCustomizer
implementation returns null.visible
in class BeanCustomizer
public PropertyDescriptor descriptor(java.lang.Object bean, java.lang.String propertyName)
BeanCustomizer
BeanCustomizer
implementation
returns null.descriptor
in class BeanCustomizer
public PropertyField field(java.lang.Object bean, java.lang.String propertyName)
BeanCustomizer
PropertyField
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 BeanCustomizer
public java.lang.String label(java.lang.Object bean, java.lang.String itemName)
BeanCustomizer
BeanCustomizer
implementation returns null.label
in class BeanCustomizer