| Modifier and Type | Class and Description |
|---|---|
static class |
MarkerReferenceField.MarkerSearchDirection
Defines marker search directions.
|
static class |
MarkerReferenceField.MarkerSearchScope
Defines marker search scopes.
|
| Constructor and Description |
|---|
MarkerReferenceField(java.lang.String markerName,
MarkerReferenceField.MarkerSearchDirection dir,
MarkerReferenceField.MarkerSearchScope scope)
Creates a new instance with the specified parameters
|
MarkerReferenceField(java.lang.String markerName,
MarkerReferenceField.MarkerSearchDirection dir,
MarkerReferenceField.MarkerSearchScope scope,
java.lang.String textStyle)
Creates a new instance with the specified parameters
|
MarkerReferenceField(java.lang.String markerName,
MarkerReferenceField.MarkerSearchDirection dir,
MarkerReferenceField.MarkerSearchScope scope,
java.lang.String textStyle,
int offset)
Creates a new instance with the specified parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Gets the name of this marker reference field
|
int |
getOffset()
Gets the page offset where to start the search
|
MarkerReferenceField.MarkerSearchDirection |
getSearchDirection()
Gets the direction of the search
|
MarkerReferenceField.MarkerSearchScope |
getSearchScope()
Gets the scope of the search
|
java.lang.String |
getTextStyle()
The text style of the field, or null if no special style is used.
|
public MarkerReferenceField(java.lang.String markerName,
MarkerReferenceField.MarkerSearchDirection dir,
MarkerReferenceField.MarkerSearchScope scope)
markerName - the name of the markerdir - the directionscope - the scopepublic MarkerReferenceField(java.lang.String markerName,
MarkerReferenceField.MarkerSearchDirection dir,
MarkerReferenceField.MarkerSearchScope scope,
java.lang.String textStyle)
markerName - the name of the markerdir - the directionscope - the scopetextStyle - a text style namepublic MarkerReferenceField(java.lang.String markerName,
MarkerReferenceField.MarkerSearchDirection dir,
MarkerReferenceField.MarkerSearchScope scope,
java.lang.String textStyle,
int offset)
markerName - the name of the markerdir - the directionscope - the scopetextStyle - a text style nameoffset - offsets the search by the specified amount, in pagespublic java.lang.String getName()
public MarkerReferenceField.MarkerSearchDirection getSearchDirection()
public MarkerReferenceField.MarkerSearchScope getSearchScope()
public java.lang.String getTextStyle()
FieldgetTextStyle in interface Fieldpublic int getOffset()