org.netbeans.modules.parsing.spi
Class SourceModificationEvent
java.lang.Object
java.util.EventObject
org.netbeans.modules.parsing.spi.SourceModificationEvent
- All Implemented Interfaces:
- Serializable
public class SourceModificationEvent
- extends EventObject
- See Also:
- Serialized Form
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 occurredsourceChanged - true if the change caused a modification of the text being parsed.- Since:
- 1.36
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