|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.aoindustries.website.framework.WebPageLayout
com.aoindustries.website.framework.TextOnlyLayout
public class TextOnlyLayout
The default text-only layout.
| Field Summary | |
|---|---|
static java.lang.String |
HTTP_SERVLET_RESPONSE_STATUS
Until version 3.0 there will not be a getStatus method on the HttpServletResponse class. |
| Fields inherited from class com.aoindustries.website.framework.WebPageLayout |
|---|
DOWN, NONE, UP, UP_AND_DOWN |
| Constructor Summary | |
|---|---|
TextOnlyLayout(java.lang.String[] layoutChoices)
|
|
| Method Summary | |
|---|---|
void |
beginLightArea(WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
com.aoindustries.io.ChainWriter out,
java.lang.String width,
boolean nowrap)
Begins a lighter colored area of the site. |
void |
beginWhiteArea(WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
com.aoindustries.io.ChainWriter out,
java.lang.String width,
boolean nowrap)
Begins a lighter colored area of the site. |
void |
endContent(WebPage page,
com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
int[] contentColumnSpans)
Ends the content area of a page. |
void |
endContentLine(com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
int rowspan,
boolean endsInternal)
Ends one line of content. |
void |
endHTML(WebPage page,
WebSiteRequest req,
com.aoindustries.io.ChainWriter out)
Writes all of the HTML following the content of the page, whether the page is in a frameset or not. |
void |
endLightArea(WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
com.aoindustries.io.ChainWriter out)
Ends a lighter area of the site. |
void |
endWhiteArea(WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
com.aoindustries.io.ChainWriter out)
Ends a lighter area of the site. |
WebPage[] |
getCommonPages(WebPage page,
WebSiteRequest req)
|
java.lang.String |
getGoogleAnalyticsNewTrackingCode()
Gets the Google Analytics New Tracking Code (ga.js) or null
if unavailable. |
java.lang.String |
getName()
Each layout has a name. |
void |
printBelowRelatedPages(com.aoindustries.io.ChainWriter out,
WebSiteRequest req)
Prints content below the related pages area on the left. |
void |
printContentHorizontalDivider(com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
int[] colspansAndDirections,
boolean endsInternal)
Prints a horizontal divider of the provided colspan. |
void |
printContentTitle(com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
java.lang.String title,
int contentColumns)
Prints the title of the page in one row in the content area. |
void |
printContentVerticalDivider(com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
int direction,
int colspan,
int rowspan,
java.lang.String align,
java.lang.String width)
Starts one line of content with the initial colspan set to the provided colspan. |
void |
printLogo(WebPage page,
com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp)
|
void |
startContent(com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
int[] contentColumnSpans,
int preferredWidth)
Starts the content area of a page. |
void |
startContentLine(com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
int colspan,
java.lang.String align,
java.lang.String width)
Starts one line of content with the initial colspan set to the provided colspan. |
void |
startHTML(WebPage page,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
com.aoindustries.io.ChainWriter out,
java.lang.String onload)
Writes all of the HTML preceeding the content of the page, whether the page is in a frameset or not. |
| Methods inherited from class com.aoindustries.website.framework.WebPageLayout |
|---|
beginLightArea, beginWhiteArea, endContent, getActiveLinkColor, getBackgroundColor, getLayoutChoices, getLinkColor, getTextColor, getVisitedLinkColor, printContentHorizontalDivider, printContentTitle, printJavaScriptIncludes, printSearchOutput, printWebPageLayoutSelector, startContent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String HTTP_SERVLET_RESPONSE_STATUS
| Constructor Detail |
|---|
public TextOnlyLayout(java.lang.String[] layoutChoices)
| Method Detail |
|---|
public void beginLightArea(WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
com.aoindustries.io.ChainWriter out,
java.lang.String width,
boolean nowrap)
WebPageLayout
beginLightArea in class WebPageLayout
public void endLightArea(WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
com.aoindustries.io.ChainWriter out)
WebPageLayout
endLightArea in class WebPageLayout
public void beginWhiteArea(WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
com.aoindustries.io.ChainWriter out,
java.lang.String width,
boolean nowrap)
WebPageLayout
beginWhiteArea in class WebPageLayout
public void endWhiteArea(WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
com.aoindustries.io.ChainWriter out)
WebPageLayout
endWhiteArea in class WebPageLayout
public void startHTML(WebPage page,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
com.aoindustries.io.ChainWriter out,
java.lang.String onload)
throws java.io.IOException,
java.sql.SQLException
WebPageLayout
startHTML in class WebPageLayoutjava.io.IOException
java.sql.SQLExceptionpublic java.lang.String getGoogleAnalyticsNewTrackingCode()
null
if unavailable.
public void endHTML(WebPage page,
WebSiteRequest req,
com.aoindustries.io.ChainWriter out)
throws java.io.IOException,
java.sql.SQLException
WebPageLayout
endHTML in class WebPageLayoutjava.io.IOException
java.sql.SQLException
public void startContent(com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
int[] contentColumnSpans,
int preferredWidth)
startContent in class WebPageLayout
public void printContentHorizontalDivider(com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
int[] colspansAndDirections,
boolean endsInternal)
printContentHorizontalDivider in class WebPageLayout
public void printContentTitle(com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
java.lang.String title,
int contentColumns)
printContentTitle in class WebPageLayout
public void startContentLine(com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
int colspan,
java.lang.String align,
java.lang.String width)
startContentLine in class WebPageLayout
public void printContentVerticalDivider(com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
int direction,
int colspan,
int rowspan,
java.lang.String align,
java.lang.String width)
printContentVerticalDivider in class WebPageLayout
public void endContentLine(com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
int rowspan,
boolean endsInternal)
endContentLine in class WebPageLayout
public void endContent(WebPage page,
com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp,
int[] contentColumnSpans)
throws java.io.IOException,
java.sql.SQLException
endContent in class WebPageLayoutjava.io.IOException
java.sql.SQLExceptionpublic java.lang.String getName()
WebPageLayout
getName in class WebPageLayout
public WebPage[] getCommonPages(WebPage page,
WebSiteRequest req)
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLException
public void printLogo(WebPage page,
com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp)
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLException
public void printBelowRelatedPages(com.aoindustries.io.ChainWriter out,
WebSiteRequest req)
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||