Web Application Framework Component Reference Guide
|
  
|
Menu is a View component that allows user to design drop-down menu functionality into their web applications. Menu component consists of Menu bar and sub menu items. Menu component is available from the component palette and one can configure the style and look of the menu at design time.
Hierarchical collection of menu items can be configured by defining the menu items through XML. At run time, this XML will be used as an input for reading the menu definition.
For more details on writing this XML, please refer to the DTD and sample XML.
Property Name
|
Description
|
Notes
|
Background Color
|
This property defines the background color of the menu. All menu items will be shown with the color that is specified by this property.
|
|
Mouse over color
|
This property defines the mouse over color of the menu. When the mouse is moved over the menu items, they will change to the color specified by this property.
|
|
Font Name
|
This property defines the font family to be used for the menu item(s) text. All menu item text will appear with the font that is specified by this property.
|
|
Font Size
|
This property defines the font size to be used for the menu item(s) text. All menu item text will appear with the font size that is specified by this property.
|
|
Font Style
|
This property defines the font style to be used for the menu item(s) text. All menu item text will appear with the font style that is specified by this property.
|
|
Menu Style
|
This property defines the style of the menu. (Either HORIZONTAL or VERTICAL)
|
|
Menu Definition File
|
This property defines the name of the XML file which has the menu definition. The location of the XML file should be relative to the context root of the application.
|
Req
|
Cached Menu Definition Attribute Name
|
This property defines the application scope attribute name where the XML DOM Tree is kept. When this is set, menu definition will be read from the DOM tree stored in the attribute specified by this property.
|
|
Web Application Framework Component Reference Guide
|
819-0725-10
|
  
|
Copyright © 2004, Sun Microsystems, Inc. All Rights Reserved.