public class RuleCustomizer extends BeanCustomizer
| Constructor and Description |
|---|
RuleCustomizer() |
| Modifier and Type | Method and Description |
|---|---|
java.beans.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 BeanCustomizer
public 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 group
public java.lang.Boolean visible(java.lang.Object bean,
java.lang.String itemName)
BeanCustomizerBeanCustomizer implementation returns null.visible in class BeanCustomizer
public java.beans.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 BeanCustomizer
public java.lang.String label(java.lang.Object bean,
java.lang.String itemName)
BeanCustomizerBeanCustomizer implementation returns null.label in class BeanCustomizer