Class CatLinkPhoons

java.lang.Object
  |
  +--Link
        |
        +--CatLink
              |
              +--CatLinkPhoons
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable
Direct Known Subclasses:
CatAll, CatCapt, CatContrPhooner, CatDate, CatEdPicks, CatRecAdd

public class CatLinkPhoons
extends CatLink

This subclass of the generic CatLink is the base class of all Phoons categories, providing overrides and definitions unique to the Phoons web pages. See CatLink.

Author:
John E. Darrow (c) 2000, 2001

Fields inherited from class CatLink
clones, curCatDescr, curCatTitles, editorsPicks, firstInCat, fullCaption, links, original, parent, subcatColWidth
 
Fields inherited from class Link
caption, filename, htmlBaseName, keywords, lineend
 
Constructor Summary
CatLinkPhoons()
           
 
Method Summary
 java.lang.String getHref()
          Returns the text of the link to the category.
 boolean hasEdPickPics()
          Returns true if the category has Editor's Picks.
 boolean isEditorsPickForPicPage(PicLink picLink)
          Reports whether the picture is an editor's pick on this web page.
 void toHtml()
          Generates HTML for all categories except children of Sorted by Contributor|Phooner that only have 1 picture.
 
Methods inherited from class CatLink
addEditorsPick, addFirstInCat, allowsEdPickIconOnCatPage, allowsGrandkidLinks, allowsRecAddIconOnPage, allowsTranslation, changeFirstInCat, clone, deleteCategory, flushKeywordsUpChain, formCellContents, getBlurb, getCatLink, getCatLink, getCatLinksSubset, getCatLinksSubset, getClones, getCount, getFullCaptions, getFullCaptions, getHasPicsCatLinksSubset, getHasPicsFullCaptions, getHtmlBaseName, getIcons, getKeywords, getLanguage, getPageLinkHeading, getPageLinkLinks, getTable, hasPics, hasRecAddPics, isEditorsPickForCatPage, isFirstInCat, isMulti, removeEditorsPick, toHref, toHref, toHrefAncestors, toHtml, toString, translateDescr, translateFilename, translateHtmlBaseName, translateTitle
 
Methods inherited from class Link
compareTo, getIconEditorsPick, getIconFirstInCat, getIconNew, toUniqueKeywords
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CatLinkPhoons

public CatLinkPhoons()
Method Detail

toHtml

public void toHtml()
Generates HTML for all categories except children of Sorted by Contributor|Phooner that only have 1 picture.
Overrides:
toHtml in class CatLink

getHref

public java.lang.String getHref()
Returns the text of the link to the category. Used by toHref(boolean, boolean).
Overrides:
getHref in class CatLink

isEditorsPickForPicPage

public boolean isEditorsPickForPicPage(PicLink picLink)
Reports whether the picture is an editor's pick on this web page.
Overrides:
isEditorsPickForPicPage in class CatLink

hasEdPickPics

public boolean hasEdPickPics()
Returns true if the category has Editor's Picks.
Overrides:
hasEdPickPics in class CatLink