[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'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'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's possible to see the current value in the toolTip
above a dragged handle control.</para>
<figure>
- <title><emphasis role="bold"><property><rich:inputNumberSlider></property></emphasis> component</title>
+ <title><emphasis role="bold"><property><rich:inputNumberSlider></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>"DoubleRangeValidator.MAXIMUM"</code>
, {2} for
- <code>"ShortConverter.SHORT"</code>
- .
+ <code>"ShortConverter.SHORT"</code>.
</para>
-
- <para>
- Using the
+ <!-- <para>Using the
<emphasis>
<property>"orientation"</property>
</emphasis>
@@ -254,46 +251,24 @@
<imagedata fileref="images/inputNumberSlider_vertical.png" />
</imageobject>
</mediaobject>
- </figure>
-
- <para>
- Using the
- <emphasis>
- <property>"showArrows"</property>
- </emphasis>
- attribute (default is "false")
- 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>"delay"</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><&slider;></property>
- </emphasis>
- with horizontal arrows.
- </title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/inputNumberSlider_arrows.png" />
- </imageobject>
- </mediaobject>
- </figure>
-
+ </figure>-->
+
+ <para><emphasis><property>"showArrows"</property></emphasis>.
+ When set to "true", 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><rich:inputNumberSlider></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>"step"</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>"delay"</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