apollo.config
Class DefaultDisplayPrefs

java.lang.Object
  extended by apollo.config.DefaultDisplayPrefs
All Implemented Interfaces:
DisplayPrefsI
Direct Known Subclasses:
EnsjDisplayPrefs, FlyDisplayPrefs, ParameciumDisplayPrefs, TigrAnnotDisplayPrefs

public class DefaultDisplayPrefs
extends java.lang.Object
implements DisplayPrefsI


Field Summary
protected static org.apache.log4j.Logger logger
           
 
Constructor Summary
DefaultDisplayPrefs()
           
 
Method Summary
 java.lang.String generateURL(SeqFeatureI f)
           
 java.lang.String getBioTypeForDisplay(SeqFeatureI sf)
           
 java.lang.String getDisplayName(RangeI sf)
           
 java.lang.String getHeader(RangeI sf)
           
protected  java.lang.String getIdForURL(SeqFeatureI f)
           
 java.lang.String getPublicName(SeqFeatureI origSF)
           
 java.lang.String getTitle(CurationSet curation)
          generate a title for this curation
protected  java.lang.String getURLPrefix(FeatureProperty prop, SeqFeatureI f, java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.apache.log4j.Logger logger
Constructor Detail

DefaultDisplayPrefs

public DefaultDisplayPrefs()
Method Detail

getIdForURL

protected java.lang.String getIdForURL(SeqFeatureI f)

getURLPrefix

protected java.lang.String getURLPrefix(FeatureProperty prop,
                                        SeqFeatureI f,
                                        java.lang.String id)

generateURL

public java.lang.String generateURL(SeqFeatureI f)
Specified by:
generateURL in interface DisplayPrefsI

getDisplayName

public java.lang.String getDisplayName(RangeI sf)
Specified by:
getDisplayName in interface DisplayPrefsI

getHeader

public java.lang.String getHeader(RangeI sf)
Specified by:
getHeader in interface DisplayPrefsI

getTitle

public java.lang.String getTitle(CurationSet curation)
Description copied from interface: DisplayPrefsI
generate a title for this curation

Specified by:
getTitle in interface DisplayPrefsI

getBioTypeForDisplay

public java.lang.String getBioTypeForDisplay(SeqFeatureI sf)
Specified by:
getBioTypeForDisplay in interface DisplayPrefsI

getPublicName

public java.lang.String getPublicName(SeqFeatureI origSF)
Specified by:
getPublicName in interface DisplayPrefsI