Class TextArea

TextArea

public class TextArea

A class to be used in class ControlGroup, it will create a textarea.


Constructor Summary
TextArea(var $name, var $value, var $rows, var $cols, var $displayOnly)
          Constructor of the class TextArea.
 
Method Summary
 string GetCellAttributes()
          Method to get the cell attributes.
 string GetClass()
          Method to get the Class.
 integer GetColSpan()
          Method to get the colspan.
 string GetCSS()
          Method to get the CSS.
 string GetId()
          Method to get the id.
 string GetName()
          Method to get the name of the text area.
 string GetString()
          Method to get the html code of the class.
 bool IsHidden()
          Method to check if the object is a hidden element.
 bool IsNewLine()
          Method to check if the object should be placed to a new line.
 bool IsObjectAnArray()
          Method to check if the object is an array of objects.
 void SetCellAttributes(var $cellAttr)
          Method to set the cell attributes for CSS.
 void SetClass(var $class)
          Method to set the class.
 void SetColSpan(var $colspan)
          Method to set the colspan.
 void SetCSS(var $css)
          Method to set the CSS.
 void SetId(var $id)
          Method to set the id.
 void SetName(var $name)
          Method to set the name of the text area.
 void SetNewLine(var $value)
          Method to set to put the object to a new line.
 

Constructor Detail

TextArea

public TextArea(var $name,
                var $value,
                var $rows,
                var $cols,
                var $displayOnly)
Constructor of the class TextArea.
Parameters:
$displayOnly - Default Value: false
Method Detail

SetName

public void SetName(var $name)
Method to set the name of the text area.

GetName

public string GetName()
Method to get the name of the text area.

SetCellAttributes

public void SetCellAttributes(var $cellAttr)
Method to set the cell attributes for CSS.

GetCellAttributes

public string GetCellAttributes()
Method to get the cell attributes.

GetId

public string GetId()
Method to get the id.

SetId

public void SetId(var $id)
Method to set the id.

SetCSS

public void SetCSS(var $css)
Method to set the CSS.

GetCSS

public string GetCSS()
Method to get the CSS.

SetClass

public void SetClass(var $class)
Method to set the class.

GetClass

public string GetClass()
Method to get the Class.

SetColSpan

public void SetColSpan(var $colspan)
Method to set the colspan.

GetColSpan

public integer GetColSpan()
Method to get the colspan.

GetString

public string GetString()
Method to get the html code of the class.

SetNewLine

public void SetNewLine(var $value)
Method to set to put the object to a new line.
Parameters:
$value - Default Value: TRUE

IsNewLine

public bool IsNewLine()
Method to check if the object should be placed to a new line.

IsHidden

public bool IsHidden()
Method to check if the object is a hidden element.

IsObjectAnArray

public bool IsObjectAnArray()
Method to check if the object is an array of objects.