|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.text.Region
public class Region
The default implementation of the IRegion interface.
| Constructor Summary | |
|---|---|
Region(int offset,
int length)
Create a new region. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
int |
getLength()
Returns the length of the region. |
int |
getOffset()
Returns the offset of the region. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Region(int offset,
int length)
offset - the offset of the regionlength - the length of the region| Method Detail |
|---|
public int getLength()
IRegion
getLength in interface IRegionpublic int getOffset()
IRegion
getOffset in interface IRegionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.