com.klg.jclass.table.data
Class JCEditableFileDataSource
java.lang.Object
|
+--com.klg.jclass.table.data.AbstractDataSource
|
+--com.klg.jclass.table.data.AbstractVectorDataSource
|
+--com.klg.jclass.table.data.JCVectorDataSource
|
+--com.klg.jclass.table.data.JCInputStreamDataSource
|
+--com.klg.jclass.table.data.JCFileDataSource
|
+--com.klg.jclass.table.data.JCEditableFileDataSource
- All Implemented Interfaces:
- EditableTableDataModel, JCTableDataModel, Serializable, TableDataModel
- public class JCEditableFileDataSource
- extends JCFileDataSource
- implements EditableTableDataModel
Editable version of FileDataSource
.
- See Also:
JCInputStreamDataSource
,
JCFileDataSource
,
Serialized Form
Methods inherited from class com.klg.jclass.table.data.JCVectorDataSource |
addColumn, addColumn, addRow, addRow, clearCells, deleteColumns, deleteColumns, deleteRows, deleteRows, getCells, getColumnLabels, getLabelValue, getNumColumns, getNumRows, getRowLabels, getTableColumnLabel, getTableDataItem, getTableRowLabel, isCell, isColumnLabel, isLabel, isRowLabel, isValidCell, isValidLabel, moveColumns, moveColumns, moveRows, moveRows, setCell, setCells, setCells, setColumnLabel, setColumnLabels, setColumnLabels, setDataChanged, setLabelValue, setNumColumns, setNumRows, setRowLabel, setRowLabels, setRowLabels |
Methods inherited from class com.klg.jclass.table.data.AbstractDataSource |
addTableDataListener, dispose, fireColumnChanged, fireColumnLabelChanged, fireColumnsAdded, fireColumnsDeleted, fireColumnsMoved, fireDataReset, fireNumColumnsChanged, fireNumRowsChanged, fireRowChanged, fireRowDeleted, fireRowLabelChanged, fireRowsAdded, fireRowsMoved, fireTableDataEvent, fireValueChanged, hasListeners, removeTableDataListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JCEditableFileDataSource
public JCEditableFileDataSource(String fname)
throws FileNotFoundException,
IOException
- Parameters:
fname
- the name of the file to be used
- Throws:
FileNotFoundException
- Thrown if the file isn't there
IOException
- Thrown if some other sort of i/o problem is
encountered.
JCEditableFileDataSource
public JCEditableFileDataSource(File f)
throws FileNotFoundException,
IOException
- Parameters:
f
- a File object representing the file to be opened
- Throws:
FileNotFoundException
- Thrown if the file isn't there
IOException
- Thrown if some other sort of i/o problem is
encountered.- See Also:
File
setTableDataItem
public boolean setTableDataItem(Object value,
int row,
int column)
- Sets the cell value.
- Specified by:
setTableDataItem
in interface EditableTableDataModel
- Parameters:
column
- row
- value
-
- Returns: