$CLASSNAME$
	UIDocument
$SUMMARY$
	Class UIDocument
$LANG_RU$
	 UIDocument
$ABOUT$
	Class for document window. It inherits properties and methods of class <link linkend="classuichildwindow">UIChildWindow</link>.
$LANG_RU$
	  .      <link linkend="classuichildwindow">UIChildWindow</link>.
$SYNTAX$
	UIDocument([<caption>],<parent>,[<name>])	--> UIDocument object
$LANG_RU$
	UIDocument([<caption>],<parent>,[<name>])	-->  UIDocument
$ATTRIBUTES$
	<className>	- Class name. Value should be "UIDocument".
	<actions>	- Button bar. Type is <link linkend="classuibuttonbar">UIButtonBar</link>.
	<userSpace>	- Scrolled region for widget placement. <link linkend="classuivbox">UIVBox</link> object.
$LANG_RU$
	<className>	-  . : "UIDocument".
	<actions>	-  . : <link linkend="classuibuttonbar">UIButtonBar</link>.
	<userSpace>	-    .  <link linkend="classuivbox">UIVBox</link>.

$METHODNAME$
	UIDocument()
$SUMMARY$
	Constructor. Create child window with button bar at bottom and scrolled region for widget placement.
$LANG_RU$
	.            .
$SYNTAX$
	UIDocument([<caption>],<parent>,[<name>])	--> UIDocument object
$ARGUMENTS$
	<caption>	- String. Caption of child window.
	<parent>	- Window object. Parent window which should be contains child window. Before create first child window for this parent window must be called method setMDI().
	<name>		- String. Window name.
$LANG_RU$
	<caption>	- .   .
	<parent>	-  . ,     .             setMDI().
	<name>		- .     .
$ENDMETHOD$

$EXAMPLES$
	  /* Create main window and document window */
	  win := UIMainWindow("Main window")
	  win:setMDI()
	  docWindow := UIDocument("Document", win, "doc")

	  /* Add edit field and button for close document window */
	  docWindow:userSpace:add(UIEdit())
	  docWindow:actions:add(UIButton(, "&Close", {|| docWindow:close() } )))

	  /* Show these windows */
	  docWindow:show()
	  win:show()
$LANG_RU$
	  /*       */
	  win := UIMainWindow("Main window")
	  win:setMDI()
	  docWindow := UIDocument("Document", win, "doc")

	  /*        */
	  docWindow:userSpace:add(UIEdit())
	  docWindow:actions:add(UIButton(, "&Close", {|| docWindow:close() } )))

	  /*   */
	  docWindow:show()
	  win:show()

$PLATFORMS$
	No dependies of platform.
$LANG_RU$
	   .
$SEEALSO$
$AUTHOR$
	Andrey Cherepanov <skull@eas.lrn.ru>
$LANG_RU$
	  <skull@eas.lrn.ru>
$LASTDATE$
