Lotus BeanMachine Reference

Database

Use the Database part to access a database using JDBC.

Database Properties

auto commit Are the changes saved automatically or only when you run the commit action?
auto start Does the query run when the applet starts?
background color The background color of the database form
database name The URL of the database, such as jdbc:odbc:sample
driver Type of database, either ODBC or DB/2
error code The most recent error code
error message The most recent error message
error SQL state The most recent SQL state information
font The font used in the database form
foreground color The text color in the database form
name The name of this part inside the applet
size and position The size and location of this part
parameter Value to use as an input parameter to the query
parameter scale For numeric or decimal parameters, the number of decimal places
parameter type The SQL data type of the parameter
password The password for connecting to the database
presentation style The form that displays the data, either freeform, list or custom
query The SQL select statement
read only Indicates whether the database be modified and saved
table The name of the table to retrieve data from
userid The userid for connecting to the database

Database Actions

add new Adds a new, blank row
close Closes the database
commit Commits the transaction and saves any changes
delete Deletes the current row
disable Makes the database form inactive
enable Makes the database form active
hide Makes the database form invisible
move to first Moves to the first row
move to last Moves to the last row
move to next Moves to the next row
move to previous Moves to the previous row
rollback Ends the current transaction and discard any changes
run query Retrieves the data from the database
show Makes the database form visible
update Updates the current row

Database Events

error An error occurred
item selected An item was selected from the list


Headline

Use a Headline to display a scrolling list of text with URL Links.

Headline Properties

auto start Does the headline start when the applet starts?
background color The background color of the headline
font The font of the text
foreground color The color of the text
name The name of this part inside the applet
size and position The size and location of this part
movement style How the text changes from one headline to the next
picture The name of the .gif or .jpg file to show behind the text
refresh time How often, in minutes, the message text is updated from the URL specified in the text source property
rollover color The color of the text when the mouse cursor is over the headline
target frame The frame in which to display the new page
target name Specifies the name of the frame to link to
text and URL links Headlines to display and the URLs to link to when clicked
text source The filename or URL that contains the headlines and URL links

Headline Actions

hide Makes the headline invisible
show Makes the headline visible
start Starts the headline
stop Stops the headline

Headline Events

mouse enter The mouse cursor was moved over the headline
mouse exit The mouse cursor was moved away from the headline
mouse down The mouse was pressed down over the headline
mouse up The mouse was released over the headline
refreshed The text specified by text source has been reloaded


Mail Link

Use the Mail Link to display the browser's e-mail window.

Mail Link Properties

name The name of this part inside the applet
send to address The email address of the person to whom you want to send mail

Mail Link Actions

send Starts the browser's mail dialog

Mail Link Events
none

URL Link

Use a URL Link to display a new page in your browser.

URL Link Properties

name The name of this part inside the applet
status message The text to display on the browser's status line
target frame The frame in which to display the new page
target name Specifies the name of the frame to link to
URL address The address of the URL to show

URL Link Actions

show document Displays the new page
show status Updates the browser's status line

URL Link Events
none