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

Abstract base class for all elements which are made up of multiple small combo/select boxes
This class implements the iElement interface and extends the abstract_Element class.
Inheritance: abstract_Element
Datei anzeigen Open project: MarkVSullivan/SobekCM-Web-Application

Protected Properties

Property Type Description
boxes_per_line int
items List
max_boxes int
view_choices_string string

Public Methods

Method Description
Add_Item ( string newItem ) : void

Adds a possible, selectable value to the combo/select box

Add_Items ( string New_Items ) : void

Adds a series of possible, selectable values to the combo/select box

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

multipleComboBox_Element ( string Title, string Html_Element_Name ) : System

Constructor for a new instance of the multipleComboBox_Element class

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

Method helps to render all multiple combo box based elements

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

Method helps to render all multiple combo box based elements

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

Method helps to render all multiple combo box based elements

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

Method helps to render all multiple combo box based elements

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

Method helps to render all multiple combo box based elements

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

Method helps to render all multiple combo box based elements

Method Details

Add_Item() public method

Adds a possible, selectable value to the combo/select box
public Add_Item ( string newItem ) : void
newItem string New possible, selectable value
return void

Add_Items() public method

Adds a series of possible, selectable values to the combo/select box
public Add_Items ( string New_Items ) : void
New_Items string List of new possible, selectable 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

multipleComboBox_Element() protected method

Constructor for a new instance of the multipleComboBox_Element class
protected multipleComboBox_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

render_helper() protected method

Method helps to render all multiple combo box based elements
protected render_helper ( TextWriter Output, List instance_values, List possible_values, string Skin_Code, 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
possible_values List Possible vlaues for the combo boxes
Skin_Code string Code for the current html skin
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 multiple combo box based elements
protected render_helper ( TextWriter Output, List instance_values, string Skin_Code, 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
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 multiple combo box based elements
protected render_helper ( TextWriter Output, ReadOnlyCollection instance_values, List possible_values, string Skin_Code, 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 ReadOnlyCollection Value(s) for the current digital resource to display
possible_values List Possible vlaues for the combo boxes
Skin_Code string Code for the current html skin
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 multiple combo box based elements
protected render_helper ( TextWriter Output, ReadOnlyCollection instance_values, string Skin_Code, 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 ReadOnlyCollection Value(s) for the current digital resource to display
Skin_Code string Code for the current html skin
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 multiple combo box based elements
protected render_helper ( TextWriter Output, string instance_value, List possible_values, string Skin_Code, 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
possible_values List Possible vlaues for this combo boxes
Skin_Code string Code for the current html skin
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 multiple combo box based elements
protected render_helper ( TextWriter Output, string instance_value, string Skin_Code, 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
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

Property Details

boxes_per_line protected_oe property

Protected field holds how many boxes are allowed per line, or -1 if there is no limit
protected int boxes_per_line
return int

items protected_oe property

Protected field holds all the possible, selectable values
protected List items
return List

max_boxes protected_oe property

Protected field holds how many boxes are allowed total for this element, or -1 if there is no limit
protected int max_boxes
return int

view_choices_string protected_oe property

Protected field holds any html to insert as the view choices option after the boxes
protected string view_choices_string
return string