public class MarkerReferenceField extends MarkerReference implements Field
MarkerReference.MarkerSearchDirection, MarkerReference.MarkerSearchScope| Constructor and Description |
|---|
MarkerReferenceField(String markerName,
MarkerReference.MarkerSearchDirection dir,
MarkerReference.MarkerSearchScope scope)
Creates a new instance with the specified parameters
|
MarkerReferenceField(String markerName,
MarkerReference.MarkerSearchDirection dir,
MarkerReference.MarkerSearchScope scope,
String textStyle)
Creates a new instance with the specified parameters
|
MarkerReferenceField(String markerName,
MarkerReference.MarkerSearchDirection dir,
MarkerReference.MarkerSearchScope scope,
String textStyle,
int offset)
Creates a new instance with the specified parameters
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTextStyle()
The text style of the field, or null if no special style is used.
|
equals, getName, getOffset, getSearchDirection, getSearchScope, hashCodepublic MarkerReferenceField(String markerName, MarkerReference.MarkerSearchDirection dir, MarkerReference.MarkerSearchScope scope)
markerName - the name of the markerdir - the directionscope - the scopepublic MarkerReferenceField(String markerName, MarkerReference.MarkerSearchDirection dir, MarkerReference.MarkerSearchScope scope, String textStyle)
markerName - the name of the markerdir - the directionscope - the scopetextStyle - a text style namepublic MarkerReferenceField(String markerName, MarkerReference.MarkerSearchDirection dir, MarkerReference.MarkerSearchScope scope, 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 String getTextStyle()
FieldgetTextStyle in interface Field