fable.gui.event
Class ExportEvent

java.lang.Object
  extended by java.util.EventObject
      extended by fable.adt.FableEvent
          extended by fable.gui.event.ExportEvent
All Implemented Interfaces:
java.io.Serializable

public class ExportEvent
extends FableEvent

This object represents the event fired when the user exports to PDF

Author:
Christopher Moh
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ExportEvent(java.lang.Object source, java.lang.String fileName)
          Construct a new ExportEvent with provided source and fileName.
 
Method Summary
 java.lang.String getFileName()
          Returns the fileName of the exported file.
 
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

ExportEvent

public ExportEvent(java.lang.Object source,
                   java.lang.String fileName)
Construct a new ExportEvent with provided source and fileName.

Parameters:
source - source of the event.
fileName - file name of PDF.
Effects:
create a new ExportEvent object.
Method Detail

getFileName

public java.lang.String getFileName()
Returns the fileName of the exported file.

Returns:
the name of the exported File.