corelib.services.web.components
Class IntegerTextBox

java.lang.Object
  extended by corelib.services.web.components.WebComponent
      extended by corelib.services.web.components.VisualComponent
          extended by corelib.services.web.components.FormElement
              extended by corelib.services.web.components.FormInput
                  extended by corelib.services.web.components.TextBox
                      extended by corelib.services.web.components.IntegerTextBox

public class IntegerTextBox
extends TextBox

This component class, that derive from TextBox, limits the user inputs only on digits for edit integer values.

Since:
0.4.0
Author:
Dominique Liard

Nested Class Summary
 
Nested classes/interfaces inherited from class corelib.services.web.components.TextBox
TextBox.TextBoxType
 
Field Summary
 
Fields inherited from class corelib.services.web.components.FormInput
autoPost, oldValue, readOnly
 
Fields inherited from class corelib.services.web.components.FormElement
disabled, value
 
Fields inherited from class corelib.services.web.components.VisualComponent
cssClass, cssStyle, toolTipText, visible
 
Fields inherited from class corelib.services.web.components.WebComponent
dataBindings, webPage, xmlNode
 
Constructor Summary
IntegerTextBox()
           
 
Method Summary
 void component_renderEnd(WebPageEvent webPageEvent)
           
 int getIntegerValue()
          Returns the selected value as integer type.
 
Methods inherited from class corelib.services.web.components.TextBox
component_renderBegin, getMaxLength, getType, setMaxLength, setType
 
Methods inherited from class corelib.services.web.components.FormInput
addFormInputListener, component_load, fireFormInputEvent, getOldValue, getSharedAttributesHtmlEncoding, isAutoPost, isReadOnly, oldValueHtmlEnconding, setAutoPost, setOldValue, setReadOnly
 
Methods inherited from class corelib.services.web.components.FormElement
getValue, isDisabled, setDisabled, setValue
 
Methods inherited from class corelib.services.web.components.VisualComponent
component_postRender, component_preRender, component_renderChildren, component_renderJavascriptLocalisation, encodeAttributeValue, getCssClass, getCssStyle, getOnClickListener, getToolTipText, isVisible, renderElement, setCssClass, setCssStyle, setOnClickListener, setToolTipText, setVisible
 
Methods inherited from class corelib.services.web.components.WebComponent
addBindingExpression, addChildComponent, component_init, component_preRepeaterDuplications, getChildComponents, getDataBinding, getElementsByTagName, getId, getWebPage, getXmlNode, setId, setWebPage, setXmlNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerTextBox

public IntegerTextBox()
Method Detail

getIntegerValue

public int getIntegerValue()
Returns the selected value as integer type.

Returns:
The edited integer value.
See Also:
FormElement.getValue()

component_renderEnd

public void component_renderEnd(WebPageEvent webPageEvent)
Overrides:
component_renderEnd in class TextBox


CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.

Copyright 2012 Infini Software - All Rights Reserved.