Java Doc for HtmlTableCellProperties.java in  » J2EE » Sofia » com » salmonllc » html » 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.html 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.salmonllc.html.HtmlTableCellProperties

HtmlTableCellProperties
public class HtmlTableCellProperties implements java.io.Serializable(Code)
This is used in conjunction with HtmlTable to set the properties for a particular cell
See Also:   HtmlTable.setComponentAt


Field Summary
public static  HtmlTableCellPropertiesBOTTOM_CENTER
    
public static  HtmlTableCellPropertiesBOTTOM_CENTER_NO_WRAP
    
public static  HtmlTableCellPropertiesBOTTOM_LEFT
    
public static  HtmlTableCellPropertiesBOTTOM_LEFT_NO_WRAP
    
public static  HtmlTableCellPropertiesBOTTOM_RIGHT
    
public static  HtmlTableCellPropertiesBOTTOM_RIGHT_NO_WRAP
    
public static  HtmlTableCellPropertiesMIDDLE_CENTER
    
public static  HtmlTableCellPropertiesMIDDLE_CENTER_NO_WRAP
    
public static  HtmlTableCellPropertiesMIDDLE_LEFT
    
public static  HtmlTableCellPropertiesMIDDLE_LEFT_NO_WRAP
    
public static  HtmlTableCellPropertiesMIDDLE_RIGHT
    
public static  HtmlTableCellPropertiesMIDDLE_RIGHT_NO_WRAP
    
public static  HtmlTableCellPropertiesTOP_CENTER
    
public static  HtmlTableCellPropertiesTOP_CENTER_NO_WRAP
    
public static  HtmlTableCellPropertiesTOP_LEFT
     The following constants cover most uses of HtmlTableCellProperties.
public static  HtmlTableCellPropertiesTOP_LEFT_NO_WRAP
    
public static  HtmlTableCellPropertiesTOP_RIGHT
    
public static  HtmlTableCellPropertiesTOP_RIGHT_NO_WRAP
    
 String_onClick
    
 String_onMouseDown
    
 String_onMouseOut
    
 String_onMouseOver
    
 String_onMouseUp
    
 HtmlStyle_style
    

Constructor Summary
public  HtmlTableCellProperties()
    
public  HtmlTableCellProperties(String align, String vAlign, String backGroundColor, boolean wrap)
    

Method Summary
public  StringgetAlign()
     Returns the alignment for the cell.
public  StringgetBackgroundColor()
    
public  intgetCellHeight()
     This method gets the height of the table cell.
public  intgetCellHeightSizeOption()
     This method gets the height size option of the table cell.
public  intgetCellWidth()
     This method gets the width of the table cell.
public  intgetCellWidthSizeOption()
     This method gets the width size option of the table cell.
public  intgetColumnSpan()
    
public  StringgetOnClick()
     Use this method to get the javascript that will be executed when the user clicks on one of the components in the link.
public  StringgetOnMouseDown()
    
public  StringgetOnMouseOut()
    
public  StringgetOnMouseOver()
    
public  StringgetOnMouseUp()
    
public  intgetRowSpan()
    
public  HtmlStylegetStyle()
     This method was created in VisualAge.
public  StringgetVertAlign()
     Sets the vertical align property for the page.
public  booleangetWrap()
    
public  voidsetAlign(String value)
     Sets the alignment for the cell.
public  voidsetBackgroundColor(String color)
     Sets the bacground color for the cell.
public  voidsetCellHeight(int cellHeight)
     This method sets the height of the table cell.
public  voidsetCellHeight(int cellHeight, int sizeOption)
     This method sets the height of the table cell.
public  voidsetCellHeightSizeOption(int sizeOption)
    
public  voidsetCellWidth(int cellWidth)
     This method sets the width of the table cell.
public  voidsetCellWidth(int cellWidth, int sizeOption)
     This method sets the width of the table cell.
public  voidsetCellWidthSizeOption(int sizeOption)
    
public  voidsetColumnSpan(int colSpan)
    
public  voidsetOnClick(String onClick)
     Use this method to set the javascript that will be executed when the user clicks on one of the components in the link.
public  voidsetOnMouseDown(String onMouseDown)
    
public  voidsetOnMouseOut(String onMouseOut)
    
public  voidsetOnMouseOver(String onMouseOver)
    
public  voidsetOnMouseUp(String onMouseUp)
    
public  voidsetRowSpan(int rowSpan)
    
public  voidsetStyle(HtmlStyle style)
     This method was created in VisualAge.
public  voidsetVertAlign(String value)
     Sets the vertical align property for the page.
public  voidsetWrap(boolean value)
     Sets whether or not the text in the cell should wrap if there isn't enough room to display it.

Field Detail
BOTTOM_CENTER
public static HtmlTableCellProperties BOTTOM_CENTER(Code)



BOTTOM_CENTER_NO_WRAP
public static HtmlTableCellProperties BOTTOM_CENTER_NO_WRAP(Code)



BOTTOM_LEFT
public static HtmlTableCellProperties BOTTOM_LEFT(Code)



BOTTOM_LEFT_NO_WRAP
public static HtmlTableCellProperties BOTTOM_LEFT_NO_WRAP(Code)



BOTTOM_RIGHT
public static HtmlTableCellProperties BOTTOM_RIGHT(Code)



BOTTOM_RIGHT_NO_WRAP
public static HtmlTableCellProperties BOTTOM_RIGHT_NO_WRAP(Code)



MIDDLE_CENTER
public static HtmlTableCellProperties MIDDLE_CENTER(Code)



MIDDLE_CENTER_NO_WRAP
public static HtmlTableCellProperties MIDDLE_CENTER_NO_WRAP(Code)



MIDDLE_LEFT
public static HtmlTableCellProperties MIDDLE_LEFT(Code)



MIDDLE_LEFT_NO_WRAP
public static HtmlTableCellProperties MIDDLE_LEFT_NO_WRAP(Code)



MIDDLE_RIGHT
public static HtmlTableCellProperties MIDDLE_RIGHT(Code)



MIDDLE_RIGHT_NO_WRAP
public static HtmlTableCellProperties MIDDLE_RIGHT_NO_WRAP(Code)



TOP_CENTER
public static HtmlTableCellProperties TOP_CENTER(Code)



TOP_CENTER_NO_WRAP
public static HtmlTableCellProperties TOP_CENTER_NO_WRAP(Code)



TOP_LEFT
public static HtmlTableCellProperties TOP_LEFT(Code)
The following constants cover most uses of HtmlTableCellProperties. They are to be used instead of creating local instances page after page.



TOP_LEFT_NO_WRAP
public static HtmlTableCellProperties TOP_LEFT_NO_WRAP(Code)



TOP_RIGHT
public static HtmlTableCellProperties TOP_RIGHT(Code)



TOP_RIGHT_NO_WRAP
public static HtmlTableCellProperties TOP_RIGHT_NO_WRAP(Code)



_onClick
String _onClick(Code)



_onMouseDown
String _onMouseDown(Code)



_onMouseOut
String _onMouseOut(Code)



_onMouseOver
String _onMouseOver(Code)



_onMouseUp
String _onMouseUp(Code)



_style
HtmlStyle _style(Code)




Constructor Detail
HtmlTableCellProperties
public HtmlTableCellProperties()(Code)
Constructs a new empty object



HtmlTableCellProperties
public HtmlTableCellProperties(String align, String vAlign, String backGroundColor, boolean wrap)(Code)
Constructs a new object with all the properties set
Parameters:
  align - Valid values are HtmlTable.ALIGN_LEFT,HtmlTable.ALIGN_CENTER,HtmlTable.ALIGN_RIGHT,HtmlTable.ALIGN_NONE
Parameters:
  vAlign - Valid values are HtmlTable.VALIGN_BASELINE,HtmlTable.VALIGN_BOTTOM,HtmlTable.VALIGN_MIDDLE and HtmlTable.VALIGN_TOP.
Parameters:
  backGroundColor - The background color for the cell.
Parameters:
  wrap - True if the contents of the cell should word wrap.




Method Detail
getAlign
public String getAlign()(Code)
Returns the alignment for the cell. Values are HtmlTable.ALIGN_CENTER, HtmlTable.ALIGN_RIGHT, HtmlTable.ALIGN_LEFT, HtmlTable.ALIGN_NONE



getBackgroundColor
public String getBackgroundColor()(Code)
Returns the background color for the cell



getCellHeight
public int getCellHeight()(Code)
This method gets the height of the table cell.



getCellHeightSizeOption
public int getCellHeightSizeOption()(Code)
This method gets the height size option of the table cell.



getCellWidth
public int getCellWidth()(Code)
This method gets the width of the table cell.



getCellWidthSizeOption
public int getCellWidthSizeOption()(Code)
This method gets the width size option of the table cell.



getColumnSpan
public int getColumnSpan()(Code)
This method gets the column span for a table cell



getOnClick
public String getOnClick()(Code)
Use this method to get the javascript that will be executed when the user clicks on one of the components in the link.



