|
Eclipse Platform Release 3.2 |
|||||||||
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
public class TypedRegion
Default implementation of ITypedRegion
. A
TypedRegion
is a value object.
Constructor Summary | |
---|---|
TypedRegion(int offset,
int length,
java.lang.String type)
Creates a typed region based on the given specification. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.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, java.lang.String type)
offset
- the region's offsetlength
- the region's lengthtype
- the region's typeMethod Detail |
---|
public java.lang.String getType()
ITypedRegion
getType
in interface ITypedRegion
public boolean equals(java.lang.Object o)
equals
in class Region
public int hashCode()
hashCode
in class Region
|
Eclipse Platform Release 3.2 |
|||||||||
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, 2006. All rights reserved.