|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.eclipse.ui.console.PatternMatchEvent
An event describing a pattern match in a text console. The source of the event
is a TextConsole
.
Clients may instantiate this class; not intended to be subclassed.
IPatternMatchListener
,
TextConsole
,
Serialized FormField Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
PatternMatchEvent(TextConsole console,
int matchOffset,
int matchLength)
Constructs a new pattern match event. |
Method Summary | |
---|---|
int |
getLength()
Returns the length of the matched string. |
int |
getOffset()
Returns the offset of the match within the document. |
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 |
public 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 matchedMethod Detail |
public int getLength()
public int getOffset()
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.