org.jtheque.core.managers.lifecycle.listeners
Class FunctionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.jtheque.core.managers.lifecycle.listeners.FunctionEvent
All Implemented Interfaces:
java.io.Serializable

public final class FunctionEvent
extends java.util.EventObject

An event which indicates a change of the current function of JTheque.

Author:
Baptiste Wicht
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FunctionEvent(java.lang.Object source, java.lang.String function)
          Construct a new function event.
 
Method Summary
 java.lang.String getFunction()
          Return the new function.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FunctionEvent

public FunctionEvent(java.lang.Object source,
                     java.lang.String function)
Construct a new function event.

Parameters:
source - The source of the event.
function - The new function.
Method Detail

getFunction

public java.lang.String getFunction()
Return the new function.

Returns:
The new function.


Copyright © 2009 JTheque. All Rights Reserved.