1 /*$Id: ColumnFunction.java,v 1.2 2004/12/07 16:50:33 jdt Exp $
2 * Created on 07-Dec-2004
3 *
4 * Copyright (C) AstroGrid. All rights reserved.
5 *
6 * This software is published under the terms of the AstroGrid
7 * Software License version 1.2, a copy of which has been included
8 * with this distribution in the LICENSE.txt file.
9 *
10 **/
11 package org.astrogrid.scripting.table;
12
13 /*** interface to something that can define a column cell.
14 * @author Noel Winstanley nw@jb.man.ac.uk 07-Dec-2004
15 *
16 */
17 public interface ColumnFunction {
18 /*** compute a value for this cell.
19 * @param row the other cell values in this row
20 * @return value for this cell
21 * @throws Exception if unable to compute.
22 */
23 public Object computeValue(Object[] row) throws Exception;
24
25 }
26
27
28 /*
29 $Log: ColumnFunction.java,v $
30 Revision 1.2 2004/12/07 16:50:33 jdt
31 merges from scripting-nww-805
32
33 Revision 1.1.2.1 2004/12/07 14:47:58 nw
34 got table manipulation working.
35
36 */