Java Doc for TableColumn.java in  » IDE-Netbeans » visualweb.api.designer » com » sun » rave » web » ui » component » 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 » IDE Netbeans » visualweb.api.designer » com.sun.rave.web.ui.component 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.rave.web.ui.component.TableColumnBase
   com.sun.rave.web.ui.component.TableColumn

TableColumn
public class TableColumn extends TableColumnBase implements NamingContainer(Code)
Component that represents a table column.

The tableColumn component provides a layout mechanism for displaying columns of data. UI guidelines describe specific behavior that can applied to the rows and columns of data such as sorting, filtering, pagination, selection, and custom user actions. In addition, UI guidelines also define sections of the table that can be used for titles, row group headers, and placement of pre-defined and user defined actions.

Note: Column headers and footers are rendered by TableRowGroupRenderer. Table column footers are rendered by TableRenderer.

Note: To see the messages logged by this class, set the following global defaults in your JDK's "jre/lib/logging.properties" file.

 java.util.logging.ConsoleHandler.level = FINE
 com.sun.rave.web.ui.component.TableColumn.level = FINE
 

See TLD docs for more information.



Field Summary
final public static  StringCOLUMN_FOOTER_FACET
     The facet name for the column footer.
final public static  StringCOLUMN_FOOTER_ID
     The component id for the column footer.
final public static  StringCOLUMN_HEADER_FACET
     The facet name for the column header.
final public static  StringCOLUMN_HEADER_ID
     The component id for the column header.
final public static  StringEMBEDDED_ACTION_SEPARATOR_ICON_FACET
     The facet name for the embedded action separator icon.
final public static  StringEMBEDDED_ACTION_SEPARATOR_ICON_ID
     The component id for the embedded action separator icon.
final public static  StringEMPTY_CELL_ICON_FACET
     The facet name for the empty cell icon.
final public static  StringEMPTY_CELL_ICON_ID
     The component id for the empty cell icon.
final public static  StringFOOTER_FACET
     The facet name for the footer area.
final public static  StringHEADER_FACET
     The facet name for the header area.
final public static  StringTABLE_COLUMN_FOOTER_FACET
     The facet name for the table column footer.
final public static  StringTABLE_COLUMN_FOOTER_ID
     The component id for the table column footer.
final public static  StringTABLE_FOOTER_FACET
     The facet name for the table footer area.

Constructor Summary
public  TableColumn()
    

Method Summary
public  StringgetAlign()
     Get the horizontal alignment for the cell.

Note: If the align property is specified, it is returned as is.

public  intgetColumnCount()
     Get the number of columns found for this component that have a rendered property of true.
public  UIComponentgetColumnFooter()
     Get column footer.
public  UIComponentgetColumnHeader()
     Get column header.
public  UIComponentgetEmbeddedActionSeparatorIcon()
     Get separator icon for embedded actions.
public  UIComponentgetEmptyCellIcon()
     Get the icon used to display inapplicable or unexpectedly empty cells.

Note: UI guidelines suggest not to use this for a value that is truly null, such as an empty alarm cell or a comment field which is blank, neither of which should have the dash image.

public  SortCriteriagetSortCriteria()
     Get SortCriteria used for sorting the contents of a TableDataProvider.

Note: If the sortKey attribute resolves to a SortCriteria object, it is returned as is.

public  StringgetSortToolTipAugment(boolean descending)
     Get sort tool tip augment based on the value given to the align property of the tableColumn component.
Parameters:
  descending - Flag indicating descending sort.
public  TablegetTableAncestor()
     Get the closest Table ancestor that encloses this component.
public  TableColumngetTableColumnAncestor()
     Get the closest TableColumn ancestor that encloses this component.
public  IteratorgetTableColumnChildren()
     Get an Iterator over the TableColumn children found for this component.
public  UIComponentgetTableColumnFooter()
     Get table column footer.
public  TableRowGroupgetTableRowGroupAncestor()
     Get the closest TableRowGroup ancestor that encloses this component.

Field Detail
COLUMN_FOOTER_FACET
final public static String COLUMN_FOOTER_FACET(Code)
The facet name for the column footer.



COLUMN_FOOTER_ID
final public static String COLUMN_FOOTER_ID(Code)
The component id for the column footer.



COLUMN_HEADER_FACET
final public static String COLUMN_HEADER_FACET(Code)
The facet name for the column header.



COLUMN_HEADER_ID
final public static String COLUMN_HEADER_ID(Code)
The component id for the column header.



EMBEDDED_ACTION_SEPARATOR_ICON_FACET
final public static String EMBEDDED_ACTION_SEPARATOR_ICON_FACET(Code)
The facet name for the embedded action separator icon.



EMBEDDED_ACTION_SEPARATOR_ICON_ID
final public static String EMBEDDED_ACTION_SEPARATOR_ICON_ID(Code)
The component id for the embedded action separator icon.



