|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.text.Layout.Ellipsizer
static class Layout.Ellipsizer
| Field Summary | |
|---|---|
(package private) Layout |
mLayout
|
(package private) TextUtils.TruncateAt |
mMethod
|
(package private) CharSequence |
mText
|
(package private) int |
mWidth
|
| Constructor Summary | |
|---|---|
Layout.Ellipsizer(CharSequence s)
|
|
| Method Summary | |
|---|---|
char |
charAt(int off)
Returns the character at the specified index, with the first character having index zero. |
void |
getChars(int start,
int end,
char[] dest,
int destoff)
Exactly like String.getChars(): copy chars start
through end - 1 from this CharSequence into dest
beginning at offset destoff. |
int |
length()
Returns the number of characters in the sequence. |
CharSequence |
subSequence(int start,
int end)
Returns a CharSequence from the start index (inclusive) to
the end index (exclusive) of this sequence. |
String |
toString()
Returns a string containing a concise, human-readable description of the receiver. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
CharSequence mText
Layout mLayout
int mWidth
TextUtils.TruncateAt mMethod
| Constructor Detail |
|---|
public Layout.Ellipsizer(CharSequence s)
| Method Detail |
|---|
public char charAt(int off)
CharSequence
charAt in interface CharSequenceoff - The index of the character to return
public void getChars(int start,
int end,
char[] dest,
int destoff)
GetCharsstart
through end - 1 from this CharSequence into dest
beginning at offset destoff.
getChars in interface GetCharspublic int length()
CharSequence
length in interface CharSequence
public CharSequence subSequence(int start,
int end)
CharSequencestart index (inclusive) to
the end index (exclusive) of this sequence.
subSequence in interface CharSequencestart - The starting offset of the sub-sequence, that is, the
index of the first character that goes into the sub-sequenceend - The ending offset of the sub-sequence, that is, the
index of the first character after those that go into the
sub-sequence
public String toString()
Object
toString in interface CharSequencetoString in class Object
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||