Java Doc for JspTable.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.jsp.JspContainer
   com.salmonllc.jsp.JspTable

JspTable
public class JspTable extends JspContainer (Code)
This component will generate an HTML table. It serves as a container and layout manager for other components.


Field Summary
final public static  StringALIGN_CENTER
    
final public static  StringALIGN_LEFT
    
final public static  StringALIGN_NONE
    
final public static  StringALIGN_RIGHT
    
final public static  intSIZE_PERCENT
    
final public static  intSIZE_PIXELS
    
final public static  StringVALIGN_BASELINE
    
final public static  StringVALIGN_BOTTOM
    
final public static  StringVALIGN_MIDDLE
    
final public static  StringVALIGN_NONE
    
final public static  StringVALIGN_TOP
    

Constructor Summary
public  JspTable(String name, com.salmonllc.html.HtmlPage p)
     Constructs a new JSP Table.
public  JspTable(String name, String theme, com.salmonllc.html.HtmlPage p)
     Constructs a new JSP Table.

Method Summary
public  voidgenerateHTML(TagWriter writer, String content)
    
public  StringgenerateNextTDName(int colSpan)
     This method should not be called directly.
public  StringgenerateNextTRName()
     This method should not be called directly.
public  StringgetAlign()
     Returns the alignment property for the table.
public  StringgetBackgroundColor()
     Gets the background color for the table.
public  intgetBorder()
     Gets the border thickness for the table.
public  StringgetBorderColor()
     Gets the background color for the table.
public  intgetCellPadding()
     Gets the cell padding for the table.
public  intgetCellSpacing()
     Gets the cell spacing for the table.
public  intgetCols()
     Sets the cell padding for the table.
public  intgetHSpace()
     Gets the horizontal margin for the table.
public  StringgetHeight()
     This method gets the minimum height of the table in pixels.
public  StringgetRowStyleClassName()
    
public  intgetSizeOption()
     This method returns the size option for the table and each cell in it.
public  StringgetTheme()
     This method returns the property theme for the component.
public  intgetVSpace()
     Gets the vertical margin for the table.
public  StringgetWidth()
     This method returns the width of the table.
public  voidresetCounters()
     This method should not be called directly.
public  voidsetAlign(String align)
     Sets the alignment property for the table.
public  voidsetBackgroundColor(String value)
     Sets the background color for the table.
public  voidsetBorder(int border)
     Sets the border width for the table.
public  voidsetBorderColor(String value)
     Sets the background color for the table.
public  voidsetCellPadding(int value)
     Sets the cell padding for the table.
public  voidsetCellSpacing(int value)
     Sets the cell spacing for the table.
public  voidsetCols(int value)
     Sets the cell padding for the table.
public  voidsetHSpace(int val)
     Sets the horizontal margin for the table.
public  voidsetHeight(String val)
     This method gets the minimum height of the table in pixels.
public  voidsetRowStyleClassName(String string)
    
public  voidsetSizeOption(int option)
     This method sets the size option for the table and each cell in it.
public  voidsetTheme(String theme)
     This method sets the property theme for the component.
public  voidsetVSpace(int val)
     Sets the vertical margin for the table.
public  voidsetWidth(String width)
     This method sets the minimum width of the table in either pixels or percent depending on size option.

Field Detail
ALIGN_CENTER
final public static String ALIGN_CENTER(Code)



ALIGN_LEFT
final public static String ALIGN_LEFT(Code)



ALIGN_NONE
final public static String ALIGN_NONE(Code)



ALIGN_RIGHT
final public static String ALIGN_RIGHT(Code)



SIZE_PERCENT
final public static int SIZE_PERCENT(Code)



SIZE_PIXELS
final public static int SIZE_PIXELS(Code)



VALIGN_BASELINE
final public static String VALIGN_BASELINE(Code)



VALIGN_BOTTOM
final public static String VALIGN_BOTTOM(Code)



VALIGN_MIDDLE
final public static String VALIGN_MIDDLE(Code)



VALIGN_NONE
final public static String VALIGN_NONE(Code)



VALIGN_TOP
final public static String VALIGN_TOP(Code)




Constructor Detail
JspTable
public JspTable(String name, com.salmonllc.html.HtmlPage p)(Code)
Constructs a new JSP Table.
Parameters:
  name - Each component on a page must have a unique name.
Parameters:
  p - The page that the table will be added to.



JspTable
public JspTable(String name, String theme, com.salmonllc.html.HtmlPage p)(Code)
Constructs a new JSP Table.
Parameters:
  name - Each component on a page must have a unique name.
Parameters:
  theme - The theme to use for loading properties
Parameters:
  p - The page that the table will be added to.




Method Detail
generateHTML
public void generateHTML(TagWriter writer, String content) throws java.io.IOException(Code)
This method will generate the HTML to render the table



generateNextTDName
public String generateNextTDName(int colSpan)(Code)
This method should not be called directly. It is public so it can be called from com.salmonllc.jsp.tags



generateNextTRName
public String generateNextTRName()(Code)
This method should not be called directly. It is public so it can be called from com.salmonllc.jsp.tags



