weka.gui.scripting.event
Class TitleUpdatedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by weka.gui.scripting.event.TitleUpdatedEvent
All Implemented Interfaces:
java.io.Serializable

public class TitleUpdatedEvent
extends java.util.EventObject

Event that gets send in case a scripting panel updates the title.

Version:
$Revision: 5142 $
Author:
fracpete (fracpete at waikato dot ac dot nz)
See Also:
Serialized Form

Constructor Summary
TitleUpdatedEvent(ScriptingPanel source)
          Initializes the event.
 
Method Summary
 ScriptingPanel getPanel()
          Returns the scripting panel that triggered the event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TitleUpdatedEvent

public TitleUpdatedEvent(ScriptingPanel source)
Initializes the event.

Parameters:
source - the scripting panel that triggered the event
Method Detail

getPanel

public ScriptingPanel getPanel()
Returns the scripting panel that triggered the event. Use the getTitle() method for accessing the new title.

Returns:
the panel