public class FlatFileSet extends DataSet implements FlatFileSetStorage
Constructor and Description |
---|
FlatFileSet(FlatFileDOM[] similartextfiles) |
Modifier and Type | Method and Description |
---|---|
void |
addAllFlatFiles(java.util.Collection s)
Appends all of the FlatFileStorage nicknames in the specified
collection to the end of this list, in the order that they are
returned by the specified collection's iterator (optional operation).
|
void |
addAllFlatFiles(int index,
java.util.Collection s)
Inserts all of the elements in the specified collection into this list
at the specified position (optional operation).
|
void |
addColumn(int row) |
void |
addColumn(int col,
java.lang.String name,
java.lang.Class c)
Insert a column at the given location.
|
void |
addColumn(java.lang.String name,
java.lang.Class c)
Adds a column but only symbolically by adding a header and type for the column.
|
void |
addFlatFile(FlatFileDOM dom) |
void |
addFlatFile(int row,
FlatFileDOM dom) |
void |
addFlatFile(int index,
java.lang.String nickname)
Inserts the specified FlatFileStorage nickname to the end of this list.
|
void |
addFlatFile(java.lang.String nickname)
Appends the specified FlatFileStorage nickname to the end of this list.
|
void |
addRepositoryListener(RepositoryListener l) |
void |
addRow(int row)
Add a row to the table at given row position.
|
void |
addRow(java.lang.Object[] row) |
void |
addRow(java.util.Vector row) |
void |
afterCopyStorage() |
void |
afterTransferStorage() |
void |
beforeCopyStorage() |
void |
beforeTransferStorage() |
void |
clear() |
void |
clearFlatFiles() |
boolean |
containsAllFlatFiles(java.util.Collection nicknames) |
boolean |
containsFlatFile(java.lang.String nickname) |
void |
copyStorage(RepositoryStorage that) |
void |
copyStorageCommands(RepositoryStorage that) |
int |
fileSetSize() |
int |
getColumnCount()
The assumption is that the column count is the same for all.
|
java.lang.String |
getComment()
Gets the descriptive comment for this Wedge inverse problem as a whole.
|
java.lang.String |
getCreatedBy() |
java.lang.String |
getCreatedOn() |
java.lang.Class |
getDefaultGraphicalEditorClass() |
java.lang.Class |
getDOMStorageClass() |
java.lang.String |
getEnabled()
Gets the state of the (possibly remote) storage.
|
FlatFileDOM |
getFlatFileDOM(int row) |
java.util.Vector |
getFlatFileNames() |
java.lang.String |
getNickname()
Gets the project name for this Wedge inverse problem.
|
int |
getRowCount() |
java.lang.String |
getSortProtocol() |
java.lang.Class |
getStorageTransferAgentClass() |
java.lang.Object |
getValueAt(int row,
int col) |
int |
indexOfFlatFile(java.lang.String nickname) |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
A FlatFileSet is not typically editable since, other than buffering, we don't store any values locally.
|
void |
removeAllFlatFiles(java.util.Collection nicknames) |
void |
removeFlatFile(int index) |
void |
removeFlatFile(java.lang.String nickname) |
void |
removeRepositoryListener(RepositoryListener l) |
FlatFileDOM |
seek(int seekrow)
Returns the FlatFileDOM containing the given row.
|
void |
setComment(java.lang.String cmt) |
void |
setCreatedBy(java.lang.String proto) |
void |
setCreatedOn(java.lang.String proto) |
void |
setEnabled(java.lang.String proto)
Sets the enabled state of the (possibly remote) storage instance.
|
void |
setNickname(java.lang.String proto)
Sets the project name for this Wedge inverse problem.
|
void |
setSortProtocol(java.lang.String proto) |
void |
transferStorage(RepositoryStorage that) |
void |
transferStorageCommands(RepositoryStorage that) |
protected void |
updateMap() |
about, abs, acos, add, addRows, asin, atan, atan2, atan2, atan2, cbrt, ceil, classMatrix, classMatrix, cos, cosh, divide, exp, expm1, floor, fromDblMatrix, fromDblMatrix, getColumnClass, getColumnForName, getColumnName, getHeaders, getName, getTitle, getVariable, hypot, hypot, hypot, IEEEremainder, IEEEremainder, IEEEremainder, log, log10, log1p, max, max, max, min, min, min, multiply, pow, pow, pow, pow, pow, pow, pow, rand, removeColumn, removeRow, rint, round, setAboutString, setColumnName, setName, setTitle, setValueAt, show, show, signum, sin, sinh, sqrt, subtract, tan, tanh, toDegrees, toRadians, ulp, updateFromDblMatrix, updateFromDblMatrix, vars, where, where
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public FlatFileSet(FlatFileDOM[] similartextfiles)
public java.lang.Class getDefaultGraphicalEditorClass()
getDefaultGraphicalEditorClass
in interface RepositoryStorage
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class DataSet
public void addFlatFile(int row, FlatFileDOM dom)
public void addFlatFile(FlatFileDOM dom)
public void addFlatFile(int index, java.lang.String nickname)
FlatFileSetStorage
addFlatFile
in interface FlatFileSetStorage
public void addFlatFile(java.lang.String nickname)
addFlatFile
in interface FlatFileSetStorage
public void addAllFlatFiles(int index, java.util.Collection s)
addAllFlatFiles
in interface FlatFileSetStorage
public void addAllFlatFiles(java.util.Collection s)
addAllFlatFiles
in interface FlatFileSetStorage
public void clearFlatFiles()
clearFlatFiles
in interface FlatFileSetStorage
public boolean containsFlatFile(java.lang.String nickname)
containsFlatFile
in interface FlatFileSetStorage
public int fileSetSize()
fileSetSize
in interface FlatFileSetStorage
public boolean containsAllFlatFiles(java.util.Collection nicknames)
containsAllFlatFiles
in interface FlatFileSetStorage
public void removeFlatFile(int index)
removeFlatFile
in interface FlatFileSetStorage
public void removeFlatFile(java.lang.String nickname)
removeFlatFile
in interface FlatFileSetStorage
public void removeAllFlatFiles(java.util.Collection nicknames)
removeAllFlatFiles
in interface FlatFileSetStorage
public int indexOfFlatFile(java.lang.String nickname)
indexOfFlatFile
in interface FlatFileSetStorage
public FlatFileDOM getFlatFileDOM(int row)
public void clear()
public java.util.Vector getFlatFileNames()
getFlatFileNames
in interface FlatFileSetStorage
public java.lang.Class getDOMStorageClass()
getDOMStorageClass
in interface DOMStorable
public void beforeTransferStorage()
beforeTransferStorage
in interface RepositoryStorageTransfer
public void afterTransferStorage()
afterTransferStorage
in interface RepositoryStorageTransfer
public void beforeCopyStorage()
beforeCopyStorage
in interface RepositoryStorageTransfer
public void afterCopyStorage()
afterCopyStorage
in interface RepositoryStorageTransfer
public void copyStorageCommands(RepositoryStorage that)
copyStorageCommands
in interface RepositoryStorageTransfer
public void transferStorageCommands(RepositoryStorage that)
transferStorageCommands
in interface RepositoryStorageTransfer
public void transferStorage(RepositoryStorage that)
transferStorage
in interface RepositoryStorageTransfer
public void copyStorage(RepositoryStorage that)
copyStorage
in interface RepositoryStorageTransfer
public java.lang.Class getStorageTransferAgentClass()
public void setComment(java.lang.String cmt)
setComment
in interface RepositoryStorage
public java.lang.String getComment()
RepositoryStorage
getComment
in interface RepositoryStorage
protected void updateMap()
public void setSortProtocol(java.lang.String proto)
setSortProtocol
in interface FlatFileSetStorage
public java.lang.String getSortProtocol()
getSortProtocol
in interface FlatFileSetStorage
public void setCreatedOn(java.lang.String proto)
setCreatedOn
in interface RepositoryStorage
public java.lang.String getCreatedOn()
getCreatedOn
in interface RepositoryStorage
public void setCreatedBy(java.lang.String proto)
setCreatedBy
in interface RepositoryStorage
public java.lang.String getCreatedBy()
getCreatedBy
in interface RepositoryStorage
public void setNickname(java.lang.String proto)
RepositoryStorage
setNickname
in interface RepositoryStorage
public java.lang.String getNickname()
RepositoryStorage
getNickname
in interface RepositoryStorage
public void setEnabled(java.lang.String proto)
RepositoryStorage
setEnabled
in interface RepositoryStorage
public java.lang.String getEnabled()
RepositoryStorage
getEnabled
in interface RepositoryStorage
public void addRepositoryListener(RepositoryListener l)
addRepositoryListener
in interface RepositoryStorage
public void removeRepositoryListener(RepositoryListener l)
removeRepositoryListener
in interface RepositoryStorage
public void addColumn(java.lang.String name, java.lang.Class c)
public FlatFileDOM seek(int seekrow)
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
getColumnCount
in class DataSet
public java.lang.Object getValueAt(int row, int col)
getValueAt
in interface javax.swing.table.TableModel
getValueAt
in class DataSet
public void addRow(int row)
DataSet
public void addRow(java.lang.Object[] row)
public void addRow(java.util.Vector row)
public void addColumn(int row)
public void addColumn(int col, java.lang.String name, java.lang.Class c)
DataSet
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
getRowCount
in class DataSet
Copyright © 2011, 2013. Daniel P. Dougherty