<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN"  "https://ajax4jsf.dev.java.net/nonav/dtds/component-config.dtd" >
<!-- 
<!DOCTYPE components PUBLIC "-//EXADEL//Generator config/EN"  "http://exadel.com/dtds/component-config.dtd" >
 -->
<components>
	<component>
		<name>org.richfaces.inputNumberSpinner</name>
		<family>org.richfaces.inputNumberSpinner</family>
		<classname>org.richfaces.component.html.HtmlInputNumberSpinner</classname>
		<superclass>org.richfaces.component.UIInputNumberSpinner</superclass>
		<test>
			<classname>org.richfaces.component.html.HtmlInputNumberSpinnerComponentTest</classname>
			<superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
		</test>

		<description>
			<![CDATA[Spinner component - A single line input field that lets the user select a number using the controls near the
			text field. User can change value using Up/Down keyboard keys. The keyboard Input in field if it isn't 
			locked by manualInput attribute is possible. After arrow controls pressed - cursor can be
			moved in any way without loosing draged state.
    ]]>
		</description>
		<renderer generate="true" override="true">
			<name>org.richfaces.InputNumberSpinnerRenderer</name>
			<template>inputNumberSpinner.jspx</template>
		</renderer>
		<tag>
			<name>inputNumberSpinner</name>
			<classname>org.richfaces.taglib.InputNumberSpinnerTag</classname>
			<superclass>
				org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
			</superclass>
			<test>
				<classname>org.richfaces.taglib.HtmlInputNumberSpinnerTagTest</classname>
				<superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
			</test>

		</tag>
	    <property>
	    	<name>converterMessage</name>
	    	<classname>java.lang.String</classname>
	    	<description>
			A ValueExpression enabled attribute that, if present, will be used as the text of the converter message, replacing any message that comes from the converter
			</description>
	    </property>
	    <property>
	    	<name>requiredMessage</name>
	    	<classname>java.lang.String</classname>
	    	<description>
			A ValueExpression enabled attribute that, if present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used
			</description>
	    </property>
	    <property>
	    	<name>validatorMessage</name>
	    	<classname>java.lang.String</classname>
	    	<description>
			 	A ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message that comes from the validator
			</description>
	    </property>			
    	<property>
	    	<name>minValue</name>
	    	<classname>java.lang.String</classname>
	    	<description>Minimum value</description>
	    	<defaultvalue><![CDATA["0"]]></defaultvalue>
	    </property>
    	<property>
	    	<name>maxValue</name>
	    	<classname>java.lang.String</classname>
	    	<description>Maximum value</description>
	    	<defaultvalue><![CDATA["100"]]></defaultvalue>
	    </property>
    	<property>
	    	<name>step</name>
	    	<classname>java.lang.String</classname>
    		<description>Parameter that determines the step between nearest values while using controls</description>
	    	<defaultvalue><![CDATA["1"]]></defaultvalue>
	    </property>
    	<property>
	    	<name>cycled</name>
	    	<classname>boolean</classname>
	    	<description>If "true" after the current value reaches the border value it is reversed to another border value
	    		after next increasing/decreasing. In other case possibilities of next increasing (or decreasing) will be locked
			</description>
	    	<defaultvalue>true</defaultvalue>
	    </property>
    	<property>
	    	<name>enableManualInput</name>
	    	<classname>boolean</classname>
	    	<description>if "false" user's input to the text field using keyboard will be locked</description>
	    	<defaultvalue>true</defaultvalue>
	    </property>
    	<property>
	    	<name>disabled</name>
	    	<classname>boolean</classname>
	    	<description>Determines if the component disabled/enabled</description>
	    	<defaultvalue>false</defaultvalue>
	    </property>
    	<property>
	    	<name>onupclick</name>
	    	<classname>java.lang.String</classname>
    		<description>HTML: a script expression; a button "Up" is clicked</description>
	    	<defaultvalue><![CDATA[""]]></defaultvalue>
	    </property>
    	<property>
	    	<name>ondownclick</name>
	    	<classname>java.lang.String</classname>
    		<description>HTML: a script expression; a button "Down" is clicked</description>
	    	<defaultvalue><![CDATA[""]]></defaultvalue>
	    </property>
    	<property>
	    	<name>onerror</name>
	    	<classname>java.lang.String</classname>
    		<description>HTML: a script expression; event fires whenever an JavaScript error occurs</description>
	    	<defaultvalue><![CDATA[""]]></defaultvalue>
	    </property>
		<property>
			<name>maxlength</name>
			<classname>int</classname>
			<description>Attribute specifies the maximum number of characters the user may enter. This number may exceed the specified size, in which case the user agent should offer a scrolling mechanism. The default value for this attribute is an unlimited number</description>
		</property>
		<property>
			<name>inputSize</name>
	    	<classname>int</classname>
			<description>Attribute specifies the initial length of input in characters. Default value is 10</description>
	    	<defaultvalue>10</defaultvalue>
		</property>
		<property>
	    	<name> inputClass </name>
	    	<classname>java.lang.String</classname>
	    	<description> Class attribute for text field</description>
	    	<defaultvalue><![CDATA[""]]></defaultvalue>
	    </property>
	    <property>
	    	<name> inputStyle </name>
	    	<classname>java.lang.String</classname>
	    	<description> Style attribute for text field</description>
	    	<defaultvalue><![CDATA[""]]></defaultvalue>
	    </property>
