$CLASSNAME$
	UIToolBar
$SUMMARY$
	Class UIToolBar
$LANG_RU$
	 UIToolBar
$ABOUT$
	Class of toolbar.
$LANG_RU$
	  .
$SYNTAX$
	UIToolBar()	--> UIToolBar object
$LANG_RU$
	UIToolBar()	-->  UIToolBar
$ATTRIBUTES$
	<className>	- Class name. Value should be "UIToolBar".
	<elem>		- Array of buttons on toolbar.
$LANG_RU$
	<className>	-  . : "UIToolBar".
	<elem>		-     .

$METHODNAME$
	UIToolBar()
$SUMMARY$
	Constructor. Create toolbar.
$LANG_RU$
	.   .
$SYNTAX$
	UIToolBar()	--> UIToolBar object
$ENDMETHOD$

$METHODNAME$
	addButton()
$SUMMARY$
	Add button to toolbar.
$LANG_RU$
	    .
$SYNTAX$
	addButton([<pic>],<tooltip>,[<action>],[<isEnabled>])	--> <nItem>
$ARGUMENTS$
	<pic>		- Object <link linkend="classuiimage">UIImage</link>. Icon on the button.
	<tooltip>	- String. Text of tool tip for the button.
	<action>	- Code block. Code block that will be executed if button pressed.
	<isEnabled>	- Boolean. Flag of button activity.
$LANG_RU$
	<pic>		-  <link linkend="classuiimage">UIImage</link>.   .
	<tooltip>	- .    .
	<action>	-  .  ,     .
	<isEnabled>	-  .   .
$RETURNS$
	Index of added object <link linkend="classuitoolbutton">UIToolButton</link> in array <elem>.
$LANG_RU$
	   <link linkend="classuitoolbutton">UIToolButton</link>   <elem>.
$DESCRIPTION$
	In this method the object <link linkend="classuitoolbutton">UIToolButton</link> is placed in the <elem> array. Method returns index of added object in this array.
$LANG_RU$
	      <elem>   <link linkend="classuitoolbutton">UIToolButton</link>.        .
$ENDMETHOD$

$METHODNAME$
	addSeparator()
$SUMMARY$
	Add separator to the toolbar.
$LANG_RU$
	    .
$SYNTAX$
	addSeparator()
$ENDMETHOD$

$METHODNAME$
	show()
$SUMMARY$
	Show/hide toolbar.
$LANG_RU$
	/  .
$SYNTAX$show([<f>])
$ARGUMENTS$
	<f>		- Boolean. Flag of toolbar visibility. Default value is true.
$LANG_RU$
	<f>		-  .    .   : .
$ENDMETHOD$

$METHODNAME$
	hide()
$SUMMARY$
	Hide toolbar.
$LANG_RU$
	  .
$SYNTAX$
	hide()
$ENDMETHOD$

$METHODNAME$
	enable()
$SUMMARY$
	Make button active (enabled).
$LANG_RU$
	   ().
$SYNTAX$
	enable(<pos>)
$ARGUMENTS$
	<pos>		- Number. Index of button on toolbar.
$LANG_RU$
	<pos>		- .     .
$ENDMETHOD$

$METHODNAME$
	disable()
$SUMMARY$
	Disable button on toolbar.
$LANG_RU$
	   ().
$SYNTAX$
	disable(<pos>)
$ARGUMENTS$
	<pos>		- Number. Index of button on toolbar.
$LANG_RU$
	<pos>		- .     .
$ENDMETHOD$

$METHODNAME$
	remove()
$SUMMARY$
	Remove button from toolbar.
$LANG_RU$
	    .
$SYNTAX$
	remove(<pos>)
$ARGUMENTS$
	<pos>		- Number. Index of button on toolbar.
$LANG_RU$
	<pos>		- .     .
$ENDMETHOD$

$METHODNAME$
	clear()
$SUMMARY$
	Clear toolbar.
$LANG_RU$
	  .
$SYNTAX$
	clear()
$ENDMETHOD$

$METHODNAME$
	getElement()
$SUMMARY$
	Get button object.
$LANG_RU$
	  .
$SYNTAX$
	getElement(<pos>)	--> <oItem>
$ARGUMENTS$
	<pos>		- Number. Index of button on toolbar.
$LANG_RU$
	<pos>		- .     .
$RETURNS$
	<link linkend="classuitoolbutton">UIToolButton</link> object. Button object.
$LANG_RU$
	 <link linkend="classuitoolbutton">UIToolButton</link>.  .
$ENDMETHOD$

$METHODNAME$
	isEnabled()
$SUMMARY$
	Get flag of button activity.
$LANG_RU$
	   .
$SYNTAX$
	isEnabled(<pos>)	--> <bEnabled>
$ARGUMENTS$
	<pos>		- Number. Index of button on toolbar.
$LANG_RU$
	<pos>		- .     .
$RETURNS$
	Flag of button activity.
$LANG_RU$
	  .
$ENDMETHOD$

$EXAMPLES$
	main_tbar := UIToolBar()
	main_tbar:addButton( UIImage("icons/journal_bank_pp.xpm"), "Payment orders", {|| BankRefReq(win) } )

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

