|
Eclipse Platform Release 3.4 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.jface.text.Region
org.eclipse.jface.text.TypedRegion
Default implementation of ITypedRegion. A
TypedRegion is a value object.
| Constructor Summary | |
TypedRegion(int offset,
int length,
String type)
Creates a typed region based on the given specification. |
|
| Method Summary | |
boolean |
equals(Object o)
|
String |
getType()
Returns the content type of the region. |
int |
hashCode()
|
| Methods inherited from class org.eclipse.jface.text.Region |
getLength, getOffset, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, 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 Regionpublic int hashCode()
hashCode in class Region
|
Eclipse Platform Release 3.4 |
||||||||||
| 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, 2008. All rights reserved.