01: /*
02: *
03: * JMoney - A Personal Finance Manager
04: * Copyright (c) 2002 Johann Gyger <johann.gyger@switzerland.org>
05: * Copyright (c) 2004 Nigel Westbury <westbury@users.sourceforge.net>
06: *
07: *
08: * This program is free software; you can redistribute it and/or modify
09: * it under the terms of the GNU General Public License as published by
10: * the Free Software Foundation; either version 2 of the License, or
11: * (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., 675 Mass Ave, Cambridge, MA 02139, USA.
21: *
22: */
23:
24: package net.sf.jmoney.serializeddatastore;
25:
26: /**
27: *
28: * @author Nigel
29: */
30: public interface SerializerConstants {
31: /**
32: * Corresponding int for CANCEL.
33: */
34: public static final int CANCEL = 0;
35:
36: /**
37: * Corresponding int for OK.
38: */
39: public static final int OK = 1;
40: /*
41: public static final ImageIcon NEW_ICON =
42: new ImageIcon(SerializerConstants.class.getResource("New16.gif"));
43:
44: public static final ImageIcon OPEN_ICON =
45: new ImageIcon(SerializerConstants.class.getResource("Open16.gif"));
46:
47: public static final ImageIcon SAVE_ICON =
48: new ImageIcon(SerializerConstants.class.getResource("Save16.gif"));
49:
50: public static final ImageIcon SAVE_AS_ICON =
51: new ImageIcon(SerializerConstants.class.getResource("SaveAs16.gif"));
52: */
53:
54: /**
55: * The language resource bundle.
56: */
57: /*
58: public static ResourceBundle LANGUAGE =
59: ResourceBundle.getBundle("net.sf.jmoney.serializeddatastore.Language");
60: */
61: /**
62: * Filename extension
63: */
64: public static final String FILE_EXTENSION = ".jmx";
65:
66: /**
67: * File filter name
68: */
69: public static final String FILE_FILTER_NAME = "JMoney Files (*.jmx)";
70: }
|