|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.jface.text.source.LineRange
Default implementation of ILineRange.
| Constructor Summary | |
|---|---|
LineRange(int startLine,
int numberOfLines)
Creates a new line range with the given specification. |
|
| Method Summary | |
|---|---|
int |
getNumberOfLines()
Returns the number of lines of this line range or -1. |
int |
getStartLine()
Returns the start line of this line range or -1. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LineRange(int startLine,
int numberOfLines)
startLine - the start linenumberOfLines - the number of lines| Method Detail |
public int getStartLine()
ILineRange-1.
getStartLine in interface ILineRange-1 if this line range is invalid.public int getNumberOfLines()
ILineRange-1.
getNumberOfLines in interface ILineRange-1 if this line range is invalid.
|
Eclipse Platform Release 3.3 |
|||||||||||
| 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, 2007. All rights reserved.