| |
|
| com.salmonllc.html.HtmlImage com.salmonllc.jsp.JspBrandingImage
JspBrandingImage | public class JspBrandingImage extends HtmlImage implements PageListener(Code) | | This class is used to display a differet image from a series of images on every request to
the page. It cycles through the different images to display a new image
wherever this tag is placed on the page, so as to give a more dynamic look
and feel to the website.
|
JspBrandingImage | public JspBrandingImage(String name, JspController p)(Code) | | BrandingImage constructor comment.
Parameters: name - java.lang.String Parameters: p - com.salmonllc.jsp.JspController |
getImageAltColumn | public String getImageAltColumn()(Code) | | This method is used to get the name of the DataBase Table's column that holds
the value of the image's alt tag.
java.lang.String |
getImageColumn | public String getImageColumn()(Code) | | This method is used to get the name of the DataBase Table's column that holds
the name of the images.
java.lang.String |
getImageDir | public java.lang.String getImageDir()(Code) | | This method is used to get the directory in which images are stored.
java.lang.String |
getTableName | public java.lang.String getTableName()(Code) | | This method is used to get the name of the DataBase Table.
java.lang.String |
loadImages | public BrandImageList loadImages(JspController cont) throws Exception(Code) | | This method assumes that you have a Database Table named "brand", with the
columns "image" and "image_alt". It also assumes that all images are stored
in the folder "JSP/AppName/images". You can also change the Table name from
using the "TableName" attribute in the Brand tag.
Creation date: (2/6/02 10:12:03 AM)
|
pageRequested | public void pageRequested(PageEvent p) throws Exception(Code) | | This method/event will get fired each time a page is requested by the browser.
Parameters: p - PageEvent throws: Exception - |
setImageAltColumn | public void setImageAltColumn(String imageAltColumn)(Code) | | This method sets the name of the column in the DataBase that corresponds to
image alts, as this column holds the alt value for the images.
Parameters: imageAltColumn - java.lang.String |
setImageColumn | public void setImageColumn(String imageColumn)(Code) | | This method sets the name of the column in the DataBase that correspond to
images, as this column holds the name of the images.
Parameters: imageColumn - java.lang.String |
setImageDir | public void setImageDir(java.lang.String newImageDir)(Code) | | This method sets the directory that the branding images reside in.
Parameters: newImageDir - java.lang.String |
setTableName | public void setTableName(java.lang.String TableName)(Code) | | This method sets the name of the DataBase Table.
Parameters: TableName - java.lang.String |
Methods inherited from com.salmonllc.html.HtmlImage | public void addAreaMap(HtmlImageMapArea map)(Code)(Java Doc) public void clearSubmit()(Code)(Java Doc) public boolean executeEvent(int eventType) throws Exception(Code)(Java Doc) public void generateHTML(java.io.PrintWriter p, int rowNo) throws Exception(Code)(Java Doc) public void generateImage(String img, OutputStream out) throws IOException(Code)(Java Doc) public void generateInitialHTML(PrintWriter p) throws Exception(Code)(Java Doc) public String getAlign()(Code)(Java Doc) public String getAlt()(Code)(Java Doc) public DataStoreEvaluator getAltExpression()(Code)(Java Doc) public String getAltLocaleKey()(Code)(Java Doc) public Color getBackgroundColor()(Code)(Java Doc) public int getBorder()(Code)(Java Doc) public Color getBottomRightColor()(Code)(Java Doc) public long getCacheKey()(Code)(Java Doc) public String getDisplayStyle()(Code)(Java Doc) public boolean getEnabled()(Code)(Java Doc) public DataStoreEvaluator getExpression()(Code)(Java Doc) public Font getFont()(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public int getHeightSizeOption()(Code)(Java Doc) public int getHorizontalSpace()(Code)(Java Doc) public String getSource()(Code)(Java Doc) public String getSourceLocaleKey()(Code)(Java Doc) public String getText()(Code)(Java Doc) public Color getTextColor()(Code)(Java Doc) public String getTextLocaleKey()(Code)(Java Doc) public String getTheme()(Code)(Java Doc) public String getTitle()(Code)(Java Doc) public Color getTopLeftColor()(Code)(Java Doc) public Color getTransparentColor()(Code)(Java Doc) public boolean getUseCache()(Code)(Java Doc) public String getUseMap()(Code)(Java Doc) public int getVerticalSpace()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) public int getWidthSizeOption()(Code)(Java Doc) public boolean processParms(Hashtable parms, int rowNo) throws Exception(Code)(Java Doc) public void setAlign(String align)(Code)(Java Doc) public void setAlt(String alt)(Code)(Java Doc) public void setAltExpression(DataStoreBuffer ds, String expression) throws Exception(Code)(Java Doc) public void setAltExpression(DataStoreBuffer ds, DataStoreExpression expression) throws Exception(Code)(Java Doc) public void setAltLocaleKey(String altLocaleKey)(Code)(Java Doc) public void setBackgroundColor(Color c)(Code)(Java Doc) public void setBorder(int border)(Code)(Java Doc) public void setBottomRightColor(Color c)(Code)(Java Doc) public void setCacheKey(long key)(Code)(Java Doc) public void setDisplayStyle(String style)(Code)(Java Doc) public void setEnabled(boolean enabled)(Code)(Java Doc) public void setExpression(DataStoreBuffer ds, DataStoreExpression expression) throws Exception(Code)(Java Doc) public void setExpression(DataStoreBuffer ds, DataStoreExpression expression, String format) throws Exception(Code)(Java Doc) public void setExpression(DataStoreBuffer ds, String expression) throws Exception(Code)(Java Doc) public void setExpression(DataStoreBuffer ds, String expression, String format) throws Exception(Code)(Java Doc) public void setFont(Font f)(Code)(Java Doc) public void setHeight(int height)(Code)(Java Doc) public void setHeightSizeOption(int option)(Code)(Java Doc) public void setHorizontalSpace(int width)(Code)(Java Doc) public void setOnLoad(String onload)(Code)(Java Doc) public void setSource(String source)(Code)(Java Doc) public void setSourceLocaleKey(String sourceLocaleKey)(Code)(Java Doc) public void setText(String text)(Code)(Java Doc) public void setTextColor(Color c)(Code)(Java Doc) public void setTextLocaleKey(String textLocaleKey)(Code)(Java Doc) public void setTheme(String theme)(Code)(Java Doc) public void setTitle(String string)(Code)(Java Doc) public void setTopLeftColor(Color c)(Code)(Java Doc) public void setTransparentColor(Color c)(Code)(Java Doc) public void setUseMap(String useMap)(Code)(Java Doc) public void setVerticalSpace(int width)(Code)(Java Doc) public void setWidth(int width)(Code)(Java Doc) public void setWidthSizeOption(int option)(Code)(Java Doc) public void updateLocale()(Code)(Java Doc)
|
|
|
|