Java Doc for Table.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.TableBase
   com.sun.rave.web.ui.component.Table

Table
public class Table extends TableBase implements NamingContainer(Code)
Component that represents a table. The table component provides a layout mechanism for displaying table actions. 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.Table.level = FINE
 

See TLD docs for more information.



Field Summary
final public static  StringACTIONS_BOTTOM_FACET
     The facet name for the bottom actions area.
final public static  StringACTIONS_TOP_FACET
     The facet name for top actions area.
final public static  StringCUSTOM_FILTER
     The value for the custom filter option.
final public static  StringCUSTOM_FILTER_APPLIED
     The value for the custom filter applied option.
final public static  StringEMBEDDED_PANELS_BAR_ID
     The id for the embedded panels bar.
final public static  StringEMBEDDED_PANELS_FACET
     The facet name for embedded panels.
final public static  StringEMBEDDED_PANELS_ID
     The component id for embedded panels.
final public static  StringFILTER_FACET
     The facet name for the filter area.
final public static  StringFILTER_PANEL_FACET
     The facet name for the filter panel.
final public static  StringFOOTER_FACET
     The facet name for the footer area.
final public static  StringPREFERENCES_PANEL_FACET
     The facet name for the preferences panel.
final public static  StringSORT_PANEL_FACET
     The facet name for the sort panel.
final public static  StringTABLE_ACTIONS_BOTTOM_BAR_ID
     The id for the bottom actions bar.
final public static  StringTABLE_ACTIONS_BOTTOM_FACET
     The facet name for bottom actions.
final public static  StringTABLE_ACTIONS_BOTTOM_ID
     The component id for bottom actions.
final public static  StringTABLE_ACTIONS_TOP_BAR_ID
     The id for the top actions bar.
final public static  StringTABLE_ACTIONS_TOP_FACET
     The facet name for top actions.
final public static  StringTABLE_ACTIONS_TOP_ID
     The component id for top actions.
final public static  StringTABLE_FOOTER_BAR_ID
     The id for the table footer.
final public static  StringTABLE_FOOTER_FACET
     The facet name for the table footer.
final public static  StringTABLE_FOOTER_ID
     The component id for the table footer.
final public static  StringTABLE_ID
     The id for the table.
final public static  StringTITLE_BAR_ID
     The id for the title bar.
final public static  StringTITLE_FACET
     The facet name for the title area.

Constructor Summary
public  Table()
    

Method Summary
public  voidencodeBegin(FacesContext context)
     If the rendered property is true, render the begining of the current state of this UIComponent to the response contained in the specified FacesContext.
public  intgetColumnCount()
     Get the max number of columns found for all TableRowGroup children.
public  intgetColumnHeadersCount()
     Get the number of column header bars for all TableRowGroup children.
public  UIComponentgetEmbeddedPanels()
     Get embedded panels.
public  StringgetFilterId()
     Get the HTML element ID of the dropDown component used to display table filter options.

Note: This is the fully qualified ID rendered in the outter tag enclosing the HTML element.

public static  Option[]getFilterOptions(Option[] options, boolean customFilterApplied)
     Get the "custom filter" options used for a table filter menu.

Note: UI guidelines state that a "Custom Filter" option should be added to the filter menu, used to open the table filter panel.

public  intgetFirst()
     Get the zero-relative row number of the first row to be displayed for a paginated table for all TableRowGroup children.
public  intgetHiddenSelectedRowsCount()
     Get the number of hidden selected rows for all TableRowGroup children.
public  intgetPageCount()
     Get the max number of pages for all TableRowGroup children.
public  intgetRowCount()
     Get the number of rows in the underlying TableDataProvider for all TableRowGroup children.
public  intgetRows()
     Get the number of rows to be displayed per page for a paginated table for all TableRowGroup children.
public  UIComponentgetTableActionsBottom()
     Get bottom actions.
public  UIComponentgetTableActionsTop()
     Get top actions.
public  intgetTableColumnFootersCount()
     Get the number of table column footer bars for all TableRowGroup children.
public  UIComponentgetTableFooter()
     Get table footer.