EMPTY_CELL_ICON_FACET
final public static String EMPTY_CELL_ICON_FACET(Code)
The facet name for the empty cell icon.



EMPTY_CELL_ICON_ID
final public static String EMPTY_CELL_ICON_ID(Code)
The component id for the empty cell icon.



FOOTER_FACET
final public static String FOOTER_FACET(Code)
The facet name for the footer area.



HEADER_FACET
final public static String HEADER_FACET(Code)
The facet name for the header area.



TABLE_COLUMN_FOOTER_FACET
final public static String TABLE_COLUMN_FOOTER_FACET(Code)
The facet name for the table column footer.



TABLE_COLUMN_FOOTER_ID
final public static String TABLE_COLUMN_FOOTER_ID(Code)
The component id for the table column footer.



TABLE_FOOTER_FACET
final public static String TABLE_FOOTER_FACET(Code)
The facet name for the table footer area.




Constructor Detail
TableColumn
public TableColumn()(Code)
Default constructor




Method Detail
getAlign
public String getAlign()(Code)
Get the horizontal alignment for the cell.

Note: If the align property is specified, it is returned as is. However, if the alignKey property is provided, alignment is based on the object type of the data element. For example, Date and Number objects are aligned using "right", Character and String objects are aligned using "left", and Boolean objects are aligned using "center". Note that select columns are aligned using "center" by default.

The horizontal alignment for the cell. If the align property is null or the object type cannot be determined, "left" is returned by default.



getColumnCount
public int getColumnCount()(Code)
Get the number of columns found for this component that have a rendered property of true. The number of rendered columns.



getColumnFooter
public UIComponent getColumnFooter()(Code)
Get column footer. The column footer.



getColumnHeader
public UIComponent getColumnHeader()(Code)
Get column header. The column header.



getEmbeddedActionSeparatorIcon
public UIComponent getEmbeddedActionSeparatorIcon()(Code)
Get separator icon for embedded actions. The separator icon for embedded actions.



getEmptyCellIcon
public UIComponent getEmptyCellIcon()(Code)
Get the icon used to display inapplicable or unexpectedly empty cells.

Note: UI guidelines suggest not to use this for a value that is truly null, such as an empty alarm cell or a comment field which is blank, neither of which should have the dash image. Further, it is recomended not to use the dash image for cells that contain user interface elements such as checkboxes or drop-down lists when these elements are not applicable. Instead, simply do not display the user interface element.

The icon used to display empty cells.



getSortCriteria
public SortCriteria getSortCriteria()(Code)
Get SortCriteria used for sorting the contents of a TableDataProvider.

Note: If the sortKey attribute resolves to a SortCriteria object, it is returned as is. However, if there is a value binding, and it's not null, a ValueBindingSortCriteria object is created. If there is no value binding, a FieldIdSortCriteria object is created.

The SortCriteria used for sorting.



getSortToolTipAugment
public String getSortToolTipAugment(boolean descending)(Code)
Get sort tool tip augment based on the value given to the align property of the tableColumn component.
Parameters:
  descending - Flag indicating descending sort. The sort tool tip augment.



getTableAncestor
public Table getTableAncestor()(Code)
Get the closest Table ancestor that encloses this component. The Table ancestor.



getTableColumnAncestor
public TableColumn getTableColumnAncestor()(Code)
Get the closest TableColumn ancestor that encloses this component. The TableColumn ancestor.



getTableColumnChildren
public Iterator getTableColumnChildren()(Code)
Get an Iterator over the TableColumn children found for this component. An Iterator over the TableColumn children.



getTableColumnFooter
public UIComponent getTableColumnFooter()(Code)
Get table column footer. The table column footer.



getTableRowGroupAncestor
public TableRowGroup getTableRowGroupAncestor()(Code)
Get the closest TableRowGroup ancestor that encloses this component. The TableRowGroup ancestor.



