Java Doc for JspBrandingImage.java in  » J2EE » Sofia » com » salmonllc » jsp » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » Sofia » com.salmonllc.jsp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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.



Constructor Summary
public  JspBrandingImage(String name, JspController p)
     BrandingImage constructor comment.

Method Summary
public  StringgetImageAltColumn()
     This method is used to get the name of the DataBase Table's column that holds the value of the image's alt tag.
public  StringgetImageColumn()
     This method is used to get the name of the DataBase Table's column that holds the name of the images.
public  java.lang.StringgetImageDir()
     This method is used to get the directory in which images are stored.
public  java.lang.StringgetTableName()
     This method is used to get the name of the DataBase Table.
public  BrandImageListloadImages(JspController cont)
     This method assumes that you have a Database Table named "brand", with the columns "image" and "image_alt".
public  voidpageRequestEnd(com.salmonllc.html.events.PageEvent p)
     This event will get fired each time a page is requested by the browser.
public  voidpageRequested(PageEvent p)
     This method/event will get fired each time a page is requested by the browser.
public  voidpageSubmitEnd(com.salmonllc.html.events.PageEvent p)
     This method occurs eaxh time a page is sumbitted.
public  voidpageSubmitted(com.salmonllc.html.events.PageEvent p)
     This method occurs eaxh time a page is sumbitted.
public  voidsetImageAltColumn(String imageAltColumn)
     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.
public  voidsetImageColumn(String imageColumn)
     This method sets the name of the column in the DataBase that correspond to images, as this column holds the name of the images.
public  voidsetImageDir(java.lang.String newImageDir)
     This method sets the directory that the branding images reside in.
public  voidsetTableName(java.lang.String TableName)
     This method sets the name of the DataBase Table.


Constructor Detail
JspBrandingImage
public JspBrandingImage(String name, JspController p)(Code)
BrandingImage constructor comment.
Parameters:
  name - java.lang.String
Parameters:
  p - com.salmonllc.jsp.JspController




Method Detail
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)



pageRequestEnd
public void pageRequestEnd(com.salmonllc.html.events.PageEvent p) throws java.lang.Exception(Code)
This event will get fired each time a page is requested by the browser.



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 -



pageSubmitEnd
public void pageSubmitEnd(com.salmonllc.html.events.PageEvent p)(Code)
This method occurs eaxh time a page is sumbitted.



pageSubmitted
public void pageSubmitted(com.salmonllc.html.events.PageEvent p)(Code)
This method occurs eaxh time a page is sumbitted.



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



Fields inherited from com.salmonllc.html.HtmlImage
final public static String ALIGN_ABSBOTTOM(Code)(Java Doc)
final public static String ALIGN_ABSMIDDLE(Code)(Java Doc)
final public static String ALIGN_BOTTOM(Code)(Java Doc)
final public static String ALIGN_LEFT(Code)(Java Doc)
final public static String ALIGN_NONE(Code)(Java Doc)
final public static String ALIGN_RIGHT(Code)(Java Doc)
final public static String ALIGN_TOP(Code)(Java Doc)
final public static int SIZE_PERCENT(Code)(Java Doc)
final public static int SIZE_PIXELS(Code)(Java Doc)
final public static String STYLE_OVAL(Code)(Java Doc)
final public static String STYLE_PIXEL(Code)(Java Doc)
final public static String STYLE_RECTANGLE(Code)(Java Doc)
final public static String VALIGN_BASELINE(Code)(Java Doc)
final public static String VALIGN_MIDDLE(Code)(Java Doc)
final public static String VALIGN_TEXTTOP(Code)(Java Doc)

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)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.