[UP] Wd_dialog
|
WDialog API for Objective Caml: Wd_dialog.dialog
Class virtual Wd_dialog.dialogclass virtual dialog :The class dialog is the implementation of Wd_types.dialog_type that
should be used as base definition for all dialog objects. This class
defines all methods but handle and prepare_page - these must be
defined in the subclasses provided by the application programmer.
Furthermore, there are some extensions to Wd_types.dialog_type
realized as private methods to simplify access to templates.
These additional methods begin with t_ , but are otherwise named
like the corresponding function in the module Wd_template .
The class takes three anonymous parameters:
Inherits
The following private methods are shortcuts for theWd_template
module.method private t_get :
Returns the template
method private t_apply :
Applies the template, and passes the parameters to it
method private t_apply_byname :
Applies the named template, and passes the parameters to it
method private t_apply_lazily :
Constructs the expression that applies the names template on
demand.
method private t_concat :
Concatenates the
tree list , and put the separator tree between
the partsmethod private t_empty :
The empty XML tree
method private t_text :
The XML tree containing this text
method private t_html :
The XML tree containing this HTML material
method private t_to_string :
Evaluates the XML tree in the current environment, and returns
the corresponding output string (HTML code)
method private put_tree :
Sets the
string variable to the string representation
of the tree |