JavaScript is disabled on your browser.
Skip navigation links
Java™ Platform
Standard Ed. 8
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
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.
Skip navigation links
Java™ Platform
Standard Ed. 8
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.

AltStyle によって変換されたページ (->オリジナル) /