Java Doc for RowSelectionModel.java in  » Ajax » gwtext-2.01 » com » gwtext » client » widgets » grid » 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 » Ajax » gwtext 2.01 » com.gwtext.client.widgets.grid 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.gwtext.client.widgets.grid.AbstractSelectionModel
   com.gwtext.client.widgets.grid.RowSelectionModel

All known Subclasses:   com.gwtext.client.widgets.grid.CheckboxSelectionModel,
RowSelectionModel
public class RowSelectionModel extends AbstractSelectionModel (Code)
A Grid's row based selection model.



Constructor Summary
public  RowSelectionModel()
     Cretes a new RowSelectionModel.
public  RowSelectionModel(boolean singleSelect)
     Cretes a new RowSelectionModel.
public  RowSelectionModel(JavaScriptObject jsObj)
    

Method Summary
native public  voidaddListener(RowSelectionListener listener)
     Add a Row selection listener.
native public  voidclearSelections()
     Clears all selections.
native protected  JavaScriptObjectcreate(boolean singleSelect)
    
native public  voiddeselectRange(int startRow, int endRow)
     Deselects a range of rows.
native public  voiddeselectRow(int row)
     Deselects a row.
native public  intgetCount()
     Gets the number of selected rows.
native public  RecordgetSelected()
     Returns the first selected record.
native public  Record[]getSelections()
     Returns the selected records.
native public  booleanhasSelection()
     Returns true if there is a selection.
native public  booleanisIdSelected(String id)
     Returns true if the specified record id is selected.
native public  booleanisLocked()
     Returns true if the selections are locked.
native public  booleanisSelected(int row)
     Returns true if row is selected.
native public  booleanisSelected(Record record)
     Returns true if the record is selected.
native public  voidselectAll()
     Selects all rows.
native public  voidselectFirstRow()
     Selects the first row.
native public  voidselectLastRow()
     Selects the last row.
native public  voidselectLastRow(boolean keepExisting)
     Seletcs the last row.
native public  voidselectNext()
     Selects the row immediately following the last selected row.
native public  voidselectPrevious()
     Selects the row that precedes the last selected row.
native public  voidselectRange(int startRow, int endRow)
     Selects a range of rows.
native public  voidselectRange(int startRow, int endRow, boolean keepExisting)
     Selects a range of rows.
native public  voidselectRow(int row)
     Selects a row.
native public  voidselectRow(int row, boolean keepExisting)
     Selects a row.
native public  voidselectRows(int[] rows)
     Selects multiple rows.
native public  voidselectRows(int[] rows, boolean keepExisting)
     Selects multiple rows.


Constructor Detail
RowSelectionModel
public RowSelectionModel()(Code)
Cretes a new RowSelectionModel.



RowSelectionModel
public RowSelectionModel(boolean singleSelect)(Code)
Cretes a new RowSelectionModel.
Parameters:
  singleSelect - true to allow selection of only one row at a time (defaults to false)



RowSelectionModel
public RowSelectionModel(JavaScriptObject jsObj)(Code)




Method Detail
addListener
native public void addListener(RowSelectionListener listener)(Code)
Add a Row selection listener.
Parameters:
  listener - the listener



clearSelections
native public void clearSelections()(Code)
Clears all selections.



create
native protected JavaScriptObject create(boolean singleSelect)(Code)



deselectRange
native public void deselectRange(int startRow, int endRow)(Code)
Deselects a range of rows. All rows in between startRow and endRow are also deselected.
Parameters:
  startRow - the index of the first row in the range
Parameters:
  endRow - the index of the last row in the range



deselectRow
native public void deselectRow(int row)(Code)
Deselects a row.
Parameters:
  row - the index of the row to deselect



getCount
native public int getCount()(Code)
Gets the number of selected rows. the number of selected rows



getSelected
native public Record getSelected()(Code)
Returns the first selected record. the first selected record



getSelections
native public Record[] getSelections()(Code)
Returns the selected records. the selected records



hasSelection
native public boolean hasSelection()(Code)
Returns true if there is a selection. true if there is a selection



isIdSelected
native public boolean isIdSelected(String id)(Code)
Returns true if the specified record id is selected.
Parameters:
  id - the id of record to check true if selected



isLocked
native public boolean isLocked()(Code)
Returns true if the selections are locked. true if selections are locked



isSelected
native public boolean isSelected(int row)(Code)
Returns true if row is selected.
Parameters:
  row - the row index true if selected



isSelected
native public boolean isSelected(Record record)(Code)
Returns true if the record is selected.
Parameters:
  record - the record to check true if selected



selectAll
native public void selectAll()(Code)
Selects all rows.



selectFirstRow
native public void selectFirstRow()(Code)
Selects the first row.



selectLastRow
native public void selectLastRow()(Code)
Selects the last row.



selectLastRow
native public void selectLastRow(boolean keepExisting)(Code)
Seletcs the last row.
Parameters:
  keepExisting - true to keep existing selection



selectNext
native public void selectNext()(Code)
Selects the row immediately following the last selected row.



selectPrevious
native public void selectPrevious()(Code)
Selects the row that precedes the last selected row.



selectRange
native public void selectRange(int startRow, int endRow)(Code)
Selects a range of rows. All rows in between startRow and endRow are also selected.
Parameters:
  startRow - the index of the first row
Parameters:
  endRow - the index of the last row



selectRange
native public void selectRange(int startRow, int endRow, boolean keepExisting)(Code)
Selects a range of rows. All rows in between startRow and endRow are also selected.
Parameters:
  startRow - the index of the first row
Parameters:
  endRow - the index of the last row
Parameters:
  keepExisting - keep the existing selection



selectRow
native public void selectRow(int row)(Code)
Selects a row.
Parameters:
  row - the row index to select



selectRow
native public void selectRow(int row, boolean keepExisting)(Code)
Selects a row.
Parameters:
  row - the row index to select
Parameters:
  keepExisting - keep existing selection



selectRows
native public void selectRows(int[] rows)(Code)
Selects multiple rows.
Parameters:
  rows - array of the indexes of the row to select



selectRows
native public void selectRows(int[] rows, boolean keepExisting)(Code)
Selects multiple rows.
Parameters:
  rows - array of the indexes of the row to select
Parameters:
  keepExisting - keep the existing selection



Methods inherited from com.gwtext.client.widgets.grid.AbstractSelectionModel
native public boolean isLocked()(Code)(Java Doc)
native public void lock()(Code)(Java Doc)
native public void unlock()(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.