uk.ac.ebi.intact.application.search2.struts.view.single
Class SingleViewBean
java.lang.Object
|
+--uk.ac.ebi.intact.application.search2.struts.view.AbstractViewBean
|
+--uk.ac.ebi.intact.application.search2.struts.view.single.SingleViewBean
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ChunkedSingleViewBean, ExperimentSingleViewBean, InteractionSingleViewBean, ProteinSingleViewBean
- public class SingleViewBean
- extends AbstractViewBean
- implements java.io.Serializable
Class allowing to handle the view for a single AnnotatedObject.
- Version:
- $Id: SingleViewBean.java,v 1.5 2004/01/31 11:41:34 skerrien Exp $
- Author:
- Samuel Kerrien (skerrien@ebi.ac.uk)
- See Also:
- Serialized Form
|
Constructor Summary |
SingleViewBean(AnnotatedObject object,
java.lang.String link,
java.lang.String contextPath)
Constructs an instance of this class from given AnnotatedObject. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleViewBean
public SingleViewBean(AnnotatedObject object,
java.lang.String link,
java.lang.String contextPath)
- Constructs an instance of this class from given AnnotatedObject.
- Parameters:
object - an AnnotatedObject to display.link - the link to the help page.contextPath - the application path
getWrappedObject
public AnnotatedObject getWrappedObject()
- Typically subclasses will return a more 'interesting' instance than Object
- Returns:
- Object the instance warpped by the bean
setWrappedObject
public void setWrappedObject(AnnotatedObject wrappedObject)
getHTML
public void getHTML(java.io.Writer writer)
- Description copied from class:
AbstractViewBean
- Instructs the bean to create an HTML content for the object that it wraps.
- Specified by:
getHTML in class AbstractViewBean
initHighlightMap
public void initHighlightMap()
- Specified by:
initHighlightMap in class AbstractViewBean
getHelpSection
public java.lang.String getHelpSection()
- Description copied from class:
AbstractViewBean
- Returns the help section.
- Specified by:
getHelpSection in class AbstractViewBean
IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk