$CLASSNAME$
	UITable
$SUMMARY$
	Class UITable
$LANG_RU$
	 UITable
$ABOUT$
	Class of table (multicolumn list).
$LANG_RU$
	  ( ).
$SYNTAX$
	UITable(<columns>)	--> UITable object
$LANG_RU$
	UITable(<columns>)	-->  UITable
$ATTRIBUTES$
	<className>	- Class name. Value should be "UITable".
	<nodes>		- Accociated array of <link linkend="classuitableitem">UITableItem</link> objects.
	<onSelect> 	- Code block. Action that will be call on row selection by double click or 'Enter' key pressed.
	<altRowColor>	- <link linkend="classuicolor">UIColor</link> object. Alternative color for even rows in table. Default value defined in macro variable ALT_TABLE_ROW_COLOR, that is defined in file clip-ui.ch.
$LANG_RU$
	<className>	-  . : "UITable".
	<nodes>		-    <link linkend="classuitableitem">UITableItem</link>.
	<onSelect> 	-  . ,           'Enter'.
	<altRowColor>	-  <link linkend="classuicolor">UIColor</link>.   ޣ  .   ң   ALT_TABLE_ROW_COLOR,    clip-ui.ch.

$METHODNAME$
	UITable()
$SUMMARY$
	Constructor. Create table.
$LANG_RU$
	.  .
$SYNTAX$
	UITable(<columns>)	--> UITable object
$ARGUMENTS$
	<columns>	- Array of strings. Caption for table columns.
$LANG_RU$
	<columns>	-  .   .
$ENDMETHOD$

$METHODNAME$
	addRow()
$SUMMARY$
	Add row into table.
$LANG_RU$
	   .
$SYNTAX$
	addRow(data,[<id>])	--> <oTableItem>
$ARGUMENTS$
	<data>		- Array of strings. Array of values by columns.
	<id>		- String. Row identifier.
$LANG_RU$
	<data>		- M .     .
	<id>		- .  .
$RETURNS$
	Appended row object (<link linkend="classuitableitem">UITableItem</link>).
$LANG_RU$
	   (<link linkend="classuitableitem">UITableItem</link>).
$ENDMETHOD$

$METHODNAME$
	setAction()
$SUMMARY$
	Set action that will be call on selection by double click or 'Enter' key pressed.
$LANG_RU$
	 ,           'Enter'.
$SYNTAX$
	setAction([<signal>],<action>)
$ARGUMENTS$
	<signal>	- String. Signal name.
	<action>	- Code block. Action.
$LANG_RU$
	<signal>	- .  .
	<action>	-  . .
$ENDMETHOD$

$METHODNAME$
	clear()
$SUMMARY$
	Clear table: remove all rows.
$LANG_RU$
	 :   .
$SYNTAX$
	clear()
$ENDMETHOD$

$METHODNAME$
	getSelection()
$SUMMARY$
	Get selected row identifier.
$LANG_RU$
	   .
$SYNTAX$
	getSelection()	--> <sRow>
$RETURNS$
	The identifier of selected row.
$LANG_RU$
	  .
$ENDMETHOD$

$METHODNAME$
	getSelectionId()
$SUMMARY$
	Get user identifier of selected row.
$LANG_RU$
	    .
$SYNTAX$
	getSelectionId()	--> <sRow>
$RETURNS$
	The user identifier of selected row.
$LANG_RU$
	   .
$ENDMETHOD$

$METHODNAME$
	savePosition()
$SUMMARY$
	Get current selected row position.
$LANG_RU$
	   .
$SYNTAX$
	savePosition()	--> <aPos>
$RETURNS$
	Array with selected row position: row address, column address, horizontal and vertical adjustments.
$LANG_RU$
	     :    ,    .
$ENDMETHOD$

$METHODNAME$
	restorePosition()
$SUMMARY$
	Restore saved row position.
$LANG_RU$
	 cΣ  .
$SYNTAX$
	restorePosition(<aPos>)
$ARGUMENTS$
	<aPos>		- Array with selected row position returned by savePosition() function.
$LANG_RU$
	<aPos>		-      ,   savePosition().
$ENDMETHOD$

$METHODNAME$
	setAltRowColor()
$SUMMARY$
	Set alternative color for even rows in table.
$LANG_RU$
	   ޣ  .
$SYNTAX$
	setAltRowColor(<color>)
$ARGUMENTS$
	<color>		- <link linkend="classuicolor">UIColor</link> object. Alternative color for even rows in table.
$LANG_RU$
	<color>		-  <link linkend="classuicolor">UIColor</link>.   ޣ  .
$ENDMETHOD$

$EXAMPLES$
	table := UITable({"No","Date","Payee","Sum"})
	table:setAltRowColor("#cbe8ff")
	table:addRow({"1","20.10.03",'"John Corp."',"20000.00"})

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