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


prefuse.data.column.Column

All known Subclasses:   prefuse.data.column.AbstractColumn,
Column
public interface Column (Code)
Interface for a data column in a table.
author:
   jeffrey heer




Method Summary
public  voidaddColumnListener(ColumnListener listener)
    
public  booleancanGet(Class type)
     Indicates if the get method can be called without an exception being thrown for the given type.
public  booleancanGetBoolean()
     Indicates if convenience get method can be called without an exception being thrown for the boolean type.
public  booleancanGetDate()
     Indicates if convenience get method can be called without an exception being thrown for the Date type.
public  booleancanGetDouble()
     Indicates if convenience get method can be called without an exception being thrown for the double type.
public  booleancanGetFloat()
     Indicates if convenience get method can be called without an exception being thrown for the float type.
public  booleancanGetInt()
     Indicates if convenience get method can be called without an exception being thrown for the int type.
public  booleancanGetLong()
     Indicates if convenience get method can be called without an exception being thrown for the long type.
public  booleancanGetString()
     Indicates if convenience get method can be called without an exception being thrown for the String type.
public  booleancanSet(Class type)
     Indicates if the set method can be called without an exception being thrown for the given type.
public  booleancanSetBoolean()
     Indicates if convenience set method can be called without an exception being thrown for the boolean type.
public  booleancanSetDate()
     Indicates if convenience set method can be called without an exception being thrown for the Date type.
public  booleancanSetDouble()
     Indicates if convenience set method can be called without an exception being thrown for the double type.
public  booleancanSetFloat()
     Indicates if convenience set method can be called without an exception being thrown for the float type.
public  booleancanSetInt()
     Indicates if convenience set method can be called without an exception being thrown for the int type.
public  booleancanSetLong()
     Indicates if convenience set method can be called without an exception being thrown for the long type.
public  booleancanSetString()
     Indicates if convenience set method can be called without an exception being thrown for the String type.
public  Objectget(int row)
    
public  booleangetBoolean(int row)
    
public  ClassgetColumnType()
    
public  DategetDate(int row)
    
public  ObjectgetDefaultValue()
     Returns the default value for rows that have not been set explicitly.
public  doublegetDouble(int row)
    
public  floatgetFloat(int row)
    
public  intgetInt(int row)
    
public  longgetLong(int row)
    
public  DataParsergetParser()
     Get the data parser used to map String values to and from the values stored by this Column.
public  intgetRowCount()
    
public  StringgetString(int row)
    
public  booleanisCellEditable(int row)
     Indicates if the value at the given row can be edited.
public  booleanisReadOnly()
     Indicates if the values in this column are read-only.
public  voidremoveColumnListener(ColumnListener listener)
    
public  voidrevertToDefault(int row)
     Reverts the specified row back to the column's default value.
public  voidset(Object val, int row)
    
public  voidsetBoolean(boolean val, int row)
    
public  voidsetDate(Date val, int row)
    
public  voidsetDouble(double val, int row)
    
public  voidsetFloat(float val, int row)
    
public  voidsetInt(int val, int row)
    
public  voidsetLong(long val, int row)
    
public  voidsetMaximumRow(int nrows)
    
public  voidsetParser(DataParser parser)
     Set the data parser used to map String values to and from the values stored by this Column.
public  voidsetReadOnly(boolean readOnly)
    
public  voidsetString(String val, int row)
    



Method Detail
addColumnListener
public void addColumnListener(ColumnListener listener)(Code)
Adds a listener to be notified when this column changes
Parameters:
  listener - the ColumnListener to add



canGet
public boolean canGet(Class type)(Code)
Indicates if the get method can be called without an exception being thrown for the given type.
Parameters:
  type - the Class of the data type to check true if the type is supported by this column, false otherwise



canGetBoolean
public boolean canGetBoolean()(Code)
Indicates if convenience get method can be called without an exception being thrown for the boolean type. true if getBoolean is supported, false otherwise



canGetDate
public boolean canGetDate()(Code)
Indicates if convenience get method can be called without an exception being thrown for the Date type. true if getDate is supported, false otherwise



canGetDouble
public boolean canGetDouble()(Code)
Indicates if convenience get method can be called without an exception being thrown for the double type. true if getDouble is supported, false otherwise



canGetFloat
public boolean canGetFloat()(Code)
Indicates if convenience get method can be called without an exception being thrown for the float type. true if getFloat is supported, false otherwise



canGetInt
public boolean canGetInt()(Code)
Indicates if convenience get method can be called without an exception being thrown for the int type. true if getInt is supported, false otherwise



canGetLong
public boolean canGetLong()(Code)
Indicates if convenience get method can be called without an exception being thrown for the long type. true if getLong is supported, false otherwise



canGetString
public boolean canGetString()(Code)
Indicates if convenience get method can be called without an exception being thrown for the String type. true if getString is supported, false otherwise



canSet
public boolean canSet(Class type)(Code)
Indicates if the set method can be called without an exception being thrown for the given type.
Parameters:
  type - the Class of the data type to check true if the type is supported by this column, false otherwise



canSetBoolean
public boolean canSetBoolean()(Code)
Indicates if convenience set method can be called without an exception being thrown for the boolean type. true if setBoolean is supported, false otherwise



canSetDate
public boolean canSetDate()(Code)
Indicates if convenience set method can be called without an exception being thrown for the Date type. true if setDate is supported, false otherwise



canSetDouble
public boolean canSetDouble()(Code)
Indicates if convenience set method can be called without an exception being thrown for the double type. true if setDouble is supported, false otherwise



canSetFloat
public boolean canSetFloat()(Code)
Indicates if convenience set method can be called without an exception being thrown for the float type. true if setFloat is supported, false otherwise



