public class MarkerReference extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MarkerReference.MarkerSearchDirection
Defines marker search directions.
|
static class |
MarkerReference.MarkerSearchScope
Defines marker search scopes.
|
| Constructor and Description |
|---|
MarkerReference(String markerName,
MarkerReference.MarkerSearchDirection dir,
MarkerReference.MarkerSearchScope scope,
int offset)
Creates a new instance with the specified parameters
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName()
Gets the name of this marker reference
|
int |
getOffset()
Gets the page offset where to start the search
|
MarkerReference.MarkerSearchDirection |
getSearchDirection()
Gets the direction of the search
|
MarkerReference.MarkerSearchScope |
getSearchScope()
Gets the scope of the search
|
int |
hashCode() |
public MarkerReference(String markerName, MarkerReference.MarkerSearchDirection dir, MarkerReference.MarkerSearchScope scope, int offset)
markerName - the name of the markerdir - the directionscope - the scopeoffset - offsets the search by the specified amount, in pagespublic String getName()
public MarkerReference.MarkerSearchDirection getSearchDirection()
public MarkerReference.MarkerSearchScope getSearchScope()
public int getOffset()