public  TableRowGroupgetTableRowGroupChild()
     Get the first TableRowGroup child found for the specified component that have a rendered property of true.
public  IteratorgetTableRowGroupChildren()
     Get an Iterator over the TableRowGroup children found for this component.
public  intgetTableRowGroupCount()
     Get the number of child TableRowGroup components found for this component that have a rendered property of true.

Field Detail
ACTIONS_BOTTOM_FACET
final public static String ACTIONS_BOTTOM_FACET(Code)
The facet name for the bottom actions area.



ACTIONS_TOP_FACET
final public static String ACTIONS_TOP_FACET(Code)
The facet name for top actions area.



CUSTOM_FILTER
final public static String CUSTOM_FILTER(Code)
The value for the custom filter option.



CUSTOM_FILTER_APPLIED
final public static String CUSTOM_FILTER_APPLIED(Code)
The value for the custom filter applied option.



EMBEDDED_PANELS_BAR_ID
final public static String EMBEDDED_PANELS_BAR_ID(Code)
The id for the embedded panels bar.



EMBEDDED_PANELS_FACET
final public static String EMBEDDED_PANELS_FACET(Code)
The facet name for embedded panels.



EMBEDDED_PANELS_ID
final public static String EMBEDDED_PANELS_ID(Code)
The component id for embedded panels.



FILTER_FACET
final public static String FILTER_FACET(Code)
The facet name for the filter area.



FILTER_PANEL_FACET
final public static String FILTER_PANEL_FACET(Code)
The facet name for the filter panel.



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



PREFERENCES_PANEL_FACET
final public static String PREFERENCES_PANEL_FACET(Code)
The facet name for the preferences panel.



SORT_PANEL_FACET
final public static String SORT_PANEL_FACET(Code)
The facet name for the sort panel.



TABLE_ACTIONS_BOTTOM_BAR_ID
final public static String TABLE_ACTIONS_BOTTOM_BAR_ID(Code)
The id for the bottom actions bar.



TABLE_ACTIONS_BOTTOM_FACET
final public static String TABLE_ACTIONS_BOTTOM_FACET(Code)
The facet name for bottom actions.



TABLE_ACTIONS_BOTTOM_ID
final public static String TABLE_ACTIONS_BOTTOM_ID(Code)
The component id for bottom actions.



TABLE_ACTIONS_TOP_BAR_ID
final public static String TABLE_ACTIONS_TOP_BAR_ID(Code)
The id for the top actions bar.



TABLE_ACTIONS_TOP_FACET
final public static String TABLE_ACTIONS_TOP_FACET(Code)
The facet name for top actions.



TABLE_ACTIONS_TOP_ID
final public static String TABLE_ACTIONS_TOP_ID(Code)
The component id for top actions.



TABLE_FOOTER_BAR_ID
final public static String TABLE_FOOTER_BAR_ID(Code)
The id for the table footer.



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



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



TABLE_ID
final public static String TABLE_ID(Code)
The id for the table.



TITLE_BAR_ID
final public static String TITLE_BAR_ID(Code)
The id for the title bar.



TITLE_FACET
final public static String TITLE_FACET(Code)
The facet name for the title area.




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




Method Detail
encodeBegin
public void encodeBegin(FacesContext context) throws IOException(Code)
If the rendered property is true, render the begining of the current state of this UIComponent to the response contained in the specified FacesContext. If a Renderer is associated with this UIComponent, the actual encoding will be delegated to Renderer.encodeBegin(FacesContext, UIComponent).
Parameters:
  context - FacesContext for the current request.
exception:
  IOException - if an input/output error occurs while rendering.
exception:
  NullPointerException - if FacesContext is null.



getColumnCount
public int getColumnCount()(Code)
Get the max number of columns found for all TableRowGroup children. The max number of columns.



getColumnHeadersCount
public int getColumnHeadersCount()(Code)
Get the number of column header bars for all TableRowGroup children. The number of column headers.



getEmbeddedPanels
public UIComponent getEmbeddedPanels()(Code)
Get embedded panels. The embedded panels.



getFilterId
public String getFilterId()(Code)
Get the HTML element ID of the dropDown component used to display table filter options.

Note: This is the fully qualified ID rendered in the outter tag enclosing the HTML element. Required for Javascript functions to set the dropDown styles when the embedded filter panel is opened and to reset the default selected value when the panel is closed.

The HTML element ID of the filter menu.



getFilterOptions
public static Option[] getFilterOptions(Option[] options, boolean customFilterApplied)(Code)
Get the "custom filter" options used for a table filter menu.

Note: UI guidelines state that a "Custom Filter" option should be added to the filter menu, used to open the table filter panel. Thus, if the CUSTOM_FILTER option is selected, Javascript invoked via the onChange event will open the table filter panel.

UI guidelines also state that a "Custom Filter Applied" option should be added to the filter menu, indicating that a custom filter has been applied. In this scenario, set the selected property of the filter menu as CUSTOM_FILTER_APPLIED. This selection should persist until another menu option has been selected.


Parameters:
  options - An array of options to append to -- may be null.
Parameters:
  customFilterApplied - Flag indicating custom filter is applied. A new array containing appended "custom filter" options.



getFirst
public int getFirst()(Code)
Get the zero-relative row number of the first row to be displayed for a paginated table for all TableRowGroup children. The first row to be displayed.



getHiddenSelectedRowsCount
public int getHiddenSelectedRowsCount()(Code)
Get the number of hidden selected rows for all TableRowGroup children. The number of hidden selected rows.



getPageCount
public int getPageCount()(Code)
Get the max number of pages for all TableRowGroup children. The max number of pages.



getRowCount
public int getRowCount()(Code)
Get the number of rows in the underlying TableDataProvider for all TableRowGroup children. The number of rows.



getRows
public int getRows()(Code)
Get the number of rows to be displayed per page for a paginated table for all TableRowGroup children. The number of rows to be displayed per page for a paginated table.



getTableActionsBottom
public UIComponent getTableActionsBottom()(Code)
Get bottom actions. The bottom actions.



getTableActionsTop
public UIComponent getTableActionsTop()(Code)
Get top actions. The top actions.



getTableColumnFootersCount
public int getTableColumnFootersCount()(Code)
Get the number of table column footer bars for all TableRowGroup children. The number of table column footers.



getTableFooter
public UIComponent getTableFooter()(Code)
Get table footer. The table footer.



getTableRowGroupChild
public TableRowGroup getTableRowGroupChild()(Code)
Get the first TableRowGroup child found for the specified component that have a rendered property of true. The first TableRowGroup child found.



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



getTableRowGroupCount
public int getTableRowGroupCount()(Code)
Get the number of child TableRowGroup components found for this component that have a rendered property of true. The number of TableRowGroup children.



