C# Class SobekCM.Library.Citation.Elements.textArea_Element

Abstract base class for all elements which are made up of a text area element
This class implements the iElement interface and extends the abstract_Element class.
Inheritance: abstract_Element
Mostrar archivo Open project: MarkVSullivan/SobekCM-Web-Application

Protected Properties

Property Type Description
cols int
cols_mozilla int
rows int

Public Methods

Method Description
Add_Default_Value ( string defaultValue ) : void

Adds a default value for this text area based element

Protected Methods

Method Description
Inner_Read_Data ( XmlTextReader XMLReader ) : void

Reads the inner data from the CompleteTemplate XML format

This reads the default value from a value subelement

render_helper ( TextWriter Output, List instance_values, string Skin_Code, bool isMozilla, User_Object Current_User, Web_Language_Enum CurrentLanguage, Language_Support_Info Translator, string Base_URL ) : void

Method helps to render all simple text area based elements

render_helper ( TextWriter Output, string instance_value, string Skin_Code, bool isMozilla, User_Object Current_User, Web_Language_Enum CurrentLanguage, Language_Support_Info Translator, string Base_URL ) : void

Method helps to render all simple text area based elements

textArea_Element ( string Title, string Html_Element_Name ) : System

Constructor for a new instance of the textArea_Element class

Method Details

Add_Default_Value() public method

Adds a default value for this text area based element
public Add_Default_Value ( string defaultValue ) : void
defaultValue string New default value
return void

Inner_Read_Data() protected method

Reads the inner data from the CompleteTemplate XML format
This reads the default value from a value subelement
protected Inner_Read_Data ( XmlTextReader XMLReader ) : void
XMLReader System.Xml.XmlTextReader Current template xml configuration reader
return void

render_helper() protected method

Method helps to render all simple text area based elements
protected render_helper ( TextWriter Output, List instance_values, string Skin_Code, bool isMozilla, User_Object Current_User, Web_Language_Enum CurrentLanguage, Language_Support_Info Translator, string Base_URL ) : void
Output System.IO.TextWriter Output for the generated html for this element
instance_values List Value(s) for the current digital resource to display
Skin_Code string Code for the current html skin
isMozilla bool Flag indicates if the browser is Mozilla Firefox
Current_User SobekCM.Core.Users.User_Object Current user, who's rights may impact the way an element is rendered
CurrentLanguage Web_Language_Enum Current user-interface language
Translator SobekCM.Core.ApplicationState.Language_Support_Info Language support object which handles simple translational duties
Base_URL string Base URL for the current request
return void

render_helper() protected method

Method helps to render all simple text area based elements
protected render_helper ( TextWriter Output, string instance_value, string Skin_Code, bool isMozilla, User_Object Current_User, Web_Language_Enum CurrentLanguage, Language_Support_Info Translator, string Base_URL ) : void
Output System.IO.TextWriter Output for the generated html for this element
instance_value string Value for the current digital resource to display
Skin_Code string Code for the current html skin
isMozilla bool Flag indicates if the browser is Mozilla Firefox
Current_User SobekCM.Core.Users.User_Object Current user, who's rights may impact the way an element is rendered
CurrentLanguage Web_Language_Enum Current user-interface language
Translator SobekCM.Core.ApplicationState.Language_Support_Info Language support object which handles simple translational duties
Base_URL string Base URL for the current request
return void

textArea_Element() protected method

Constructor for a new instance of the textArea_Element class
protected textArea_Element ( string Title, string Html_Element_Name ) : System
Title string Title for this element
Html_Element_Name string Name for the html components and styles for this element
return System

Property Details

cols protected_oe property

Protected field holds the number of columns (width) to display in most browsers
protected int cols
return int

cols_mozilla protected_oe property

Protected field holds the number of columns (width) to display in Mozilla Firefox
protected int cols_mozilla
return int

rows protected_oe property

Protected field holds the number of rows for the text area to display
protected int rows
return int