|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Link
A Link object is a generic visual element of a web page to which an HREF can be made. Subclasses may represent such things as links to pictures and links to other web pages.
Field Summary | |
protected java.lang.String |
caption
Text which can be used as as a brief description of the instance. |
protected java.lang.String |
filename
The filename of the associated web entity (either a picture or a web page). |
protected java.lang.String |
htmlBaseName
The basename of the corresponding web page (no .html). |
protected java.lang.String |
keywords
HTML keywords appropriate for a web page representing this CatLink. |
protected static java.lang.String |
lineend
A convenience variable. |
Constructor Summary | |
Link()
|
Method Summary | |
int |
compareTo(java.lang.Object other)
Implements Comparable so Links are sorted by caption. |
java.lang.String |
getIconEditorsPick()
Returns the HTML expression that has the visible word NEW! |
java.lang.String |
getIconFirstInCat()
Returns the HTML expression that has the visible word NEW! |
java.lang.String |
getIconNew()
Returns the HTML expression that has the visible word NEW! |
abstract void |
toHtml()
Turns the item into an html file. |
protected static java.lang.String |
toUniqueKeywords(java.lang.String inKeywords)
Returns a String containing one occurrence of each keyword found in inKeywords. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String caption
protected java.lang.String filename
protected java.lang.String htmlBaseName
protected java.lang.String keywords
protected static final java.lang.String lineend
Constructor Detail |
public Link()
Method Detail |
public java.lang.String getIconNew()
public java.lang.String getIconEditorsPick()
public java.lang.String getIconFirstInCat()
public int compareTo(java.lang.Object other)
compareTo
in interface java.lang.Comparable
public abstract void toHtml()
protected static java.lang.String toUniqueKeywords(java.lang.String inKeywords)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |