O'Reilly logo

Core Java® Volume II—Advanced Features, Ninth Edition by Gary Cornell, Cay S. Horstmann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8.5. Bean Property Types

A sophisticated bean will expose lots of different properties and events. Properties can be as simple as the fileName property that you saw in ImageViewerBean and FilePickerBean or as sophisticated as a color value or even an array of data points—we’ll encounter both of these cases later in this chapter. The JavaBeans specification allows four types of properties, illustrated here by various examples.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required