canSetInt
public boolean canSetInt()(Code)
Indicates if convenience set method can be called without an exception being thrown for the int type. true if setInt is supported, false otherwise



canSetLong
public boolean canSetLong()(Code)
Indicates if convenience set method can be called without an exception being thrown for the long type. true if setLong is supported, false otherwise



canSetString
public boolean canSetString()(Code)
Indicates if convenience set method can be called without an exception being thrown for the String type. true if setString is supported, false otherwise



get
public Object get(int row)(Code)
Get the data value at the specified row
Parameters:
  row - the row from which to retrieve the value the data value



getBoolean
public boolean getBoolean(int row) throws DataTypeException(Code)
Get the data value at the specified row as a boolean
Parameters:
  row - the row from which to retrieve the value the data value as a boolean
throws:
  DataTypeException - if this column does not support the boolean type



getColumnType
public Class getColumnType()(Code)
Returns the most specific superclass for the values in the column the Class of the column's data values



getDate
public Date getDate(int row) throws DataTypeException(Code)
Get the data value at the specified row as a Date
Parameters:
  row - the row from which to retrieve the value the data value as a Date
throws:
  DataTypeException - if this column does not support the Date type



getDefaultValue
public Object getDefaultValue()(Code)
Returns the default value for rows that have not been set explicitly.



getDouble
public double getDouble(int row) throws DataTypeException(Code)
Get the data value at the specified row as a double
Parameters:
  row - the row from which to retrieve the value the data value as a double
throws:
  DataTypeException - if this column does not support the double type



getFloat
public float getFloat(int row) throws DataTypeException(Code)
Get the data value at the specified row as a float
Parameters:
  row - the row from which to retrieve the value the data value as a float
throws:
  DataTypeException - if this column does not support the float type



getInt
public int getInt(int row) throws DataTypeException(Code)
Get the data value at the specified row as an integer
Parameters:
  row - the row from which to retrieve the value the data value as an integer
throws:
  DataTypeException - if this column does not support the integer type



getLong
public long getLong(int row) throws DataTypeException(Code)
Get the data value at the specified row as a long
Parameters:
  row - the row from which to retrieve the value the data value as a long
throws:
  DataTypeException - if this column does not support the long type



getParser
public DataParser getParser()(Code)
Get the data parser used to map String values to and from the values stored by this Column. the DataParser used by this Column



getRowCount
public int getRowCount()(Code)
Returns the number of rows in this data column the number of rows



getString
public String getString(int row) throws DataTypeException(Code)
Get the data value at the specified row as a String
Parameters:
  row - the row from which to retrieve the value the data value as a String
throws:
  DataTypeException - if this column does not support the String type



isCellEditable
public boolean isCellEditable(int row)(Code)
Indicates if the value at the given row can be edited.
Parameters:
  row - the row to check true is the value can be modified, false otherwise



isReadOnly
public boolean isReadOnly()(Code)
Indicates if the values in this column are read-only. true if the values can not be edited, false otherwise



removeColumnListener
public void removeColumnListener(ColumnListener listener)(Code)
Removes a listener, causing it to no longer be notified of changes
Parameters:
  listener - the ColumnListener to remove



revertToDefault
public void revertToDefault(int row)(Code)
Reverts the specified row back to the column's default value.
Parameters:
  row -



set
public void set(Object val, int row) throws DataTypeException(Code)
Set the data value at the specified row
Parameters:
  val - the value to set
Parameters:
  row - the row at which to set the value



setBoolean
public void setBoolean(boolean val, int row) throws DataTypeException(Code)
Set the data value at the specified row as a boolean
Parameters:
  val - the value to set
Parameters:
  row - the row at which to set the value
throws:
  DataTypeException - if this column does not support the boolean type



setDate
public void setDate(Date val, int row) throws DataTypeException(Code)
Set the data value at the specified row as a Date
Parameters:
  val - the value to set
Parameters:
  row - the row at which to set the value
throws:
  DataTypeException - if this column does not support the Date type



setDouble
public void setDouble(double val, int row) throws DataTypeException(Code)
Set the data value at the specified row as a double
Parameters:
  val - the value to set
Parameters:
  row - the row at which to set the value
throws:
  DataTypeException - if this column does not support the double type



setFloat
public void setFloat(float val, int row) throws DataTypeException(Code)
Set the data value at the specified row as a float
Parameters:
  val - the value to set
Parameters:
  row - the row at which to set the value
throws:
  DataTypeException - if this column does not support the float type



setInt
public void setInt(int val, int row) throws DataTypeException(Code)
Set the data value at the specified row as an integer
Parameters:
  val - the value to set
Parameters:
  row - the row at which to set the value
throws:
  DataTypeException - if this column does not support the integer type



setLong
public void setLong(long val, int row) throws DataTypeException(Code)
Set the data value at the specified row as a long
Parameters:
  val - the value to set
Parameters:
  row - the row at which to set the value
throws:
  DataTypeException - if this column does not support the long type



setMaximumRow
public void setMaximumRow(int nrows)(Code)
Sets the number of rows in this data column
Parameters:
  nrows - the number of rows



setParser
public void setParser(DataParser parser)(Code)
Set the data parser used to map String values to and from the values stored by this Column.
Parameters:
  parser - the DataParser to use



setReadOnly
public void setReadOnly(boolean readOnly)(Code)
Sets if the values in this column are read-only
Parameters:
  readOnly - true to ensure the values can not be edited, false otherwise



setString
public void setString(String val, int row) throws DataTypeException(Code)
Set the data value at the specified row as a String
Parameters:
  val - the value to set
Parameters:
  row - the row at which to set the value
throws:
  DataTypeException - if this column does not support the String type



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