cmu.survey.editor.manipulators
Class StackTable
java.lang.Object
cmu.survey.editor.manipulators.StackTable
public class StackTable
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StackTable
public StackTable()
getDialogs
public Dialogs getDialogs()
reinitialize
public void reinitialize()
addPattern
public void addPattern(StackTable.StackPattern stackPattern)
getPatterns
public java.util.Vector<StackTable.StackPattern> getPatterns()
addColumnToJustCopy
public void addColumnToJustCopy(java.lang.String columnToCopy)
- Add a column to copy directly into every row -- do not stack this column, and do not ignore it.
- Parameters:
columnToCopy
-
addColumnToJustCopy
public void addColumnToJustCopy(java.lang.String oldName,
java.lang.String newName)
stackInNewTable
public java.lang.String stackInNewTable(TableStorage sqlStorage,
DataTableModel oldTable,
java.lang.String newTableName)
- Stack into a new table named newTableName.
- Parameters:
sqlStorage
- oldTable
- newTableName
-
- Returns:
stackIntoTable
public java.lang.String stackIntoTable(TableStorage sqlStorage,
DataTableModel oldTable,
DataTableModel newTable)
- Stack, appending to an existing table.
- Parameters:
sqlStorage
- oldTable
- newTable
-
- Returns:
main
public static final void main(java.lang.String[] args)