| java.lang.Object com.salmonllc.html.HtmlComponent com.salmonllc.html.HtmlContainer com.salmonllc.gui.Banner
Banner | public class Banner extends HtmlContainer (Code) | | Create banner of the following form
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr bgcolor="330000">
<td height="52" rowspan="5" width="800"><img src="../../Objectstore/app_name/top_banner.gif" width="800" height="52"></td>
<td height="2" width="100%"><img src="../../Objectstore/app_name/spacer.gif" width="12" height="2"></td>
</tr>
<tr bgcolor="660000">
<td height="21" width="100%"><img src="../../Objectstore/app_name/spacer.gif" width="12" height="21"></td>
</tr>
<tr bgcolor="330000">
<td width="100%" height="1"><img src="../../Objectstore/app_name/spacer.gif" width="12" height="1"></td>
</tr>
<tr bgcolor="CC3333">
<td height="1" width="100%"><img src="../../Objectstore/app_name/spacer.gif" width="12" height="1"></td>
</tr>
<tr bgcolor="990000">
<td height="27" width="100%"><img src="../../Objectstore/app_name/spacer.gif" width="12" height="27"></td>
</tr>
</table>
|
Method Summary | |
public void | addRowInfo(String color, int height) This methos sets the color and height of the right side rows. | public void | build() Builds the banner according to the information provided prevoiusly. | public HtmlImage | getBannerImage() This methos sets the color and height of the right side rows. | public String | getRowColor(int index) This methos sets the color and height of the right side rows. | public int | getRowHeight(int index) This methos sets the color and height of the right side rows. | public void | setBannerImage(String bannerImageURL, int width, int height) | public void | setRowInfo(String color, int height, int index) This methos sets the color and height of the right side rows. |
Banner | public Banner(String name, HtmlPage p, String spacerImageURL)(Code) | | Banner constructor
Parameters: name - java.lang.String Parameters: p - com.salmonllc.html.HtmlPage Parameters: spacerImageURL - java.lang.String URL of image to use as a spacer. |
addRowInfo | public void addRowInfo(String color, int height)(Code) | | This methos sets the color and height of the right side rows.
Parameters: color - java.lang.String Parameters: height - int |
build | public void build()(Code) | | Builds the banner according to the information provided prevoiusly.
This should be the last method called.
|
getBannerImage | public HtmlImage getBannerImage()(Code) | | This methos sets the color and height of the right side rows.
Parameters: color - java.lang.String Parameters: height - int |
getRowColor | public String getRowColor(int index)(Code) | | This methos sets the color and height of the right side rows.
Parameters: color - java.lang.String Parameters: height - int |
getRowHeight | public int getRowHeight(int index)(Code) | | This methos sets the color and height of the right side rows.
Parameters: color - java.lang.String Parameters: height - int |
setBannerImage | public void setBannerImage(String bannerImageURL, int width, int height)(Code) | | Adds a new html component to the container
Parameters: comp - com.salmonllc.html.HtmlComponent |
setRowInfo | public void setRowInfo(String color, int height, int index)(Code) | | This methos sets the color and height of the right side rows.
Parameters: color - java.lang.String Parameters: height - int |
|
|