com.plumtree.uiinfrastructure.pagecontrols.htmlpagecontrols
Class HTMLTextArea

java.lang.Object
  extended by com.plumtree.uiinfrastructure.pagecontrols.framework.AComponent
      extended by com.plumtree.uiinfrastructure.pagecontrols.framework.AHTMLComponent
          extended by com.plumtree.uiinfrastructure.pagecontrols.htmlpagecontrols.HTMLTextArea
All Implemented Interfaces:
IManagedObject, IMVCObject, IPageControl

public class HTMLTextArea
extends AHTMLComponent
implements IPageControl

Author:
CaiusV

Field Summary
static java.lang.String STR_MVC_CLASS_NAME
          class name constant
 
Fields inherited from class com.plumtree.uiinfrastructure.pagecontrols.framework.AComponent
m_ptPageMgr
 
Constructor Summary
HTMLTextArea()
          Default constructor.
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 int GetComponentCols()
          Return m_sHTMLComponentCols, coloumn size for the text area.
 HTMLElementCollection GetComponentHTML()
          Returns the HTML for this component.
 int GetComponentRows()
          Return m_sHTMLComponentRows, row size for the text area.
protected  java.lang.String GetHTMLComponentBaseName()
          Returns the base name of this HTML Component.
 java.lang.String GetName()
          Return the name of the MVC object.
 void Init(PageMgr _ptPageMgr, java.lang.String _strUniqueInstanceID, int _iCols, int _iRows)
          Initializes a ATextArea object.
 void SetComponentCols(int _cols)
          Set the column size (m_iHTMLComponentCols) for textarea.
 void SetComponentRows(int _rows)
          Set the rpw size (m_iHTMLComponentRows) for textarea.
 
Methods inherited from class com.plumtree.uiinfrastructure.pagecontrols.framework.AHTMLComponent
AddValidator, GetComponentMgr, GetComponentMgrName, GetHTMLComponentName, GetHTMLComponentSize, GetHTMLComponentStyleClass, GetHTMLComponentValue, GetJSValidationCode, GetLabel, GetValidators, Init, SetHTMLComponentName, SetHTMLComponentSize, SetHTMLComponentStyleClass, SetHTMLComponentValue, SetLabel, SetParameters, StoreUserInput, Validate
 
Methods inherited from class com.plumtree.uiinfrastructure.pagecontrols.framework.AComponent
AppendUniqueIDToElementName, GetComponentHeadContent, GetComponentPostContent, GetComponentPreContent, GetComponentPreFormContent, GetPageMgr, GetSubComponentHTMLByIndex, GetUniqueInstanceID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IPageControl
GetComponentMgr, GetComponentMgrName, GetUniqueInstanceID, StoreUserInput
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
class name constant

See Also:
Constant Field Values
Constructor Detail

HTMLTextArea

public HTMLTextArea()
Default constructor. Creates a new HTMLTextArea object.

Method Detail

Init

public void Init(PageMgr _ptPageMgr,
                 java.lang.String _strUniqueInstanceID,
                 int _iCols,
                 int _iRows)
Initializes a ATextArea object.

Parameters:
_ptPageMgr - PageManager
_strUniqueInstanceID - Unique Instance ID
_iCols - Text Area columns
_iRows - Text Area rows

GetHTMLComponentBaseName

protected java.lang.String GetHTMLComponentBaseName()
Returns the base name of this HTML Component.

Specified by:
GetHTMLComponentBaseName in class AHTMLComponent
Returns:
String

GetComponentHTML

public HTMLElementCollection GetComponentHTML()
Returns the HTML for this component.

Specified by:
GetComponentHTML in interface IPageControl
Specified by:
GetComponentHTML in class AComponent
Returns:

Create

public java.lang.Object Create()
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Specified by:
Create in class AComponent
Returns:
A new instance of the managed class (i.e. return new Foo();)

GetName

public java.lang.String GetName()
Return the name of the MVC object.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class AComponent
Returns:
the name of the object.

GetComponentCols

public int GetComponentCols()
Return m_sHTMLComponentCols, coloumn size for the text area.

Returns:
text area columns.

GetComponentRows

public int GetComponentRows()
Return m_sHTMLComponentRows, row size for the text area.

Returns:
text area rows.

SetComponentCols

public void SetComponentCols(int _cols)
Set the column size (m_iHTMLComponentCols) for textarea.

Parameters:
_cols - column size

SetComponentRows

public void SetComponentRows(int _rows)
Set the rpw size (m_iHTMLComponentRows) for textarea.

Parameters:
_ros - column size



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.