Methods inherited from com.sun.rave.web.ui.component.TableColumnBase
public String getAbbr()(Code)(Java Doc)
public String getAlign()(Code)(Java Doc)
public Object getAlignKey()(Code)(Java Doc)
public String getAxis()(Code)(Java Doc)
public String getBgColor()(Code)(Java Doc)
public String getChar()(Code)(Java Doc)
public String getCharOff()(Code)(Java Doc)
public int getColSpan()(Code)(Java Doc)
public String getExtraFooterHtml()(Code)(Java Doc)
public String getExtraHeaderHtml()(Code)(Java Doc)
public String getExtraTableFooterHtml()(Code)(Java Doc)
public String getFamily()(Code)(Java Doc)
public String getFooterText()(Code)(Java Doc)
public String getHeaderText()(Code)(Java Doc)
public String getHeaders()(Code)(Java Doc)
public String getHeight()(Code)(Java Doc)
public String getOnClick()(Code)(Java Doc)
public String getOnDblClick()(Code)(Java Doc)
public String getOnKeyDown()(Code)(Java Doc)
public String getOnKeyPress()(Code)(Java Doc)
public String getOnKeyUp()(Code)(Java Doc)
public String getOnMouseDown()(Code)(Java Doc)
public String getOnMouseMove()(Code)(Java Doc)
public String getOnMouseOut()(Code)(Java Doc)
public String getOnMouseOver()(Code)(Java Doc)
public String getOnMouseUp()(Code)(Java Doc)
public int getRowSpan()(Code)(Java Doc)
public String getScope()(Code)(Java Doc)
public String getSelectId()(Code)(Java Doc)
public String getSeverity()(Code)(Java Doc)
public Object getSort()(Code)(Java Doc)
public String getSortIcon()(Code)(Java Doc)
public String getSortImageURL()(Code)(Java Doc)
public String getStyle()(Code)(Java Doc)
public String getStyleClass()(Code)(Java Doc)
public String getTableFooterText()(Code)(Java Doc)
public String getToolTip()(Code)(Java Doc)
public String getValign()(Code)(Java Doc)
public String getWidth()(Code)(Java Doc)
public boolean isDescending()(Code)(Java Doc)
public boolean isEmbeddedActions()(Code)(Java Doc)
public boolean isEmptyCell()(Code)(Java Doc)
public boolean isNoWrap()(Code)(Java Doc)
public boolean isRowHeader()(Code)(Java Doc)
public boolean isSpacerColumn()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
public void restoreState(FacesContext _context, Object _state)(Code)(Java Doc)
public Object saveState(FacesContext _context)(Code)(Java Doc)
public void setAbbr(String abbr)(Code)(Java Doc)
public void setAlign(String align)(Code)(Java Doc)
public void setAlignKey(Object alignKey)(Code)(Java Doc)
public void setAxis(String axis)(Code)(Java Doc)
public void setBgColor(String bgColor)(Code)(Java Doc)
public void setChar(String _char)(Code)(Java Doc)
public void setCharOff(String charOff)(Code)(Java Doc)
public void setColSpan(int colSpan)(Code)(Java Doc)
public void setDescending(boolean descending)(Code)(Java Doc)
public void setEmbeddedActions(boolean embeddedActions)(Code)(Java Doc)
public void setEmptyCell(boolean emptyCell)(Code)(Java Doc)
public void setExtraFooterHtml(String extraFooterHtml)(Code)(Java Doc)
public void setExtraHeaderHtml(String extraHeaderHtml)(Code)(Java Doc)
public void setExtraTableFooterHtml(String extraTableFooterHtml)(Code)(Java Doc)
public void setFooterText(String footerText)(Code)(Java Doc)
public void setHeaderText(String headerText)(Code)(Java Doc)
public void setHeaders(String headers)(Code)(Java Doc)
public void setHeight(String height)(Code)(Java Doc)
public void setNoWrap(boolean noWrap)(Code)(Java Doc)
public void setOnClick(String onClick)(Code)(Java Doc)
public void setOnDblClick(String onDblClick)(Code)(Java Doc)
public void setOnKeyDown(String onKeyDown)(Code)(Java Doc)
public void setOnKeyPress(String onKeyPress)(Code)(Java Doc)
public void setOnKeyUp(String onKeyUp)(Code)(Java Doc)
public void setOnMouseDown(String onMouseDown)(Code)(Java Doc)
public void setOnMouseMove(String onMouseMove)(Code)(Java Doc)
public void setOnMouseOut(String onMouseOut)(Code)(Java Doc)
public void setOnMouseOver(String onMouseOver)(Code)(Java Doc)
public void setOnMouseUp(String onMouseUp)(Code)(Java Doc)
public void setRowHeader(boolean rowHeader)(Code)(Java Doc)
public void setRowSpan(int rowSpan)(Code)(Java Doc)
public void setScope(String scope)(Code)(Java Doc)
public void setSelectId(String selectId)(Code)(Java Doc)
public void setSeverity(String severity)(Code)(Java Doc)
public void setSort(Object sort)(Code)(Java Doc)
public void setSortIcon(String sortIcon)(Code)(Java Doc)
public void setSortImageURL(String sortImageURL)(Code)(Java Doc)
public void setSpacerColumn(boolean spacerColumn)(Code)(Java Doc)
public void setStyle(String style)(Code)(Java Doc)
public void setStyleClass(String styleClass)(Code)(Java Doc)
public void setTableFooterText(String tableFooterText)(Code)(Java Doc)
public void setToolTip(String toolTip)(Code)(Java Doc)
public void setValign(String valign)(Code)(Java Doc)
public void setVisible(boolean visible)(Code)(Java Doc)
public void setWidth(String width)(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.