The ButtonRow class extends EmbeddedPanel. It has the following
entry in the DTD file:
Table 1. ButtonRow definitionLine entry in the DTD file |
Description |
<!ELEMENT ButtonRow (TaskLauncherButton)+> |
A ButtonRow has one or more TaskLauncherButtons |
<!ATTLIST ButtonRow
width CDATA "372"
height CDATA "25"
x CDATA #IMPLIED
y CDATA #IMPLIED
name CDATA #IMPLIED
hSpace CDATA "2"
vSpace CDATA "2">
|
Attribute list |
Table 2. ButtonRow attributesAttribute |
Description |
width |
Width of the row of buttons |
height |
Height of the row of buttons |
x |
Horizontal coordinate for the location of the row of buttons |
y |
Vertical coordinate for the location of the row of buttons |
name |
Name used by the Desktop to identify this component |
hSpace |
Horizontal space between two buttons inside the row |
vSpace |
Vertical space between the buttons and the top level of the
ButtonRow |
The following is an example of an XML definition for a ButtonRow:
<ButtonRowwidth="340" height="25" hSpace="2" vSpace="2" >
<TaskLauncherButton ... />
...
</ButtonRow>