Chapter 15


Java™ 2 Primer Plus
By Steven Haines, Steve Potts

Table of Contents
Appendix C.  Answers to Review Questions


A JavaBean provides a get and a set method for all its publicly exposed properties. If a property is read-only, the set method is omitted. Normally, JavaBeans also have a visual representation both on the toolbar and on the screen at runtime.


The SimpleBeanInfo class provides a getIcon() method that can be called by GUI tool to obtain an icon for its toolbar.


A bound property is one that can accept a listener who will be notified when the property value changes.


A constrained property is one that can also accept a listener. In addition, it provides the listener with a veto over the changes.


    Java 2 Primer Plus
    Java 2 Primer Plus
    ISBN: 0672324156
    EAN: 2147483647
    Year: 2001
    Pages: 332

    Similar book on Amazon © 2008-2017.
    If you may any questions please contact us: