Logo
Distributed Genetic Programming Framework
print print

File org.sfc.config.LanguageEvent.java

Here you can find all the information about the file org.sfc.config.LanguageEvent.java. You may explore it here or download it onto your local disk.
/*
 * Copyright (c) 2005 Thomas Weise
 * 
 * E-Mail           : tweise@gmx.de
 * Creation Date    : 2005-12-14 07:18:46
 * Original Filename: org.sfc.config.LanguageEvent.java
 * Version          : 1.0.1
 * Last modification: 2006-03-07
 *                by: Thomas Weise
 * 
 * License          : GNU LESSER GENERAL PUBLIC LICENSE
 *                    Version 2.1, February 1999
 *                    You should have received a copy of this license along
 *                    with this library; if not, write to the Free Software
 *                    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *                    MA 02111-1307, USA or download the license under
 *                    http://www.gnu.org/copyleft/lesser.html.
 *                    
 * Warranty         : This software is provided "as is" without any
 *                    warranty; without even the implied warranty of
 *                    merchantability or fitness for a particular purpose.
 *                    See the Gnu Lesser General Public License for more
 *                    details.
 */

 
package org.sfc.config;

import org.sfc.events.SfcEvent;

/**
 * This event is created whenever the language changes.
 *
 * @author Thomas Weise
 */

public class LanguageEvent extends SfcEvent
  {
/**
 * The serial version uid.
 */

  private static final long serialVersionUID = 1;
/**
 * The old language.
 */

  private final Language  m_old ;
/**
 * The new language.
 */

  private final Language  m_new ;
  
/**
 * Create a new language event.
 * @param p_old   The old language.
 * @param p_new   The new language.
 */

  LanguageEvent (final Language p_old,
                 final Language p_new)
    {
    super(Language.class);
    this.m_old = p_old;
    this.m_new = p_new;
    }
  
/**
 * Returns the old language.
 * @return  The language that was set until now, but now no longer is valid.
 */

  public  final Language  get_old ()
    {
    return this.m_old;
    }
  
/**
 * Returns the new language.
 * @return  The new current language.
 */

  public  final Language  get_new ()
    {
    return this.m_new;
    }
  }

File Information:

file name:LanguageEvent.java
package:org.sfc.config
qualified name:org.sfc.config.LanguageEvent.java
file type:Java Source File
download location:download http://dgpf.sourceforge.net/source/org/sfc/config/LanguageEvent.java
size:2.147 KB (2199 B)
uploaded: 2018-01-07 12:03:36 GMT+0000
last update: 2006-03-07 04:20:35 GMT+0000
last access: 2018-04-24 03:06:13 GMT+0000

statistics online since 2006-01-02.   RSS Feed
Contact us by sending an email to tweise@gmx.de to receive further information, to report errors, or to join our project.
All content on this site (http://dgpf.sourceforge.net/) is LGPL-licensed.
http://dgpf.sourceforge.net/scripts/source/source.php last modified at 2018-01-07 12:03:34 GMT+0000 served at 2018-04-24 03:06:13 GMT+0000.
Valid CSS Valid XHTML 1.1
Valid RSS SourceForge.net Logo