|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdanger.text.span.ColorSpan.Standard
danger.text.span.MutableColorSpan
danger.text.span.SelectionSpan
public class SelectionSpan
This class represents the text that has been selected
(by shift-arrow movement) within the buffer.
The reason it is its own class instead of being just another
MutableColorSpan is so ParagraphSpan.Set can make it draw
in the margins when it crosses lines and so QuoteHackSpan
can make it not draw when mirroring greater-than signs from
one line to another.
The reason it is mutable is so its color can change when you
change the color of the EditText.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface danger.text.span.CharacterSpan |
|---|
CharacterSpan.Series, CharacterSpan.Set |
| Nested classes/interfaces inherited from interface danger.text.span.ColorSpan |
|---|
ColorSpan.Standard |
| Field Summary | |
|---|---|
static Class |
SELECTION_SPAN_TYPE
|
| Fields inherited from interface danger.text.span.MarginHighlightSpan |
|---|
MARGIN_HIGHLIGHT_SPAN_TYPE |
| Fields inherited from interface danger.text.span.CharacterSpan |
|---|
CHARACTER_SPAN_TYPE |
| Constructor Summary | |
|---|---|
SelectionSpan()
|
|
| Method Summary |
|---|
| Methods inherited from class danger.text.span.MutableColorSpan |
|---|
clone, setBackground, setForeground, setHasBackground, setHasForeground |
| Methods inherited from class danger.text.span.ColorSpan.Standard |
|---|
getBackground, getForeground, hasBackground, hasForeground |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Class SELECTION_SPAN_TYPE
| Constructor Detail |
|---|
public SelectionSpan()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||