[richfaces-svn-commits] JBoss Rich Faces SVN: r11845 - trunk/docs/userguide/en/src/main/docbook/included.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Dec 17 08:41:18 EST 2008


Author: atsebro
Date: 2008-12-17 08:41:18 -0500 (Wed, 17 Dec 2008)
New Revision: 11845

Modified:
   trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.desc.xml
   trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml
Log:
RF-5287: describeInputNumberSlider 2 new features

Modified: trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.desc.xml	2008-12-17 12:42:42 UTC (rev 11844)
+++ trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.desc.xml	2008-12-17 13:41:18 UTC (rev 11845)
@@ -14,12 +14,12 @@
 </sectioninfo>
 <section>
 <title>Description</title>
-    <para>The component lets selecting a number from a numeric region. It&apos;s a horizontal 
-    aligned scroll-like control with its own input field (optional) present. The keyboard input in a
+    <para>The component lets selecting a number from a numeric region. It&apos;s a horizontal or vertical 
+	oriented scroll-like control with its own input field (optional) present. The keyboard input in a
      field is possible (optional). Also it&apos;s possible to see the current value in the toolTip
       above a dragged handle control.</para>
       <figure>
-          <title><emphasis role="bold"><property>&lt;rich:inputNumberSlider&gt;</property></emphasis> component</title>
+          <title><emphasis role="bold"><property>&lt;rich:inputNumberSlider&gt;</property></emphasis> component, horizontal and vertical views</title>
     <mediaobject> 
         <imageobject>
             <imagedata fileref="images/inputNumberSlider_init.png"/>

Modified: trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml	2008-12-17 12:42:42 UTC (rev 11844)
+++ trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml	2008-12-17 13:41:18 UTC (rev 11845)
@@ -226,12 +226,9 @@
 			the messages. For example, {1} for
 			<code>&quot;DoubleRangeValidator.MAXIMUM&quot;</code>
 			, {2} for
-			<code>&quot;ShortConverter.SHORT&quot;</code>
-			.
+			<code>&quot;ShortConverter.SHORT&quot;</code>.
 		</para>
-		
-		<para>
-		Using the
+	      <!-- <para>Using the
             <emphasis>
                 <property>&quot;orientation&quot;</property>
             </emphasis>
@@ -254,46 +251,24 @@
                     <imagedata fileref="images/inputNumberSlider_vertical.png" />
                 </imageobject>
             </mediaobject>
-        </figure>
-		
-		<para>
-		Using the
-            <emphasis>
-                <property>&quot;showArrows&quot;</property>
-            </emphasis>
-            attribute (default is &quot;false&quot;)
-		  possible to display 2 controls that increase/decrease the value by the 
-		  defined step width, when they are clicked. When the mouse button is clicked and pressed, 
-		  the pointer is moved with a delay set in miliseconds in<emphasis>
-                <property>&quot;delay&quot;</property>
-            </emphasis> attribute.
-		</para>
-		
-		<para>
-            <emphasis role="bold">Example:</emphasis>
-        </para>
-        <programlisting role="XML"><![CDATA[
-        <rich:inputNumberSlider minValue="0"  
-                              maxValue="100" 
-                              showInput="false" 
-                              showArrows="true" 
-                              delay="150"/>
-        ]]></programlisting>
-        <para>It's displayed at page like:</para>
-        <figure>
-            <title>
-                <emphasis role="bold">
-                    <property>&lt;&slider;&gt;</property>
-                </emphasis>
-                with horizontal arrows.
-            </title>
-            <mediaobject>
-                <imageobject>
-                    <imagedata fileref="images/inputNumberSlider_arrows.png" />
-                </imageobject>
-            </mediaobject>
-        </figure>
-
+            </figure>-->
+	      
+	      <para><emphasis><property>&quot;showArrows&quot;</property></emphasis>. 
+	            When set to &quot;true&quot;, this boolean attribute enables additional controls for increasing and decreasing slider value. 
+	            The controls (arrows by default) are placed in the beginning and in the end of slider track:</para>
+	            <figure>
+	                  <title><emphasis role="bold"><property>&lt;rich:inputNumberSlider&gt;</property></emphasis> with additional controls</title>
+	                  <mediaobject>
+	                        <imageobject>
+	                              <imagedata fileref="images/inputNumberSlider4.png" />
+	                        </imageobject>
+	                  </mediaobject>
+	            </figure>
+	      <para>Clicking an arrow changes the driven value on the amount defined with <emphasis><property>&quot;step&quot;</property></emphasis> attribute. 
+	            Keepeng an arrow control pressed changes the value continuous. 
+	            Time that value takes to change from one step to another is definded with <emphasis><property>&quot;delay&quot;</property></emphasis> attribute.    
+	      </para>
+	
 	</section>
 	<section>
 		<title>Look-and-Feel Customization</title>
@@ -472,9 +447,7 @@
 	<section>
 		<title>Definition of Custom Style Classes</title>
 
-		<para>
-			On the screenshot there are classes names that define styles
-			for component elements.
+		<para>Style classes names that define styles for component elements are shown on the picture below:
 		</para>
 
 		<figure>
@@ -485,17 +458,8 @@
 						fileref="images/inputNumberSlider_cn.png" />
 				</imageobject>
 			</mediaobject>
-		</figure>
+		      </figure>
 		
-		<figure>
-            <title>Style classes for increase/decrease</title>
-            <mediaobject>
-                <imageobject>
-                    <imagedata
-                        fileref="images/inputNumberSlider_cn_vertical.png" />
-                </imageobject>
-            </mediaobject>
-        </figure>
 
 		<table id="tab_cn">
 			<title>




More information about the richfaces-svn-commits mailing list