|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.eclipse.jface.text.Region
|
+--org.eclipse.jface.text.TypedRegion
Default implementation of ITypedRegion.
| Constructor Summary | |
TypedRegion(int offset,
int length,
String type)
Creates a typed region based on the given specification. |
|
| Method Summary | |
boolean |
equals(Object o)
Two typed positions are equal if they have the same offset, length, and type. |
String |
getType()
Returns the content type of the region. |
int |
hashCode()
|
| Methods inherited from class org.eclipse.jface.text.Region |
getLength, getOffset |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.text.IRegion |
getLength, getOffset |
| Constructor Detail |
public TypedRegion(int offset,
int length,
String type)
offset - the region's offsetlength - the region's lengthtype - the region's type| Method Detail |
public String getType()
ITypedRegion
getType in interface ITypedRegionpublic boolean equals(Object o)
equals in class RegionObject.equals(java.lang.Object)public int hashCode()
hashCode in class Region
|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||