getAlign
public String getAlign()(Code)
Returns the alignment property for the table. align Valid values are ALIGN_LEFT,ALIGN_CENTER,ALIGN_RIGHT and ALIGN_NONE.



getBackgroundColor
public String getBackgroundColor()(Code)
Gets the background color for the table.



getBorder
public int getBorder()(Code)
Gets the border thickness for the table.



getBorderColor
public String getBorderColor()(Code)
Gets the background color for the table.



getCellPadding
public int getCellPadding()(Code)
Gets the cell padding for the table.



getCellSpacing
public int getCellSpacing()(Code)
Gets the cell spacing for the table.



getCols
public int getCols()(Code)
Sets the cell padding for the table.



getHSpace
public int getHSpace()(Code)
Gets the horizontal margin for the table.



getHeight
public String getHeight()(Code)
This method gets the minimum height of the table in pixels.



getRowStyleClassName
public String getRowStyleClassName()(Code)
the default style sheet class for rows in the table



getSizeOption
public int getSizeOption()(Code)
This method returns the size option for the table and each cell in it. Valid return values are SIZE_PIXELS or SIZE_PERCENT.



getTheme
public String getTheme()(Code)
This method returns the property theme for the component.
Parameters:
  theme - The theme to use.



getVSpace
public int getVSpace()(Code)
Gets the vertical margin for the table.



getWidth
public String getWidth()(Code)
This method returns the width of the table.



resetCounters
public void resetCounters()(Code)
This method should not be called directly. It is public so it can be called from com.salmonllc.jsp.tags



setAlign
public void setAlign(String align)(Code)
Sets the alignment property for the table.
Parameters:
  align - Valid values are ALIGN_LEFT,ALIGN_CENTER,ALIGN_RIGHT and ALIGN_NONE.



setBackgroundColor
public void setBackgroundColor(String value)(Code)
Sets the background color for the table.



setBorder
public void setBorder(int border)(Code)
Sets the border width for the table.



setBorderColor
public void setBorderColor(String value)(Code)
Sets the background color for the table.



setCellPadding
public void setCellPadding(int value)(Code)
Sets the cell padding for the table.



setCellSpacing
public void setCellSpacing(int value)(Code)
Sets the cell spacing for the table.



setCols
public void setCols(int value)(Code)
Sets the cell padding for the table.



setHSpace
public void setHSpace(int val)(Code)
Sets the horizontal margin for the table.



setHeight
public void setHeight(String val)(Code)
This method gets the minimum height of the table in pixels.



setRowStyleClassName
public void setRowStyleClassName(String string)(Code)

Parameters:
  string - the default style sheet class for rows in the table



setSizeOption
public void setSizeOption(int option)(Code)
This method sets the size option for the table and each cell in it. Valid return values are SIZE_PIXELS or SIZE_PERCENT.



setTheme
public void setTheme(String theme)(Code)
This method sets the property theme for the component.
Parameters:
  theme - The theme to use.



setVSpace
public void setVSpace(int val)(Code)
Sets the vertical margin for the table.



setWidth
public void setWidth(String width)(Code)
This method sets the minimum width of the table in either pixels or percent depending on size option.



Fields inherited from com.salmonllc.jsp.JspContainer
final public static int TYPE_COMP(Code)(Java Doc)
final public static int TYPE_FOOTER(Code)(Java Doc)
final public static int TYPE_GROUP_FOOTER(Code)(Java Doc)
final public static int TYPE_GROUP_HEADER(Code)(Java Doc)
final public static int TYPE_HEADER(Code)(Java Doc)
final public static int TYPE_ROW(Code)(Java Doc)
protected boolean _center(Code)(Java Doc)
protected boolean _enabled(Code)(Java Doc)
protected HtmlComponent _submit(Code)(Java Doc)

Methods inherited from com.salmonllc.jsp.JspContainer
public void add(HtmlComponent comp, int type)(Code)(Java Doc)
public void clearSubmit()(Code)(Java Doc)
public boolean executeEvent(int eventType) throws Exception(Code)(Java Doc)
public void generateHTML(PrintWriter p, int rowNo) throws java.lang.Exception(Code)(Java Doc)
public HtmlComponent getComponent(int i)(Code)(Java Doc)
public int getComponentCount()(Code)(Java Doc)
public int getComponentIndex(HtmlComponent comp)(Code)(Java Doc)
public int getComponentType(int i)(Code)(Java Doc)
public int getComponentType(HtmlComponent comp)(Code)(Java Doc)
public Enumeration getComponents()(Code)(Java Doc)
public JspController getController()(Code)(Java Doc)
public boolean getDoInit()(Code)(Java Doc)
public HtmlComponent getSubmitComponent()(Code)(Java Doc)
public void initialize()(Code)(Java Doc)
public boolean isComponentInContainer(HtmlComponent comp)(Code)(Java Doc)
public boolean processParms(Hashtable parms, int rowNo) throws Exception(Code)(Java Doc)
boolean replaceComponent(HtmlComponent comp, Object compToReplace)(Code)(Java Doc)
public void setDoInit(boolean b)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public void setVisible(boolean visible)(Code)(Java Doc)
public String toString()(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.