C# Class SobekCM.Library.ItemViewer.Viewers.MultiVolumes_ItemViewer

Item viewer displays other issues related to the current digital resource by title / bib id
This class extends the abstract class abstractItemViewer and implements the iItemViewer interface.
Inheritance: SobekCM.Library.ItemViewer.Viewers.abstractItemViewer
Exibir arquivo Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Add_Main_Viewer_Section ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void

Allows controls to be added directory to a place holder, rather than just writing to the output HTML stream

In tree view mode, this adds a tree control directly to the place holder

Add_ViewerSpecific_Body_Attributes ( string>.List Body_Attributes ) : void

Gets the collection of body attributes to be included within the HTML body tag (usually to add events to the body)

MultiVolumes_ItemViewer ( BriefItemInfo BriefItem, User_Object CurrentUser, Navigation_Object CurrentRequest, Custom_Tracer Tracer ) : System

Constructor for a new instance of the MultiVolumes_ItemViewer class, used to display the volumes (VIDs) that are associated with a single BibID

Write_Left_Nav_Menu_Section ( TextWriter Output, Custom_Tracer Tracer ) : void

Adds any viewer_specific information to the left Navigation Bar Menu Section

Write_Main_Viewer_Section ( TextWriter Output, Custom_Tracer Tracer ) : void

Write the item viewer main section as HTML directly to the HTTP output stream

Write_Top_Additional_Navigation_Row ( TextWriter Output, Custom_Tracer Tracer ) : void

Adds any viewer_specific information to the item viewer above the standard pagination buttons

Write_Within_HTML_Head ( TextWriter Output, Custom_Tracer Tracer ) : void

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

Protected Methods

Method Description
Build_Tree ( TreeView TreeView1 ) : void

Populates a tree view control with the hierarchical collection of volumes associated with the same title as a digital resource

Write_List ( TextWriter Output ) : void

Writes the list of volumes associated with the same title as a digital resource to the output stream

Write_Thumbnails ( TextWriter Output ) : void

Writes the collection of thumbnails for volumes associated with the same title as a digital resource to the output stream

Method Details

Add_Main_Viewer_Section() public method

Allows controls to be added directory to a place holder, rather than just writing to the output HTML stream
In tree view mode, this adds a tree control directly to the place holder
public Add_Main_Viewer_Section ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void
MainPlaceHolder System.Web.UI.WebControls.PlaceHolder Main place holder ( "mainPlaceHolder" ) in the itemNavForm form into which the bulk of the item viewer's output is displayed
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

Add_ViewerSpecific_Body_Attributes() public method

Gets the collection of body attributes to be included within the HTML body tag (usually to add events to the body)
public Add_ViewerSpecific_Body_Attributes ( string>.List Body_Attributes ) : void
Body_Attributes string>.List List of body attributes to be included
return void

Build_Tree() protected method

Populates a tree view control with the hierarchical collection of volumes associated with the same title as a digital resource
protected Build_Tree ( TreeView TreeView1 ) : void
TreeView1 System.Web.UI.WebControls.TreeView Treeview control to populate with the associated volumes
return void

MultiVolumes_ItemViewer() public method

Constructor for a new instance of the MultiVolumes_ItemViewer class, used to display the volumes (VIDs) that are associated with a single BibID
public MultiVolumes_ItemViewer ( BriefItemInfo BriefItem, User_Object CurrentUser, Navigation_Object CurrentRequest, Custom_Tracer Tracer ) : System
BriefItem BriefItemInfo Digital resource object
CurrentUser User_Object Current user, who may or may not be logged on
CurrentRequest SobekCM.Core.Navigation.Navigation_Object Information about the current request
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return System

Write_Left_Nav_Menu_Section() public method

Adds any viewer_specific information to the left Navigation Bar Menu Section
public Write_Left_Nav_Menu_Section ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Response stream for the item viewer to write directly to
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

Write_List() protected method

Writes the list of volumes associated with the same title as a digital resource to the output stream
protected Write_List ( TextWriter Output ) : void
Output System.IO.TextWriter HTML output response stream
return void

Write_Main_Viewer_Section() public method

Write the item viewer main section as HTML directly to the HTTP output stream
public Write_Main_Viewer_Section ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Response stream for the item viewer to write directly to
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

Write_Thumbnails() protected method

Writes the collection of thumbnails for volumes associated with the same title as a digital resource to the output stream
protected Write_Thumbnails ( TextWriter Output ) : void
Output System.IO.TextWriter HTML output response stream
return void

Write_Top_Additional_Navigation_Row() public method

Adds any viewer_specific information to the item viewer above the standard pagination buttons
public Write_Top_Additional_Navigation_Row ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Response stream for the item viewer to write directly to
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

Write_Within_HTML_Head() public method

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
return void