From richfaces-svn-commits at lists.jboss.org Tue Mar 1 01:06:09 2011
Content-Type: multipart/mixed; boundary="===============7385213512641166893=="
MIME-Version: 1.0
From: richfaces-svn-commits at lists.jboss.org
To: richfaces-svn-commits at lists.jboss.org
Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r21995 -
modules/docs/trunk/Component_Reference/src/main/docbook/en-US.
Date: Tue, 01 Mar 2011 01:06:09 -0500
Message-ID: <201103010606.p21669qI030758@svn01.web.mwc.hst.phx2.redhat.com>
--===============7385213512641166893==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: SeanRogers
Date: 2011-03-01 01:06:08 -0500 (Tue, 01 Mar 2011)
New Revision: 21995
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Compo=
nent_Reference-Menus_and_toolbars.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Compo=
nent_Reference-Output_and_messages.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Compo=
nent_Reference-Panels_and_containers.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Compo=
nent_Reference-Tables_and_grids.xml
Log:
Completed API details RFPL-1085
Modified: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/cha=
p-Component_Reference-Menus_and_toolbars.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Comp=
onent_Reference-Menus_and_toolbars.xml 2011-03-01 04:07:07 UTC (rev 21994)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Comp=
onent_Reference-Menus_and_toolbars.xml 2011-03-01 06:06:08 UTC (rev 21995)
@@ -252,6 +252,23 @@
+ =
+
=
-->
+ =
+
=
+ =
+
=
+ =
+
=
+ =
+
=
=
+
+ JavaScript API
+
+ The <rich:progressBar> component can be c=
ontrolled through the JavaScript API. The JavaScript API provides the follo=
wing functions:
+
+
+
+ getValue()
+
+
+ Return the current value displayed on the progress bar.
+
+
+
+
+ setValue()
+
+
+ Set the current value to display on the progress bar.
+
+
+
+
+ getMinValue()
+
+
+ Return the minimum value for the progress bar.
+
+
+
+
+ getMaxValue()
+
+
+ Return the maximum value for the progress bar.
+
+
+
+
+ disable()
+
+
+ Disables the progress bar.
+
+
+
+
+ enable()
+
+
+ Enables the progress bar.
+
+
+
+
+ isEnabled()
+
+
+ Returns a boolean value indicating whether the progress b=
ar is enabled.
+
+
+
+
+
+ =
Reference data
@@ -636,6 +701,31 @@
=
+
+ =
=
+
+ =
=
+
+ =
=
+
+ JavaScript API
+
+ The <rich:dataTable> component can be con=
trolled through the JavaScript API. The JavaScript API provides the followi=
ng functions:
+
+
+
+ expandAllSubTables()
+
+
+ Expand any sub-tables contained in the data table.
+
+
+
+
+ collapseAllSubTables()
+
+
+ Collapse any sub-tables contained in the data table.
+
+
+
+
+ switchSubTables()
+
+
+ Switch the expanded or collapsed state of any sub-tables =
contained in the data table.
+
+
+
+
+ filter(columnId, newFilterValue, [isClearPrevio=
usFilters])
+
+
+ Filter the table based on the column specified with the <=
parameter>columnId parameter. Use the newFilterValue=
parameter as the filter value. The optional isClear=
PreviousFilters parameter is a boolean value which, if set to <=
literal>true, will clear any previous filters applied to the tabl=
e.
+
+
+
+
+ sort(columnId, [direction], [isClearPreviousSor=
ting])
+
+
+ Sort the table based on the column specified with the columnId parameter. The option direction parameter specifies whether to sort in ascending or descending ord=
er. The optional isClearPreviousSorting parameter is=
a boolean value which, if set to true, will clear any p=
revious sorting applied to the table.
+
+
+
+
+
+ =
Reference data
@@ -796,7 +910,65 @@
Style classes and skin parameters
+
+
+ =
=
@@ -1009,6 +1181,79 @@
=
=
+
+ JavaScript API
+
+ The <rich:extendedDataTable> component ca=
n be controlled through the JavaScript API. The JavaScript API provides the=
following functions:
+
+
+
+ sort()
+
+
+ Sort the data table.
+
+
+
+
+ filter()
+
+
+ Filter the data table.
+
+
+
+
+ clearSorting()
+
+
+ Clear any sorting that is currently applied to the table.
+
+
+
+
+ clearFiltering()
+
+
+ Clear any filtering that is currently applied to the tabl=
e.
+
+
+
+
+ selectRow(index)
+
+
+ Select the row specified by the index parameter.
+
+
+
+
+ selectRows([startIndex, stopIndex])<=
/term>
+
+
+ Select all the rows in the table. Optionally, select only=
those rows between the indexes specified with the startIndex
and stopIndex parameters.
+
+
+
+
+ deselectRow
+
+
+ Deselect the row that is currently selected.
+
+
+
+
+ setActiveRow(index)
+
+
+ Set the active row to that specified by the in=
dex parameter.
+
+
+
+
+
+ =
Reference data
--===============7385213512641166893==--