Java Doc for RowManager.java in  » Database-Client » prefuse » prefuse » data » util » 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 » Database Client » prefuse » prefuse.data.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   prefuse.data.util.RowManager

All known Subclasses:   prefuse.data.util.FilteredRowManager,
RowManager
public class RowManager (Code)
Manages the set of valid rows for a Table instance, maintains an index of the available and occupied rows. RowManager instances are used internally by Table instances.
author:
   jeffrey heer

Inner Class :public class RowIterator extends IntIterator
Inner Class :public class ColumnRowIterator extends IntIterator

Field Summary
protected  Tablem_table
    

Constructor Summary
public  RowManager(Table table)
     Create a new RowManager for the given Table.

Method Summary
public  intaddRow()
     Add a new row to management.
public  voidclear()
     Clear the row manager status, marking all rows as available.
public  IntIteratorcolumnRows(int col)
     Return an iterator over column row indices.
public  IntIteratorcolumnRows(int col, boolean reverse)
     Return an iterator over column row indices.
public  IntIteratorcolumnRows(IntIterator rows, int col)
     Return an iterator over column row indices.
public  intgetColumnRow(int row, int col)
     Given Table row and column indices, return the corresponding row in the underlying data column.
public  intgetMaximumRow()
     Get the highest-numbered occupied table row.
public  intgetMinimumRow()
     Get the lowest-numbered occupied table row.
public  intgetRowCount()
    
public  TablegetTable()
     Get the table managed by this RowManager.
public  intgetTableRow(int columnRow, int col)
     Given a column row index and a table column index, return the table row corresponding to the column value.
public  booleanisValidRow(int row)
     Indicates if a given row value is a valid, occupied row of the table.
public  booleanreleaseRow(int row)
     Release a row and mark it as free.
public  IntIteratorrows()
     Get an iterator over the table rows.
public  IntIteratorrows(boolean reverse)
     Get an iterator over the table rows.

Field Detail
m_table
protected Table m_table(Code)




Constructor Detail
RowManager
public RowManager(Table table)(Code)
Create a new RowManager for the given Table.
Parameters:
  table - the Table to manage




Method Detail
addRow
public int addRow()(Code)
Add a new row to management. The lowest valued available row will be used. the row index of the newly added row



clear
public void clear()(Code)
Clear the row manager status, marking all rows as available.



columnRows
public IntIterator columnRows(int col)(Code)
Return an iterator over column row indices.
Parameters:
  col - the table column index an iterator over column row indices correspondingto valid rows of this RowManager



columnRows
public IntIterator columnRows(int col, boolean reverse)(Code)
Return an iterator over column row indices.
Parameters:
  col - the table column index
Parameters:
  reverse - indicates the direction to iterate over, truefor reverse, false for normal an iterator over column row indices correspondingto valid rows of this RowManager



columnRows
public IntIterator columnRows(IntIterator rows, int col)(Code)
Return an iterator over column row indices.
Parameters:
  rows - an iterator over table row indices
Parameters:
  col - the table column index an iterator over column row indices correspondingto valid rows of this RowManager



getColumnRow
public int getColumnRow(int row, int col)(Code)
Given Table row and column indices, return the corresponding row in the underlying data column. This is of use for CascadedTable instances, which may reveal only a limited set of a parent table's rows and so must map between table rows and the actual indices of the inherited data columns.
Parameters:
  row - the table row
Parameters:
  col - the table column the row value for accessing the correct value of thereferenced data column.



getMaximumRow
public int getMaximumRow()(Code)
Get the highest-numbered occupied table row. the maximum row



getMinimumRow
public int getMinimumRow()(Code)
Get the lowest-numbered occupied table row. the minimum row



getRowCount
public int getRowCount()(Code)
Get the total number of occupied rows the number of rows being used by the table



getTable
public Table getTable()(Code)
Get the table managed by this RowManager. the managed table



getTableRow
public int getTableRow(int columnRow, int col)(Code)
Given a column row index and a table column index, return the table row corresponding to the column value. This is of use for CascadedTable instances, which may reveal only a limited set of a parent table's rows and so must map between table rows and the actual indices of the inherited data columns.
Parameters:
  columnRow - the row of the underlying data column
Parameters:
  col - the table column the row value for the Table that corresponds to thegiven column row



isValidRow
public boolean isValidRow(int row)(Code)
Indicates if a given row value is a valid, occupied row of the table.
Parameters:
  row - the row index to check true if the row is valid and in use by the Table, false ifit is an illegal value or is currently free



releaseRow
public boolean releaseRow(int row)(Code)
Release a row and mark it as free.
Parameters:
  row - the row index of the released row true if the row was successfully released, false if itwas already free or if the input is not a valid row index



rows
public IntIterator rows()(Code)
Get an iterator over the table rows. an iterator over the table rows



rows
public IntIterator rows(boolean reverse)(Code)
Get an iterator over the table rows.
Parameters:
  reverse - indicates the direction to iterate over, truefor reverse, false for normal an iterator over the table rows



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.