01: /*
02: * Created on May 1, 2004
03: *
04: * This file is part of Thingamablog. ( http://thingamablog.sf.net )
05: *
06: * Copyright (c) 2004, Bob Tantlinger All Rights Reserved.
07: *
08: * This program is free software; you can redistribute it and/or
09: * modify it under the terms of the GNU General Public License
10: * as published by the Free Software Foundation; either version 2
11: * of the License, or (at your option) any later version.
12: *
13: * This program is distributed in the hope that it will be useful,
14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16: * GNU General Public License for more details.
17: *
18: * You should have received a copy of the GNU General Public License
19: * along with this program; if not, write to the Free Software
20: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
21: * USA.
22: */
23: package net.sf.thingamablog.gui;
24:
25: import javax.swing.ImageIcon;
26: import javax.swing.event.ChangeListener;
27:
28: /**
29: * @author Bob Tantlinger
30: *
31: */
32: public interface ViewerPaneModel {
33: public void setModelData(Object o);
34:
35: public String getText();
36:
37: public ImageIcon getIcon();
38:
39: public int getHeaderCount();
40:
41: public String getHeaderTitle(int row);
42:
43: public String getHeaderDescription(int row);
44:
45: public void addChangeListener(ChangeListener l);
46:
47: public void removeChangeListener(ChangeListener l);
48:
49: }
|