Customizers
Home ] Up ] What are JavaBeans? ] The Bean Development Kit ] The BeanBox ] JavaBean Properties ] Simple and Indexed Properties ] Bound Properties ] Constrained Properties ] Bean Deployment ] Introspection ] Property Editors ] [ Customizers ] Bean Persistence ] New JavaBean Features ]

 

 

Well, after all that work to create Property Editors for our various properties, we still have some problems with displaying and editing the properties for our SimpleScatterPlot Bean:

  • There are a number of interacting properties. For example, we have our plotBounds property, but this is only used when autoRangeX or autoRangeY are turned off. This is not obvious from the property sheet representation.
  • We still have quite a number of properties that arise from superclasses of our Bean. Many of those properties we'd like to suppress.
  • Once you get more than a handful of properties, the property sheet isn't the most convenient way of looking at or editing properties for a Bean.

For this reason, the JavaBeans specification allows us to completely override the property sheet for a Bean, and replace it with something more aesthetically pleasing and easier to use. This is called a customizer.

The Customizer Interface

[TBS]

 

 

 
The page was last updated February 19, 2008