Class ViewHandler

  • All Implemented Interfaces:
    OutputHandler

    public class ViewHandler
    extends HandlerBase
    This is an output handler which connects JHOVE output to the Swing interface of the viewer application. It is responsible for creating appropriate windows and making them known to (?).
    Author:
    Gary McGath
    • Constructor Detail

      • ViewHandler

        public ViewHandler​(JhoveWindow jhwin,
                           App app,
                           JhoveBase base)
        Creates a ViewHandler.
        Parameters:
        jhwin - The JhoveWindow which acts as the parent to output windows.
    • Method Detail

      • show

        public void show​(RepInfo info)
        Outputs the information contained in a RepInfo object. showHeader must be called to set up the ViewWindow before this is called. I need to break out part of the ViewWindow code to here so it can produce the output for one file.
        Specified by:
        show in interface OutputHandler
        Specified by:
        show in class HandlerBase
      • show

        public void show​(OutputHandler handler)
        Outputs information about the OutputHandler specified in the parameter. Since this never should occur in a normal list of handlers, it's unnecessary to do anything (I think).
        Specified by:
        show in interface OutputHandler
        Specified by:
        show in class HandlerBase