ilog.views.maps.graphic.style
Class IlvPropertyDescriptorManager

java.lang.Object
  extended by ilog.views.maps.graphic.style.IlvPropertyDescriptorManager

public class IlvPropertyDescriptorManager
extends Object

IlvPropertyDescriptorManager is a class to manage property descriptor dependencies.

Since:
JViews 8.0

Nested Class Summary
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.
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

registerPropertyDescriptor

public static void registerPropertyDescriptor(Class beanClass,
                                              PropertyDescriptor descriptor,
                                              boolean expert)
Registers a PropertyDescriptor object for the given class.

Parameters:
beanClass - The class to register the PropertyDescriptor for.
descriptor - The PropertyDescriptor.
expert - Set to true for expert mode.

getPropertyDescriptors

public static PropertyDescriptor[] getPropertyDescriptors(Class beanClass,
                                                          boolean expert)
Returns the PropertyDescriptor objects for the given class.

Parameters:
beanClass - The class for which the PropertyDescriptor objects have been registered.
expert - Set to true to retrieve expert mode descriptors (all).
Returns:
An array of property descriptors.

notify

public static void notify(ilog.views.util.psheet.IlvPropertySheet s,
                          String propertyName,
                          Object value)
Notifies that the property propertyName has changed to a new value.

Parameters:
s - The property sheet to refresh.
propertyName - The property name.
value - The new value.

notify

public static void notify(ilog.views.util.psheet.IlvPropertySheet s,
                          String propertyName)
Notifies that the property propertyName has changed to a new value.

Parameters:
s - The property sheet to refresh.
propertyName - The property name.

addDependency

public static void addDependency(Class beanClass,
                                 IlvPropertyDescriptorManager.Dependency d)
Add a dependency for this bean class.

Parameters:
beanClass - The bean class.
d - The dependency.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.