public class IlvPropertyDescriptorManager extends Object
IlvPropertyDescriptorManager
is a class to manage property
descriptor dependencies.Modifier and Type | Class and Description |
---|---|
static class |
IlvPropertyDescriptorManager.Dependency
Dependency describes the dependency between two
PropertyDescriptor objects. |
static class |
IlvPropertyDescriptorManager.ShowHideDependency
ShowHideDependency represents a dependency that shows or
hides a property descriptor. |
Modifier and Type | Method and Description |
---|---|
static void |
addDependency(Class<?> beanClass,
IlvPropertyDescriptorManager.Dependency d)
Add a dependency for this bean class.
|
static PropertyDescriptor[] |
getPropertyDescriptors(Class<?> beanClass,
boolean expert)
Returns the
PropertyDescriptor objects for the given class. |
static void |
notify(ilog.views.util.psheet.IlvPropertySheet s,
String propertyName)
Notifies that the property
propertyName has changed to
a new value. |
static void |
notify(ilog.views.util.psheet.IlvPropertySheet s,
String propertyName,
Object value)
Notifies that the property propertyName has changed to
a new value.
|
static void |
registerPropertyDescriptor(Class<?> beanClass,
PropertyDescriptor descriptor,
boolean expert)
Registers a
PropertyDescriptor object for the given class. |
public static void registerPropertyDescriptor(Class<?> beanClass, PropertyDescriptor descriptor, boolean expert)
PropertyDescriptor
object for the given class.beanClass
- The class to register the PropertyDescriptor
for.descriptor
- The PropertyDescriptor
.expert
- Set to true
for expert mode.public static PropertyDescriptor[] getPropertyDescriptors(Class<?> beanClass, boolean expert)
PropertyDescriptor
objects for the given class.beanClass
- The class for which the PropertyDescriptor
objects have been registered.expert
- Set to true
to retrieve expert mode descriptors
(all).public static void notify(ilog.views.util.psheet.IlvPropertySheet s, String propertyName, Object value)
s
- The property sheet to refresh.propertyName
- The property name.value
- The new value.public static void notify(ilog.views.util.psheet.IlvPropertySheet s, String propertyName)
propertyName
has changed to
a new value.s
- The property sheet to refresh.propertyName
- The property name.public static void addDependency(Class<?> beanClass, IlvPropertyDescriptorManager.Dependency d)
beanClass
- The bean class.d
- The dependency.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.