The MenuButtonRow class extends EmbeddedPanel. It has the following
entry in the DTD file:
Table 1. MenuButtonRow definitionLine entry in the DTD file |
Description |
<!ELEMENT MenuButtonRow (MenuButton+)> |
A MenuButtonRow contains one or more MenuButtons |
<!ATTLIST MenuButtonRow
width CDATA "140"
height CDATA "25"
hSpace CDATA "2"
vSpace CDATA "2">
|
Attribute list |
Table 2. MenuButtonRow attributesAttribute |
Description |
width |
Width of the menu button row |
weight |
Height of the menu button row |
hSpace |
Horizontal space between the buttons inside the row |
vSpace |
Vertical space between the buttons and the top level of the button
row |
The following is an example of an XML definition for a MenuButtonRow:
<MenuButtonRow width ="160" height="25" hSpace="2" vSpace="2">
<MenuButton ...>
......
</MenuButton>
<MenuButton ...>
......
</MenuButton>
......
</MenuButtonRow>