uk.org.ury.show.viewer
Class ShowViewer

java.lang.Object
  extended by uk.org.ury.frontend.AbstractFrontendModule
      extended by uk.org.ury.show.viewer.ShowViewer
All Implemented Interfaces:
FrontendModule

public class ShowViewer
extends AbstractFrontendModule

Frontend module for viewing show details. This serves as the base for the show playout and editor classes, but can be used stand-alone as an (admittedly rather pointless) module.

Author:
Matt Windsor

Constructor Summary
ShowViewer()
          Construct a new ShowViewer as a frontend object.
 
Method Summary
 java.util.List<java.lang.String> getBins()
           
 ShowChannel[] getChannels()
           
 FrontendModulePanel runFrontend(FrontendMaster master)
          Run the library viewer frontend.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowViewer

public ShowViewer()
Construct a new ShowViewer as a frontend object.

Method Detail

runFrontend

public FrontendModulePanel runFrontend(FrontendMaster master)
Run the library viewer frontend.

Parameters:
master - The FrontendMaster driving the frontend.
Returns:
the frontend panel to insert into the FrontendMaster.

getChannels

public ShowChannel[] getChannels()
Returns:
the channel array.

getBins

public java.util.List<java.lang.String> getBins()
                                         throws QueryFailureException
Returns:
the list of bin names.
Throws:
QueryFailureException - if the underlying database query fails.