getOnMouseDown
public String getOnMouseDown()(Code)
Use this method to get the javascript that will be executed when mouse clicks on the components with either mouse button



getOnMouseOut
public String getOnMouseOut()(Code)
Use this method to get the javascript that will be executed when the mouse passes over out of all the components



getOnMouseOver
public String getOnMouseOver()(Code)
Use this method to get the javascript that will be executed when the mouse passes over any component in the link



getOnMouseUp
public String getOnMouseUp()(Code)
Use this method to get the javascript that will be executed when releases a mouse button while the mouse is over the component



getRowSpan
public int getRowSpan()(Code)
This method gets the column span for a table cell



getStyle
public HtmlStyle getStyle()(Code)
This method was created in VisualAge. com.salmonllc.html.HtmlStyle



getVertAlign
public String getVertAlign()(Code)
Sets the vertical align property for the page. Valid values are HtmlTable.VALIGN_BASELINE,HtmlTable.VALIGN_BOTTOM,HtmlTable.VALIGN_MIDDLE,HtmlTable.VALIGN_TOP,HtmlTable.VALIGN_NONE



getWrap
public boolean getWrap()(Code)
true false indicating whether the text in the component should wrap or not



setAlign
public void setAlign(String value)(Code)
Sets the alignment for the cell. Values are HtmlTable.ALIGN_CENTER, HtmlTable.ALIGN_RIGHT, HtmlTable.ALIGN_LEFT, HtmlTable.ALIGN_NONE



setBackgroundColor
public void setBackgroundColor(String color)(Code)
Sets the bacground color for the cell.



setCellHeight
public void setCellHeight(int cellHeight)(Code)
This method sets the height of the table cell. Overerides table column height.
Parameters:
  cellHeight - the height of the cell



setCellHeight
public void setCellHeight(int cellHeight, int sizeOption)(Code)
This method sets the height of the table cell. Overerides table column height.
Parameters:
  cellHeight - the height of the cell
Parameters:
  sizeOption - SIZE_PIXELS or SIZE_PERCENT



setCellHeightSizeOption
public void setCellHeightSizeOption(int sizeOption)(Code)
This method sets the height size option for the cell
Parameters:
  sizeOption - SIZE_PIXELS or SIZE_PERCENT



setCellWidth
public void setCellWidth(int cellWidth)(Code)
This method sets the width of the table cell. Overerides table column width.
Parameters:
  cellWidth - the width of the cell



setCellWidth
public void setCellWidth(int cellWidth, int sizeOption)(Code)
This method sets the width of the table cell. Overerides table column width.
Parameters:
  cellWidth - the width of the cell
Parameters:
  sizeOption - SIZE_PIXELS or SIZE_PERCENT



setCellWidthSizeOption
public void setCellWidthSizeOption(int sizeOption)(Code)
This method sets the width size option for the cell
Parameters:
  sizeOption - SIZE_PIXELS or SIZE_PERCENT



setColumnSpan
public void setColumnSpan(int colSpan)(Code)
This method sets the column span for a table cell
Parameters:
  colSpan - the number of columns to span



setOnClick
public void setOnClick(String onClick)(Code)
Use this method to set the javascript that will be executed when the user clicks on one of the components in the link.



setOnMouseDown
public void setOnMouseDown(String onMouseDown)(Code)
Use this method to get the javascript that will be executed when mouse clicks on the components with either mouse button



setOnMouseOut
public void setOnMouseOut(String onMouseOut)(Code)
Use this method to set the javascript that will be executed when the mouse passes over out of all the components



setOnMouseOver
public void setOnMouseOver(String onMouseOver)(Code)
Use this method to set the javascript that will be executed when the mouse passes over any component in the link



setOnMouseUp
public void setOnMouseUp(String onMouseUp)(Code)
Use this method to get the javascript that will be executed when releases a mouse button while the mouse is over the component



setRowSpan
public void setRowSpan(int rowSpan)(Code)
This method sets the column span for a table cell
Parameters:
  colSpan - the number of columns to span



setStyle
public void setStyle(HtmlStyle style)(Code)
This method was created in VisualAge.
Parameters:
  style - com.salmonllc.html.HtmlStyle



setVertAlign
public void setVertAlign(String value)(Code)
Sets the vertical align property for the page. Valid values are HtmlTable.VALIGN_BASELINE,HtmlTable.VALIGN_BOTTOM,HtmlTable.VALIGN_MIDDLE,HtmlTable.VALIGN_TOP,HtmlTable.VALIGN_NONE



setWrap
public void setWrap(boolean value)(Code)
Sets whether or not the text in the cell should wrap if there isn't enough room to display it.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.