From richfaces-svn-commits at lists.jboss.org Tue Mar 31 12:04:25 2009 Content-Type: multipart/mixed; boundary="===============3242222593243900643==" 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: r13319 - trunk/docs/userguide/en/src/main/docbook/included. Date: Tue, 31 Mar 2009 12:04:25 -0400 Message-ID: --===============3242222593243900643== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: artdaw Date: 2009-03-31 12:04:25 -0400 (Tue, 31 Mar 2009) New Revision: 13319 Added: trunk/docs/userguide/en/src/main/docbook/included/colorPicker.desc.xml trunk/docs/userguide/en/src/main/docbook/included/colorPicker.xml Log: https://jira.jboss.org/jira/browse/RF-6581 - Description, Details of Usage = sections are done Added: trunk/docs/userguide/en/src/main/docbook/included/colorPicker.desc.x= ml =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 --- trunk/docs/userguide/en/src/main/docbook/included/colorPicker.desc.xml = (rev 0) +++ trunk/docs/userguide/en/src/main/docbook/included/colorPicker.desc.xml = 2009-03-31 16:04:25 UTC (rev 13319) @@ -0,0 +1,48 @@ + +
+ + + rich:colorPicker + colorPicker + + +
+ Description + + The + + <rich:colorPicker> + + component = + lets you visually choose a color or define it in hex, RGB, or HSB = input fields. + +
+ + Simple + <emphasis role=3D"bold"> + <property><rich:colorPicker></property> + </emphasis> + component + + + + + + +
+
+
+ Key Features + + + Possibility to get color in hex, or RGB color models + + + Flat/inline representation + + + Highly customizable look and feel + + +
+
Added: trunk/docs/userguide/en/src/main/docbook/included/colorPicker.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 --- trunk/docs/userguide/en/src/main/docbook/included/colorPicker.xml = (rev 0) +++ trunk/docs/userguide/en/src/main/docbook/included/colorPicker.xml 2009-= 03-31 16:04:25 UTC (rev 13319) @@ -0,0 +1,169 @@ + +
+ + + rich:colorPicker + colorPicker + + + + Component identification parameters + + + + Name + Value + + + + + component-type + org.richfaces.ColorPicker + + + component-class + org.richfaces.component.html.HtmlColorPicker + + + component-family + org.richfaces.ColorPicker + + + renderer-type + org.richfaces.ColorPickerRenderer + + + tag-class + org.richfaces.taglib.ColorPickerTag + + + +
+
+ Creating the Component with a Page Tag + Here is a simple example of how the component can be used on a pag= e: + + Example: + + + + +...]]> + +
+
+ Creating the Component Dynamically Using Java + + Example: + + + + +
+
+ Details of Usage + + The + <rich:colorPicker> + + component allows you simply select a color or define it in hex, RGB, or= HSB input fields. + There are two squares in the widget that help you to compare the curren= tly selected color and + the already selected color. + + + The + + "value" + + attribute stores = + selected color. + + + The value of the + + <rich:colorPicker> + + component could be saved in hex or RGB color models. + You can explicitly define a color model in the + + "colorMode" + + attribute. + + + Example: + + + +...]]> + + + The + + <rich:colorPicker> + + component has two representation states: flat and inline. = + With the help of the + + "flat" + + attribute + you can define whether the component is rendered flat. + + + Example: + + + +...]]> + +
+ + Usage of the = + <emphasis> + <property><flat></property> + </emphasis> + attribute + + + + + + +
+ + The "showEvent" att= ribute defines + the event that shows = + = + <rich:colorPicker> + widget. The default value is "onclick". + + + The = + <rich:colorPicker> + + component allows to use the "icon" facet. + + + You can also customize + <rich:colorPicker> + rainbow slider ( + + + + + +) + = + with the help of the + "arrows" facet. + + = +
+
--===============3242222593243900643==--