User`s guide
Custom Pages
164
890 USE 152 00 V.2
LiveBeanApplet
LiveBeanApplet
Parameters
The LiveBeanApplet uses parameters to allow you to specify the graphic object
to be presented by the applet and to set the applet’s background color.
In addition to the above parameters, the <APPLET> tag for a LiveBeanApplet
must include ‘width’ and ‘height’ attributes. Normally, the size of a
LiveBeanApplet is set to match the size of the graphic object that it is
presenting. To get the size of a graphic object, select it while the Graphic Editor is
in editing mode. The selected object’s name and size are shown in the “Information
Area” at the top of the Graphic Editor applet.
Continued on next page
Parameter… Defines…
LIBRARY The name of the graphic display which contains the graphic object that is
to be presented by the applet. (This will be the same name that was used
when the graphic display was saved with the Graphic Editor .)
This parameter is required.
BEAN The name of the graphic object that is to be retrieved from the graphic
display specified by the LIBRARY parameter. (This will be the name that
appears as the ‘Name’ property of the graphic object.)
This parameter is required.
BACKGRND The background color for the applet. Acceptable values are WHITE,
LT_GRAY, GRAY, DK_GRAY, BLACK, RED, PINK, ORANGE,
YELLOW, GREEN, MAGENTA, CYAN, and BLUE. Also, a RGB color
value can be entered using the format “0xRRGGBB” where RR, GG and
BB are the hexadecimal values for the red, green and blue components,
respectively.
This parameter is optional, but is normally set to match the color of the
HTML page.