uk.ac.ebi.intact.application.search2.struts.view.details
Class BinaryDetailsViewBean

java.lang.Object
  |
  +--uk.ac.ebi.intact.application.search2.struts.view.AbstractViewBean
        |
        +--uk.ac.ebi.intact.application.search2.struts.view.details.DetailsViewBean
              |
              +--uk.ac.ebi.intact.application.search2.struts.view.details.BinaryDetailsViewBean
All Implemented Interfaces:
java.io.Serializable

public class BinaryDetailsViewBean
extends DetailsViewBean

Displays a binary view for a collection of Protein. For each protein of the collection, we'll display a table of all its partners with links to the related Interaction objects.

Version:
$Id: BinaryDetailsViewBean.java,v 1.8 2004/01/31 11:41:34 skerrien Exp $
Author:
Samuel Kerrien (skerrien@ebi.ac.uk)
See Also:
Protein, Interaction, Serialized Form

Nested Class Summary
 class BinaryDetailsViewBean.BinaryData
           
 
Field Summary
 
Fields inherited from class uk.ac.ebi.intact.application.search2.struts.view.AbstractViewBean
logger
 
Constructor Summary
BinaryDetailsViewBean(java.util.Collection objects, java.lang.String link, java.lang.String contextPath)
          Construct an instance of this class for given collection of object.
 
Method Summary
 java.lang.String getHelpSection()
          Returns the help section.
 void getHTML(java.io.Writer writer)
          Building the Protein view in the comtext of the wrapped Proteins' Experiment.
 
Methods inherited from class uk.ac.ebi.intact.application.search2.struts.view.details.DetailsViewBean
getWrappedObjects, initHighlightMap, setWrappedObjects, showGraphButtons
 
Methods inherited from class uk.ac.ebi.intact.application.search2.struts.view.AbstractViewBean
getContextPath, getHelpLink, getHighlightMap, setHighlightMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryDetailsViewBean

public BinaryDetailsViewBean(java.util.Collection objects,
                             java.lang.String link,
                             java.lang.String contextPath)
Construct an instance of this class for given collection of object.

Parameters:
objects - the collection of objects to construct the view for.
link - the link to the help page.
Throws:
java.lang.NullPointerException - thrown thrown if the collection if null or empty.
Method Detail

getHTML

public void getHTML(java.io.Writer writer)
Building the Protein view in the comtext of the wrapped Proteins' Experiment.

Overrides:
getHTML in class DetailsViewBean
Parameters:
writer - the writer to use to write the HTML data out.

getHelpSection

public java.lang.String getHelpSection()
Description copied from class: AbstractViewBean
Returns the help section.

Overrides:
getHelpSection in class DetailsViewBean


IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk