Java Doc for TabularPropertyModel.java in  » IDE-Netbeans » visualweb.api.designer » org » netbeans » modules » visualweb » propertyeditors » 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 » org.netbeans.modules.visualweb.propertyeditors 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.visualweb.propertyeditors.TabularPropertyModel

TabularPropertyModel
public interface TabularPropertyModel extends TableModel(Code)
A model that defines methods for manipulating a tabular property value. A tabular property is typically a matrix of primitive types (e.g. a list of lists of strings, or a list of objects with any number of properties).
author:
   gjmurphy




Method Summary
public  booleanaddRow()
     Add a row to this model.
public  voidaddTableModelListener(TableModelListener listener)
     Adds a listener to the model, which is notified each time a change to the model occurs.
public  booleancanAddRow()
     Returns true if rows may be added to this table model.
public  booleancanMoveRow(int indexFrom, int indexTo)
     Returns true if the row specified may be moved to the new location specified.
public  booleancanRemoveRow(int index)
     Returns true if the row specified may be removed.
public  ClassgetColumnClass(int columnIndex)
     Returns the type of the column with the index specified.
public  intgetColumnCount()
     Returns the number of columns in the model.
public  StringgetColumnName(int columnIndex)
     Returns the display name of the column with the index specified.
public  intgetRowCount()
     Returns the current number of rows.
public  ObjectgetValue()
     Return the value of the table contents, as an object of type suitable for the property being edited.
public  ObjectgetValueAt(int rowIndex, int columnIndex)
     Returns the value of the cell at the row and column specified.
public  booleanisCellEditable(int rowIndex, int columnIndex)
     Returns true if the cell specified is editable.
public  booleanmoveRow(int indexFrom, int indexTo)
    
public  booleanremoveAllRows()
    
public  booleanremoveRow(int index)
    
public  voidremoveTableModelListener(TableModelListener listener)
     Removes the listener specified.
public  voidsetValue(Object value)
     Set the initial value of the table contents.
public  voidsetValueAt(Object newValue, int rowIndex, int columnIndex)
     Change the value of the cell specified.



Method Detail
addRow
public boolean addRow()(Code)
Add a row to this model. true if a row was added to this table model.



addTableModelListener
public void addTableModelListener(TableModelListener listener)(Code)
Adds a listener to the model, which is notified each time a change to the model occurs.



canAddRow
public boolean canAddRow()(Code)
Returns true if rows may be added to this table model. true if rows may be added to this table model.



canMoveRow
public boolean canMoveRow(int indexFrom, int indexTo)(Code)
Returns true if the row specified may be moved to the new location specified. Rows should be shift down one to make room for the new row.



canRemoveRow
public boolean canRemoveRow(int index)(Code)
Returns true if the row specified may be removed. Remaining rows should be shifted up one.



getColumnClass
public Class getColumnClass(int columnIndex)(Code)
Returns the type of the column with the index specified.
Parameters:
  columnIndex - The type of the column with the index specified.



getColumnCount
public int getColumnCount()(Code)
Returns the number of columns in the model. This number must not change over the lifetime of the editor. The number of columns in the model.



getColumnName
public String getColumnName(int columnIndex)(Code)
Returns the display name of the column with the index specified.
Parameters:
  columnIndex - The display name of the column with the index specified.



getRowCount
public int getRowCount()(Code)
Returns the current number of rows. The number may change over the lifetime of the editor. The current number of rows.



getValue
public Object getValue()(Code)
Return the value of the table contents, as an object of type suitable for the property being edited.



getValueAt
public Object getValueAt(int rowIndex, int columnIndex)(Code)
Returns the value of the cell at the row and column specified.
Parameters:
  rowIndex -
Parameters:
  columnIndex - The value of the cell at the row and column specified.



isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex)(Code)
Returns true if the cell specified is editable.
Parameters:
  rowIndex -
Parameters:
  columnIndex - true if the cell specified is editable.



moveRow
public boolean moveRow(int indexFrom, int indexTo)(Code)



removeAllRows
public boolean removeAllRows()(Code)



removeRow
public boolean removeRow(int index)(Code)



removeTableModelListener
public void removeTableModelListener(TableModelListener listener)(Code)
Removes the listener specified.



setValue
public void setValue(Object value)(Code)
Set the initial value of the table contents.



setValueAt
public void setValueAt(Object newValue, int rowIndex, int columnIndex)(Code)
Change the value of the cell specified.
Parameters:
  newValue -
Parameters:
  rowIndex -
Parameters:
  columnIndex - true if the cell specified was modified.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.