Class CatRecAdd

java.lang.Object
  |
  +--Link
        |
        +--CatLink
              |
              +--CatLinkPhoons
                    |
                    +--CatRecAdd
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable

public class CatRecAdd
extends CatLinkPhoons

This class provides special handling for the "Recent Additions" category. 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
CatRecAdd()
           
 
Method Summary
 boolean allowsRecAddIconOnPage()
          Prevents the web page from showing the New icon.
 java.util.Vector formCellContents()
          Builds table cell contents that display link text and picture date but no thumbnail.
 boolean hasRecAddPics()
          Prevents the web page from showing the New icon.
 boolean isEditorsPickForCatPage(PicLink picLink)
          Allows link to picture on Recent Additions page to show Editor's Pick icon if picture is an editor's pick any category.
 boolean isEditorsPickForPicPage(PicLink picLink)
          Prevents link to Recent Additions page on picture page from showing Editor's Pick icon.
 boolean isFirstInCat(PicLink picLink)
          Returns true if the picLink is a firstInCat in any category.
 boolean isMulti()
          Forces the page count to 1 so that it shows all pictures on one page.
 void toHtml()
          Generates a web page that presents the pictures in order of date.
 
Methods inherited from class CatLinkPhoons
getHref, hasEdPickPics
 
Methods inherited from class CatLink
addEditorsPick, addFirstInCat, allowsEdPickIconOnCatPage, allowsGrandkidLinks, allowsTranslation, changeFirstInCat, clone, deleteCategory, flushKeywordsUpChain, getBlurb, getCatLink, getCatLink, getCatLinksSubset, getCatLinksSubset, getClones, getCount, getFullCaptions, getFullCaptions, getHasPicsCatLinksSubset, getHasPicsFullCaptions, getHtmlBaseName, getIcons, getKeywords, getLanguage, getPageLinkHeading, getPageLinkLinks, getTable, hasPics, 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

CatRecAdd

public CatRecAdd()
Method Detail

toHtml

public void toHtml()
Generates a web page that presents the pictures in order of date.
Overrides:
toHtml in class CatLinkPhoons

hasRecAddPics

public boolean hasRecAddPics()
Prevents the web page from showing the New icon.
Overrides:
hasRecAddPics in class CatLink

allowsRecAddIconOnPage

public boolean allowsRecAddIconOnPage()
Prevents the web page from showing the New icon.
Overrides:
allowsRecAddIconOnPage in class CatLink

isMulti

public boolean isMulti()
Forces the page count to 1 so that it shows all pictures on one page.
Overrides:
isMulti in class CatLink

formCellContents

public java.util.Vector formCellContents()
Builds table cell contents that display link text and picture date but no thumbnail.
Overrides:
formCellContents in class CatLink

isEditorsPickForPicPage

public boolean isEditorsPickForPicPage(PicLink picLink)
Prevents link to Recent Additions page on picture page from showing Editor's Pick icon.
Overrides:
isEditorsPickForPicPage in class CatLinkPhoons

isEditorsPickForCatPage

public boolean isEditorsPickForCatPage(PicLink picLink)
Allows link to picture on Recent Additions page to show Editor's Pick icon if picture is an editor's pick any category. For use on catLink page.
Overrides:
isEditorsPickForCatPage in class CatLink

isFirstInCat

public boolean isFirstInCat(PicLink picLink)
Returns true if the picLink is a firstInCat in any category.
Overrides:
isFirstInCat in class CatLink