danger.text.span
Interface AnchorSpan

All Known Implementing Classes:
AnchorSpan.Standard


public interface AnchorSpan

Implementations of AnchorSpan provide named anchors within the text. Generally you will want to make this a 0-length span with type Spannable.SPAN_POINTLIKE. It only generally makes sense to include AnchorSpans in buffers of type Anchored.


Nested Class Summary
static class AnchorSpan.Standard
          Standard implementation of AnchorSpan, which provides a named anchor within the text.
 
Method Summary
 String getAnchor()
          Return the name of the anchor corresponding to this span's position.
 

Method Detail

getAnchor

String getAnchor()
Return the name of the anchor corresponding to this span's position.