C# Класс SobekCM.Library.ItemViewer.Viewers.JPEG2000_ItemViewer

The JPEG2000 viewer allows a zoomable page image to be served through the IIPImage server
This class extends the abstract class abstractItemViewer and implements the iItemViewer interface.
Наследование: SobekCM.Library.ItemViewer.Viewers.abstractItemViewer
Показать файл Открыть проект Примеры использования класса

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

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

This method does nothing, since nothing is added to the place holder as a control for this item viewer

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)

JPEG2000_ItemViewer ( BriefItemInfo BriefItem, User_Object CurrentUser, Navigation_Object CurrentRequest, Custom_Tracer Tracer, string ViewerCode, string FileExtensions ) : System

Constructor for a new instance of the JPEG2000_ItemViewer class, used to display JPEG2000s linked to pages in a digital resource

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_Within_HTML_Head ( TextWriter Output, Custom_Tracer Tracer ) : void

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

Приватные методы

Метод Описание
set_file_information ( string FileExtensions ) : bool

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

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

Allows controls to be added directory to a place holder, rather than just writing to the output HTML stream
This method does nothing, since nothing is added to the place holder as a control for this item viewer
public Add_Main_Viewer_Section ( PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void
MainPlaceHolder 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
Результат void

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

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

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

Constructor for a new instance of the JPEG2000_ItemViewer class, used to display JPEG2000s linked to pages in a digital resource
public JPEG2000_ItemViewer ( BriefItemInfo BriefItem, User_Object CurrentUser, Navigation_Object CurrentRequest, Custom_Tracer Tracer, string ViewerCode, string FileExtensions ) : System
BriefItem BriefItemInfo Digital resource object
CurrentUser User_Object Current user, who may or may not be logged on
CurrentRequest Navigation_Object Information about the current request
Tracer SobekCM.Tools.Custom_Tracer
ViewerCode string
FileExtensions string
Результат System

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

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

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

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