<!-- 
    	<property>
	    	<name>controlPosition</name>
	    	<classname>java.lang.String</classname>
	    	<description>Determines the position of the arrow controls. It may be "inside" or "outside" the Input text field</description>
	    	<defaultvalue><![CDATA["outside"]]></defaultvalue>
	    </property>
		<property>
	    	<name> style </name>
	    	<classname>java.lang.String</classname>
	    	<description> Styles for main table element of the spinner control.
	    	</description>
	    	<defaultvalue><![CDATA[""]]></defaultvalue>
	    </property>
		<property>
	    	<name> styleClass </name>
	    	<classname>java.lang.String</classname>
	    	<description> Name of CSS class </description>
	    	<defaultvalue><![CDATA[""]]></defaultvalue>
	    </property>		
	    <property>
	    	<name> inputStyle </name>
	    	<classname>java.lang.String</classname>
	    	<description> Style attribute for text field. </description>
	    	<defaultvalue><![CDATA[""]]></defaultvalue>
	    </property>    	
	    <property>
	    	<name> buttonStyle </name>
	    	<classname>java.lang.String</classname>
	    	<description> Style attribute for buttons. </description>
	    	<defaultvalue><![CDATA[""]]></defaultvalue>
	    </property>    	
	    <property>
	    	<name> buttonStyleClass </name>
	    	<classname>java.lang.String</classname>
	    	<description> Style Class attribute for buttons. </description>
	    	<defaultvalue><![CDATA[""]]></defaultvalue>
	    </property>	    
 -->			    
		&html_control_attributes;
		&html_input_events;
		&ui_input_attributes;
		&html_events;
		&ui_component_attributes;
		&html_style_attributes;
		<property hidden="true" >
			<name>maxlength</name>
	    	<classname>int</classname>
		</property>
		<property hidden="true" >
			<name>size</name>
	    	<classname>int</classname>
		</property>
		<property hidden="true" >
			<name>valid</name>
	    	<classname>boolean</classname>
		</property>
		<property hidden="true">
			<name>alt</name>
			<classname>java.lang.String</classname>
			<description>For user agents that cannot display images, forms, or applets, this attribute specifies alternate text. The language of the alternate text is specified by the lang attribute</description>
		</property>
		<property hidden="true">
			<name>localValueSet</name>
			<classname>boolean</classname>
		</property>
		<property hidden="true">
			<name>valid</name>
			<classname>boolean</classname>
		</property>
	</component>
</components>
