Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Customizers & PropertyEditors ( Java Beans)

 
sugi saravanan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When we develop an Client-Side GUI application ,What is the use of customizer and property Editors in Java Bean ?
 
purnima das
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With PropertyEditors and Customizers u can provide u'r own interface to the user to change specific properties.
for eg.,
when u click on font in the propertysheet of beanbox, u get a particular customized dialog box. This dialog is different than that which pops up when u click on background.
similarly, if u have seen the molecule bean, the property "moloculeName" has been customized to be a dropdown list. u could rewrite the customizer for the Molecule bean to popup a dialog box instead of a dropdown menu.
For such customizations (ie., providing u'r own interface to the user of this bean to change the properties of that bean) we can use the Customiser or PropertyEditor Interfaces.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic