org.openide.compiler
Class CompilerEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.openide.compiler.CompilerEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ErrorEvent, ProgressEvent

public class CompilerEvent
extends EventObject

Event about a file being compiled.

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CompilerEvent(CompilerGroup source, FileObject file)
          Create an event.
 
Method Summary
 CompilerGroup getCompilerGroup()
          Get the source of the event.
 FileObject getFile()
          Get the file this event pertains to.
 
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

CompilerEvent

public CompilerEvent(CompilerGroup source,
                     FileObject file)
Create an event.
Parameters:
source - the compiler group that produced the event
file - the file being compiled
Method Detail

getCompilerGroup

public CompilerGroup getCompilerGroup()
Get the source of the event.
Returns:
the compiler group that produced the event

getFile

public FileObject getFile()
Get the file this event pertains to.
Returns:
the file under compilation


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.