Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/eireneh/bible/view/swing/beans/event/VersionEvent.java


1   package com.eireneh.bible.view.swing.beans.event;
2   
3   import java.util.*;
4   
5   import com.eireneh.bible.book.Bible;
6   
7   /**
8    * A VersionEvent happens whenever a user changes version.
9    *
10   * <table border='1' cellPadding='3' cellSpacing='0' width="100%">
11   * <tr><td bgColor='white'class='TableRowColor'><font size='-7'>
12   * Distribution Licence:<br />
13   * Project B is free software; you can redistribute it
14   * and/or modify it under the terms of the GNU General Public License,
15   * version 2 as published by the Free Software Foundation.<br />
16   * This program is distributed in the hope that it will be useful,
17   * but WITHOUT ANY WARRANTY; without even the implied warranty of
18   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19   * General Public License for more details.<br />
20   * The License is available on the internet
21   * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, by writing to
22   * <i>Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
23   * MA 02111-1307, USA</i>, Or locally at the Licence link below.<br />
24   * The copyright to this program is held by it's authors.
25   * </font></td></tr></table>
26   * @see <a href='http://www.eireneh.com/servlets/Web'>Project B Home</a>
27   * @see docs.Licence
28   * @see Bible
29   * @see ProgressListener
30   * @author Joe Walker
31   * @version $Id:$
32   */
33  public class VersionEvent extends EventObject
34  {
35      /**
36       * A new version is required
37       */
38      public VersionEvent(Object source, Bible bible)
39      {
40          super(source);
41  
42          this.bible = bible;
43      }
44  
45      /**
46       * Accessor fot the chosen Bible
47       */
48      public Bible getBible()
49      {
50          return bible;
51      }
52  
53      /** The version name */
54      private Bible bible;
55  }