java.beans

Interface Customizer


  • public interface Customizer
    A customizer class provides a complete custom GUI for customizing a target Java Bean.

    Each customizer should inherit from the java.awt.Component class so it can be instantiated inside an AWT dialog or panel.

    Each customizer should have a null constructor.

    • Method Detail

      • setObject

        void setObject(Object bean)
        Set the object to be customized. This method should be called only once, before the Customizer has been added to any parent AWT container.
        Parameters:
        bean - The object to be customized.
      • addPropertyChangeListener

        void addPropertyChangeListener(PropertyChangeListener listener)
        Register a listener for the PropertyChange event. The customizer should fire a PropertyChange event whenever it changes the target bean in a way that might require the displayed properties to be refreshed.
        Parameters:
        listener - An object to be invoked when a PropertyChange event is fired.
      • removePropertyChangeListener

        void removePropertyChangeListener(PropertyChangeListener listener)
        Remove a listener for the PropertyChange event.
        Parameters:
        listener - The PropertyChange listener to be removed.

Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-java/beans/customizer.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut