C# Класс 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.
Наследование: abstract_Element
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
boxes_per_line int
items List
max_boxes int
view_choices_string string

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Описание методов

Add_Item() публичный Метод

Adds a possible, selectable value to the combo/select box
public Add_Item ( string newItem ) : void
newItem string New possible, selectable value
Результат void

Add_Items() публичный Метод

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
Результат void

Inner_Read_Data() защищенный Метод

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
Результат void

multipleComboBox_Element() защищенный Метод

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
Результат System

render_helper() защищенный Метод

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
Результат void

render_helper() защищенный Метод

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
Результат void

render_helper() защищенный Метод

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
Результат void

render_helper() защищенный Метод

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
Результат void

render_helper() защищенный Метод

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
Результат void

render_helper() защищенный Метод

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
Результат void

Описание свойств

boxes_per_line защищенное свойство

Protected field holds how many boxes are allowed per line, or -1 if there is no limit
protected int boxes_per_line
Результат int

items защищенное свойство

Protected field holds all the possible, selectable values
protected List items
Результат List

max_boxes защищенное свойство

Protected field holds how many boxes are allowed total for this element, or -1 if there is no limit
protected int max_boxes
Результат int

view_choices_string защищенное свойство

Protected field holds any html to insert as the view choices option after the boxes
protected string view_choices_string
Результат string