source: trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient/ResultModel.java@ 2195

Last change on this file since 2195 was 2159, checked in by say1, 23 years ago

many changes to the import lines ...

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1/*
2 * ResultModel.java
3 * Copyright (C) 2001 New Zealand Digital Library Project
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19package org.nzdl.gsdl.SimpleGraphicalClient;
20
21import javax.swing.event.*;
22import javax.swing.DefaultListModel;
23
24/**
25 * Class ResultModel
26 *
27 * A class to
28 *
29 * @author Dave Nichols ([email protected])
30 * @author stuart yeates ([email protected])
31 * @version $Revision: 2159 $
32 * @see org.nzdl.gsdl.service.SimpleGraphicalClient.SimpleGraphicalClient
33 */
34
35class ResultModel extends DefaultListModel
36{
37 public ResultModel()
38 {
39 super();
40
41 }
42
43 public void add(Result result)
44 {
45 //System.err.println("adding to ResultModel: " + result.toString()+ " previous size = " + size());
46 addElement(result);
47 }
48
49
50
51}
Note: See TracBrowser for help on using the repository browser.