org.netbeans.modules.parsing.api/1 1.55.0 6

org.netbeans.modules.parsing.spi
Class SourceModificationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.netbeans.modules.parsing.spi.SourceModificationEvent
All Implemented Interfaces:
Serializable

public class SourceModificationEvent
extends EventObject

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
protected SourceModificationEvent(Object source)
          Deprecated. use SourceModificationEvent(java.lang.Object, boolean)
protected SourceModificationEvent(Object source, boolean sourceChanged)
          Creates a new SourceModificationEvent
 
Method Summary
 Source getModifiedSource()
           
 boolean sourceChanged()
          Returns true when the change causing this event affected the source.
 String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SourceModificationEvent

@Deprecated
protected SourceModificationEvent(Object source)
Deprecated. use SourceModificationEvent(java.lang.Object, boolean)

Creates a new SourceModificationEvent

Parameters:
source - the Source in which the event occurred

SourceModificationEvent

protected SourceModificationEvent(Object source,
                                  boolean sourceChanged)
Creates a new SourceModificationEvent

Parameters:
source - the Source in which the event occurred
sourceChanged - true if the change caused a modification of the text being parsed.
Since:
1.36
Method Detail

getModifiedSource

public Source getModifiedSource()

sourceChanged

public boolean sourceChanged()
Returns true when the change causing this event affected the source.

Returns:
true if the source was changed
Since:
1.36

toString

public String toString()
Overrides:
toString in class EventObject

org.netbeans.modules.parsing.api/1 1.55.0 6

Built on May 24 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.