Sun Java Studio Creator 2 – Online Help
 

Property Sheet Component

See Also | Tutorials

You can drag the Property Sheet component Property Sheet icon from the Palette's Layout category to the Visual Designer to create a property sheet, which typically is on a page of its own and provides a container to lay out components.

A property sheet contains Property Sheet Section components, which in turn contain Property components. Initially, a property sheet has one section that contains one property.

You can add a new section to a property sheet by dropping a Property Sheet Section component on the property sheet, or you can right-click the Property Sheet component and choose Add Property Sheet Section. If you set the jumpLinks property, the property sheet displays links to its sections at the top of the property sheet.

You can add a new property by dropping a Property component on a Property Sheet Section, or you can right-click the Property Sheet Section component and choose Add Property.

All these components are available as nodes in the Outline window, where you can select them, move them around, right-click them, and delete them.

Setting the requiredFields property of the Property Sheet component to true displays a short description of the Required Fields icon at the top of the property sheet. The icon displays to the left of a Property component's label and indicates that the user must enter data for that component. You set the requiredFields property in the Property Sheet component's Properties window.

The following link shows a sample Property Sheet component with required fields: Property Sheet Example

See Also
Property Sheet Component Properties Window
Working With Components
Component Tasks: Quick Reference
Component Web Tutorials
About the Palette
Tutorials
Delving Into Components Tutorial
 
 
 
Legal Notices. Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Close