Sun Java Studio Creator 2 – Online Help
 

Image Hyperlink Component

See Also | Tutorials

You can drag the Image Hyperlink Image Hyperlink icon component from the Palette's Basic category to the Visual Designer to create an image that links to a URL. The image hyperlink can display both text and an image.

You can right-click the component and choose Set Image to set the image to a file or an icon. Specifying the image in this dialog sets the appropriate properties for you. The imageURL property specifies an image in a file or at a URL on the Web.The icon property specifies an icon in the default theme.

Other than the extra support for an image, an Image Hyperlink is essentially the same as a Hyperlink component. As with the Hyperlink component, if you set the action property, the page is submitted. If instead you set the url property, the link is a normal hyperlink that sends the browser to a new location. You set the component's properties in its Properties window.

See Also
Binding Component Properties
Working With Components
Component Tasks: Quick Reference
Component Web Tutorials
Data Source 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