org.fife.ui.search
Class FindInFilesEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.fife.ui.search.FindInFilesEvent
All Implemented Interfaces:
java.io.Serializable

public class FindInFilesEvent
extends java.util.EventObject

Event fired by FindInFileDialogs when the user clicks on a match.

Version:
0.5
Author:
Robert Futrell
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FindInFilesEvent(java.lang.Object source, java.lang.String fileName, int line)
          Constructor.
 
Method Summary
 java.lang.String getFileName()
          Returns the name of the file for the match of this event.
 int getLine()
          Returns the line number for the match of this event.
 
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

FindInFilesEvent

public FindInFilesEvent(java.lang.Object source,
                        java.lang.String fileName,
                        int line)
Constructor.

Parameters:
source - The find-in-files dialog that fired this event.
fileName - The name of the file of the match they clicked.
line - The line number of the match they clicked.
Method Detail

getFileName

public java.lang.String getFileName()
Returns the name of the file for the match of this event.

Returns:
The file name.

getLine

public int getLine()
Returns the line number for the match of this event.

Returns:
The line number.