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

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
All Implemented Interfaces:
IHtmlAttributeContainer, IHtmlBase, IHtmlEventListener, IHtmlIdentifiable, IHtmlOutputable
Direct Known Subclasses:
HtmlFocusEventingFormItem, HtmlTextArea

public abstract class HtmlEventingFormItem
extends HtmlFormItem

A class describing a form item which can receive events For these events, a language need to be specified. Created: Thu Nov 04 09:05:35 1999

Version:
$Revision: #3 $

Inner classes inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithUniqueManager
HtmlContainerIdentifiableWithUniqueManager.HtmlUniqueObjectFacade
 
Field Summary
protected  java.lang.String m_language
          The language used when receiving an event from the browser.
protected  java.lang.String m_onChange
          What to do when the form item changes.
protected  boolean m_readOnly
          The form item is just read only.
 
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
HtmlEventingFormItem()
           
 
Method Summary
 java.lang.String getLanguage()
          Get the value of m_language.
 java.lang.String getOnChange()
          Get the value of m_onChange.
 boolean getReadOnly()
          Get the value of m_readOnly.
 void outputAttributes(java.io.PrintWriter out)
          Deprecated.  
 void outputAttributes(java.lang.StringBuffer strbuf)
           
 void outputAttributes(java.io.Writer out)
           
 void setLanguage(java.lang.String v)
          Set the value of m_language.
 void setOnChange(java.lang.String v)
          Set the value of m_onChange.
 void setReadOnly(boolean v)
          Set the value of m_readOnly.
 
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_language

protected java.lang.String m_language
The language used when receiving an event from the browser.

m_onChange

protected java.lang.String m_onChange
What to do when the form item changes.

m_readOnly

protected boolean m_readOnly
The form item is just read only.
Constructor Detail

HtmlEventingFormItem

public HtmlEventingFormItem()
Method Detail

outputAttributes

public void outputAttributes(java.lang.StringBuffer strbuf)
Overrides:
outputAttributes in class HtmlFormItem

outputAttributes

public void outputAttributes(java.io.PrintWriter out)
Deprecated.  

Overrides:
outputAttributes in class HtmlFormItem
Following copied from interface: com.sapportals.portal.prt.util.html.IHtmlAttributeContainer
Parameters:
writer -  

outputAttributes

public void outputAttributes(java.io.Writer out)
Overrides:
outputAttributes in class HtmlFormItem

getLanguage

public java.lang.String getLanguage()
Get the value of m_language.
Returns:
Value of m_language.

setLanguage

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

getOnChange

public java.lang.String getOnChange()
Get the value of m_onChange.
Returns:
Value of m_onChange.

setOnChange

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

getReadOnly

public boolean getReadOnly()
Get the value of m_readOnly.
Returns:
Value of m_readOnly.

setReadOnly

public void setReadOnly(boolean v)
Set the value of m_readOnly.
Parameters:
v - Value to assign to m_readOnly.