public static class IlvCSSJViews.ConvertWithBGO
extends ilog.views.util.beans.IlvConvertForSetters
| Constructor and Description |
|---|
ConvertWithBGO()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Object source,
Class<?> targetType,
Class<?> editorClass,
Class<?> classWithStaticFields)
Converts the source object into the target type.
|
Object |
convert(Object source,
PropertyDescriptor pd,
Class<?> classWithStaticFields,
boolean indexed)
Converts the source object to be suitable for the property
whose property descriptor is given.
|
public Object convert(Object source, PropertyDescriptor pd, Class<?> classWithStaticFields, boolean indexed)
convert in class ilog.views.util.beans.IlvConvertForSetterssource - The value to be converted.pd - The property descriptor specifying the type to convert the value
to.classWithStaticFields - Optional argument to specify the class containing the possible
values as public static fields. If not null, this
argument is used to try to convert the field name to the field's
value, like for enumerated types.indexed - true whether the value is one element of the indexed pd.int, the method will return an Integer).public Object convert(Object source, Class<?> targetType, Class<?> editorClass, Class<?> classWithStaticFields)
convert in class ilog.views.util.beans.IlvConvertForSetterssource - The value to be converted.targetType - The type to which the value should be converted.editorClass - A property editor for the targetType if available.
null means to use the pre-registered property editor
class, if available.classWithStaticFields - Optional argument to specify the class containing the possible
values as public static fields. If not null, this
argument is used to try to convert the field name to the field's
value, like for enumerated types.int, this method will return an Integer).© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.