com.sapportals.portal.prt.util.html
Class HtmlTextInput

java.lang.Object
  |
  +--com.sapportals.portal.prt.util.html.HtmlAttributeContainer
        |
        +--com.sapportals.portal.prt.util.html.HtmlBase
              |
              +--com.sapportals.portal.prt.util.html.HtmlContainer
                    |
                    +--com.sapportals.portal.prt.util.html.HtmlContainerIdentifiable
                          |
                          +--com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithUniqueManager
                                |
                                +--com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithEvents
                                      |
                                      +--com.sapportals.portal.prt.util.html.HtmlFormItem
                                            |
                                            +--com.sapportals.portal.prt.util.html.HtmlEventingFormItem
                                                  |
                                                  +--com.sapportals.portal.prt.util.html.HtmlFocusEventingFormItem
                                                        |
                                                        +--com.sapportals.portal.prt.util.html.HtmlInput
                                                              |
                                                              +--com.sapportals.portal.prt.util.html.HtmlTextInput
All Implemented Interfaces:
IHtmlAttributeContainer, IHtmlBase, IHtmlEventListener, IHtmlIdentifiable, IHtmlOutputable
Direct Known Subclasses:
HtmlPasswordInput

public class HtmlTextInput
extends HtmlInput

HtmlTextInput.java Created: Thu Nov 04 10:49:41 1999

Version:
$Revision: #3 $

Inner classes inherited from class com.sapportals.portal.prt.util.html.HtmlInput
HtmlInput.InputType
 
Inner classes inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithUniqueManager
HtmlContainerIdentifiableWithUniqueManager.HtmlUniqueObjectFacade
 
Field Summary
protected  int m_maxLength
          the maximum number of characters the user can enter.
protected  java.lang.String m_size
          SIZE sets how wide a text field should be.
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlInput
m_type, m_value
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlFocusEventingFormItem
m_onBlur, m_onFocus
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlEventingFormItem
m_language, m_onChange, m_readOnly
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlFormItem
m_disabled, m_name, m_tabIndex
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithEvents
m_onClick, m_onDoubleClick, m_onKeyDown, m_onKeyPress, m_onKeyUp, m_onMouseOut, m_onMouseOver
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithUniqueManager
m_uniqueObjectList, m_uniqueObjects
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlContainer
m_htmlElements
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlBase
m_hasTag
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlAttributeContainer
EQUALS_BEGIN, EQUALS_END, m_attributes, SPACE
 
Constructor Summary
HtmlTextInput()
           
HtmlTextInput(java.lang.String name, java.lang.String initialValue, java.lang.String classId)
           
 
Method Summary
 int getMaxLength()
          Get the value of m_maxLength.
 java.lang.String getSize()
          Get the value of m_size.
 java.lang.String getSpecificProperties()
           
 void setMaxLength(int v)
          Set the value of m_maxLength.
 void setSize(int v)
           
 void setSize(java.lang.String v)
          Set the value of m_size.
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlInput
getType, getValue, outputAttributes, outputAttributes, outputAttributes, setType, setValue
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlFocusEventingFormItem
getOnBlur, getOnFocus, setOnBlur, setOnFocus
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlEventingFormItem
getLanguage, getOnChange, getReadOnly, setLanguage, setOnChange, setReadOnly
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlFormItem
getDisabled, getName, getTabIndex, setDisabled, setName, setTabIndex
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithEvents
getOnClick, getOnDoubleClick, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseOut, getOnMouseOver, setOnClick, setOnClick, setOnDblClick, setOnDoubleClick, setOnKeyDown, setOnKeyDown, setOnKeyPress, setOnKeyPress, setOnKeyUp, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOut, setOnMouseOver, setOnMouseOver, setOnMouseUp
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithUniqueManager
addUniqueObject, addUniqueObject, destroy, getElementCount, getUniqueObject, getUniqueObjects, output, output, output, removeAllUniqueObjects, removeUniqueObject
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiable
setID
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainer
addElement, addElement, getHtmlElements, outputChildren, outputChildren, outputEndTag, outputEndTag, outputStartTag, outputStartTag, removeAllElements, removeElement, setHtmlElements, toString
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlBase
getTag, hasTag, requireClosingTag, requireClosingTag, setClass, setStyle, setTag
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlAttributeContainer
addAttribute, appendToAttribute, getAttributes, removeAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sapportals.portal.prt.util.html.IHtmlIdentifiable
setClass
 

Field Detail

m_size

protected java.lang.String m_size
SIZE sets how wide a text field should be.

m_maxLength

protected int m_maxLength
the maximum number of characters the user can enter.
Constructor Detail

HtmlTextInput

public HtmlTextInput()

HtmlTextInput

public HtmlTextInput(java.lang.String name,
                     java.lang.String initialValue,
                     java.lang.String classId)
Method Detail

getSpecificProperties

public java.lang.String getSpecificProperties()
Overrides:
getSpecificProperties in class HtmlInput

getSize

public java.lang.String getSize()
Get the value of m_size.
Returns:
Value of m_size.

setSize

public void setSize(java.lang.String v)
Set the value of m_size.
Parameters:
v - Value to assign to m_size.

setSize

public void setSize(int v)

getMaxLength

public int getMaxLength()
Get the value of m_maxLength.
Returns:
Value of m_maxLength.

setMaxLength

public void setMaxLength(int v)
Set the value of m_maxLength.
Parameters:
v - Value to assign to m_maxLength.