public static RowObject createRowObject(TableModel model, int row) {
		RowObject rowObject = new RowObject();
		int columns = model.getColumnCount();
		for (int i = 0; i < columns; i++) {
			rowObject.addElement(model.getValueAt(row, i));
		}
		return rowObject;
	}
Factory method to create and initialize a row object.

@param model the model required to gather data for the row object.
@param row the row for which to create a row object	
@return the row object
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/RowObject.java