C# 클래스 SobekCM.Library.HTML.Item_HtmlSubwriter

Item html subwriter renders views on a single digital resource
This class extends the abstractHtmlSubwriter abstract class.
상속: abstractHtmlSubwriter
파일 보기 프로젝트 열기: MarkVSullivan/SobekCM-Web-Application 1 사용 예제들

Private Properties

프로퍼티 타입 설명
treeView1_SelectedNodeChanged void

공개 메소드들

메소드 설명
Add_Header ( TextWriter Output ) : void

Add the header to the output

Add_Main_Viewer_Section ( System.Web.UI.WebControls.PlaceHolder Main_PlaceHolder, Custom_Tracer Tracer ) : void

Performs the final HTML writing which completes the item table and adds the final page navigation buttons at the bottom of the page

Add_Standard_TOC ( System.Web.UI.WebControls.PlaceHolder TocPlaceHolder, Custom_Tracer Tracer ) : void

Adds the table of contents as a control in the left navigation bar

Create_TreeView_From_Divisions ( TreeView TreeViewArg ) : void

Populates the tree view with the divisions from the current digital resource item

Item_HtmlSubwriter ( RequestCache RequestSpecificValues ) : System

Constructor for a new instance of the Item_HtmlSubwriter class

Write_Additional_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void

Writes the HTML generated by this item html subwriter directly to the response stream

This continues writing this item from finishing the left navigation bar to the popup forms to the page navigation controls at the top of the item viewer's main area

Write_Final_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void

Spot to write any final HTML to the response stream

Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : bool

Writes the HTML generated by this item html subwriter directly to the response stream

This begins writing this page, up to the item-level main menu

Write_Internal_Header_HTML ( TextWriter Output, User_Object Current_User ) : void

Adds the internal header HTML for this specific HTML writer

Write_ItemNavForm_Closing ( TextWriter Output, Custom_Tracer Tracer ) : void

Writes final HTML to the output stream after all the placeholders and just before the itemNavForm is closed.

Write_ItemNavForm_Opening ( TextWriter Output, Custom_Tracer Tracer ) : void

Writes the html to the output stream open the itemNavForm, which appears just before the TocPlaceHolder

Write_Within_HTML_Head ( TextWriter Output, Custom_Tracer Tracer ) : void

Write any additional values within the HTML Head of the final served page

비공개 메소드들

메소드 설명
treeView1_SelectedNodeChanged ( object Sender, EventArgs E ) : void

Event is fired if the currently selected tree view node changes.

메소드 상세

Add_Header() 공개 메소드

Add the header to the output
public Add_Header ( TextWriter Output ) : void
Output System.IO.TextWriter Stream to which to write the HTML for this header
리턴 void

Add_Main_Viewer_Section() 공개 메소드

Performs the final HTML writing which completes the item table and adds the final page navigation buttons at the bottom of the page
public Add_Main_Viewer_Section ( System.Web.UI.WebControls.PlaceHolder Main_PlaceHolder, Custom_Tracer Tracer ) : void
Main_PlaceHolder System.Web.UI.WebControls.PlaceHolder Main place holder ( "mainPlaceHolder" ) in the itemNavForm form, widely used throughout the application
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
리턴 void

Add_Standard_TOC() 공개 메소드

Adds the table of contents as a control in the left navigation bar
public Add_Standard_TOC ( System.Web.UI.WebControls.PlaceHolder TocPlaceHolder, Custom_Tracer Tracer ) : void
TocPlaceHolder System.Web.UI.WebControls.PlaceHolder TOC place holder ( "tocPlaceHolder" ) in the itemNavForm form, widely used throughout the application
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
리턴 void

Create_TreeView_From_Divisions() 공개 메소드

Populates the tree view with the divisions from the current digital resource item
public Create_TreeView_From_Divisions ( TreeView TreeViewArg ) : void
TreeViewArg System.Web.UI.WebControls.TreeView Tree view control to populate
리턴 void

Item_HtmlSubwriter() 공개 메소드

Constructor for a new instance of the Item_HtmlSubwriter class
public Item_HtmlSubwriter ( RequestCache RequestSpecificValues ) : System
RequestSpecificValues RequestCache All the necessary, non-global data specific to the current request
리턴 System

Write_Additional_HTML() 공개 메소드

Writes the HTML generated by this item html subwriter directly to the response stream
This continues writing this item from finishing the left navigation bar to the popup forms to the page navigation controls at the top of the item viewer's main area
public Write_Additional_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Stream to which to write the HTML for this subwriter
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
리턴 void

Write_Final_HTML() 공개 메소드

Spot to write any final HTML to the response stream
public Write_Final_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Stream to which to write the HTML for this subwriter
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
리턴 void

Write_HTML() 공개 메소드

Writes the HTML generated by this item html subwriter directly to the response stream
This begins writing this page, up to the item-level main menu
public Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : bool
Output System.IO.TextWriter Stream to which to write the HTML for this subwriter
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
리턴 bool

Write_Internal_Header_HTML() 공개 메소드

Adds the internal header HTML for this specific HTML writer
public Write_Internal_Header_HTML ( TextWriter Output, User_Object Current_User ) : void
Output System.IO.TextWriter Stream to which to write the HTML for the internal header information
Current_User SobekCM.Core.Users.User_Object Currently logged on user, to determine specific rights
리턴 void

Write_ItemNavForm_Closing() 공개 메소드

Writes final HTML to the output stream after all the placeholders and just before the itemNavForm is closed.
public Write_ItemNavForm_Closing ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Stream to which to write the text for this main writer
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
리턴 void

Write_ItemNavForm_Opening() 공개 메소드

Writes the html to the output stream open the itemNavForm, which appears just before the TocPlaceHolder
public Write_ItemNavForm_Opening ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Stream to directly write to
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
리턴 void

Write_Within_HTML_Head() 공개 메소드

Write any additional values within the HTML Head of the final served page
public Write_Within_HTML_Head ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Output stream currently within the HTML head tags
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
리턴 void