Class WMLCard() Professional

Class function of the WMLCard class.

Superclass
Description

Objects of The WMLCard class must be created by the :newCard() method of the WMLDeck class. They cannot exist on their own but require a WMLDeck object as their container. A WMLCard object manages a single card in the card-deck and creates WML code enclosed by the <card> and </card> tags.

The tags within the group "Methods for input" are only allowed with in a paragraph (<p>...</p>). Before calling a method of this group, call :put( '<p>' ) to begin a paragraph, and close the paragraph later with :put( '</p>' ).

Instance variables
:id
Unique identifier.
:title
The WMLCard's title
Methods for text
:paragraph()
Add a paragraph.
:linebreak()
Add a linebreak.
Methods for input
:selectStart()
Mark the begin of a selection list.
:selectOption()
Create a single item in a selection list.
:selectEnd()
Mark the end of a selection list.
:sle()
Create an input element.
:img()
Create a link to a WBMP image file.
Methods for navigation
:href()
Create a WML hyperlink.
:setTimeOut()
Set a timeout.
:setWaa()
Add a link to a WAA package function.
:setVar()
Create a CGI variable.
:task()
Create a task.
Miscellaneous methods
:getWaaLink()
Build a CGI connection string.
:put()
Add WML code.
:setParent()
Set or get the parent WMLDeck.
:setNextCard()
Get or set next WMLCard in the WMLDeck.
:setPrevCard()
Get or set previous WMLCard in the WMLDeck.
Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.