public class PatternMatchEvent extends EventObject
TextConsole.
Clients may instantiate this class; not intended to be subclassed.
IPatternMatchListener,
TextConsole,
Serialized Formsource| Constructor and Description |
|---|
PatternMatchEvent(TextConsole console,
int matchOffset,
int matchLength)
Constructs a new pattern match event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
Returns the length of the matched string.
|
int |
getOffset()
Returns the offset of the match within the document.
|
getSource, toStringpublic PatternMatchEvent(TextConsole console, int matchOffset, int matchLength)
console - the console in which the match was foundmatchOffset - the offset at which the match was foundmatchLength - the length of the text that matchedGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.