Methods inherited from com.sun.rave.web.ui.component.TableBase
public String getAlign()(Code)(Java Doc)
public String getBgColor()(Code)(Java Doc)
public int getBorder()(Code)(Java Doc)
public String getCellPadding()(Code)(Java Doc)
public String getCellSpacing()(Code)(Java Doc)
public String getDeselectMultipleButtonOnClick()(Code)(Java Doc)
public String getDeselectSingleButtonOnClick()(Code)(Java Doc)
public String getExtraActionBottomHtml()(Code)(Java Doc)
public String getExtraActionTopHtml()(Code)(Java Doc)
public String getExtraFooterHtml()(Code)(Java Doc)
public String getExtraPanelHtml()(Code)(Java Doc)
public String getExtraTitleHtml()(Code)(Java Doc)
public String getFamily()(Code)(Java Doc)
public String getFilterId()(Code)(Java Doc)
public String getFilterPanelFocusId()(Code)(Java Doc)
public String getFilterText()(Code)(Java Doc)
public String getFooterText()(Code)(Java Doc)
public String getFrame()(Code)(Java Doc)
public String getItemsText()(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 String getPreferencesPanelFocusId()(Code)(Java Doc)
public String getRules()(Code)(Java Doc)
public String getSelectMultipleButtonOnClick()(Code)(Java Doc)
public String getSortPanelFocusId()(Code)(Java Doc)
public String getStyle()(Code)(Java Doc)
public String getStyleClass()(Code)(Java Doc)
public String getSummary()(Code)(Java Doc)
public int getTabIndex()(Code)(Java Doc)
public String getTitle()(Code)(Java Doc)
public String getToolTip()(Code)(Java Doc)
public String getWidth()(Code)(Java Doc)
public boolean isAugmentTitle()(Code)(Java Doc)
public boolean isClearSortButton()(Code)(Java Doc)
public boolean isDeselectMultipleButton()(Code)(Java Doc)
public boolean isDeselectSingleButton()(Code)(Java Doc)
public boolean isHiddenSelectedRows()(Code)(Java Doc)
public boolean isInternalVirtualForm()(Code)(Java Doc)
public boolean isLite()(Code)(Java Doc)
public boolean isPaginateButton()(Code)(Java Doc)
public boolean isPaginationControls()(Code)(Java Doc)
public boolean isSelectMultipleButton()(Code)(Java Doc)
public boolean isSortPanelToggleButton()(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 setAlign(String align)(Code)(Java Doc)
public void setAugmentTitle(boolean augmentTitle)(Code)(Java Doc)
public void setBgColor(String bgColor)(Code)(Java Doc)
public void setBorder(int border)(Code)(Java Doc)
public void setCellPadding(String cellPadding)(Code)(Java Doc)
public void setCellSpacing(String cellSpacing)(Code)(Java Doc)
public void setClearSortButton(boolean clearSortButton)(Code)(Java Doc)
public void setDeselectMultipleButton(boolean deselectMultipleButton)(Code)(Java Doc)
public void setDeselectMultipleButtonOnClick(String deselectMultipleButtonOnClick)(Code)(Java Doc)
public void setDeselectSingleButton(boolean deselectSingleButton)(Code)(Java Doc)
public void setDeselectSingleButtonOnClick(String deselectSingleButtonOnClick)(Code)(Java Doc)
public void setExtraActionBottomHtml(String extraActionBottomHtml)(Code)(Java Doc)
public void setExtraActionTopHtml(String extraActionTopHtml)(Code)(Java Doc)
public void setExtraFooterHtml(String extraFooterHtml)(Code)(Java Doc)
public void setExtraPanelHtml(String extraPanelHtml)(Code)(Java Doc)
public void setExtraTitleHtml(String extraTitleHtml)(Code)(Java Doc)
public void setFilterId(String filterId)(Code)(Java Doc)
public void setFilterPanelFocusId(String filterPanelFocusId)(Code)(Java Doc)
public void setFilterText(String filterText)(Code)(Java Doc)
public void setFooterText(String footerText)(Code)(Java Doc)
public void setFrame(String frame)(Code)(Java Doc)
public void setHiddenSelectedRows(boolean hiddenSelectedRows)(Code)(Java Doc)
public void setInternalVirtualForm(boolean internalVirtualForm)(Code)(Java Doc)
public void setItemsText(String itemsText)(Code)(Java Doc)
public void setLite(boolean lite)(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 setPaginateButton(boolean paginateButton)(Code)(Java Doc)
public void setPaginationControls(boolean paginationControls)(Code)(Java Doc)
public void setPreferencesPanelFocusId(String preferencesPanelFocusId)(Code)(Java Doc)
public void setRules(String rules)(Code)(Java Doc)
public void setSelectMultipleButton(boolean selectMultipleButton)(Code)(Java Doc)
public void setSelectMultipleButtonOnClick(String selectMultipleButtonOnClick)(Code)(Java Doc)
public void setSortPanelFocusId(String sortPanelFocusId)(Code)(Java Doc)
public void setSortPanelToggleButton(boolean sortPanelToggleButton)(Code)(Java Doc)
public void setStyle(String style)(Code)(Java Doc)
public void setStyleClass(String styleClass)(Code)(Java Doc)
public void setSummary(String summary)(Code)(Java Doc)
public void setTabIndex(int tabIndex)(Code)(Java Doc)
public void setTitle(String title)(Code)(Java Doc)
public void setToolTip(String toolTip)(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.