public interface DrawableRecipientChip
Modifier and Type | Method and Description |
---|---|
void |
draw(Canvas canvas)
Draw the chip.
|
Rect |
getBounds()
Get the bounds of the chip; may be 0,0 if it is not visibly rendered.
|
long |
getContactId()
Get the id of the contact associated with this chip.
|
long |
getDataId()
Get the id of the data associated with this chip.
|
Long |
getDirectoryId()
Get the directory id of the contact associated with this chip.
|
CharSequence |
getDisplay()
Get the text displayed in the chip.
|
RecipientEntry |
getEntry()
Get associated RecipientEntry.
|
String |
getLookupKey()
Get the directory lookup key associated with this chip, or
null . |
CharSequence |
getOriginalText()
Set the text in the edittextview originally associated with this chip
before any reverse lookups.
|
CharSequence |
getValue()
Get the text value this chip represents.
|
boolean |
isSelected()
Return true if the chip is selected.
|
void |
setOriginalText(String text)
Set the text in the edittextview originally associated with this chip
before any reverse lookups.
|
void |
setSelected(boolean selected)
Set the selected state of the chip.
|
Rect getBounds()
void draw(Canvas canvas)
void setSelected(boolean selected)
boolean isSelected()
CharSequence getDisplay()
CharSequence getValue()
long getContactId()
Long getDirectoryId()
String getLookupKey()
null
.long getDataId()
RecipientEntry getEntry()
void setOriginalText(String text)
CharSequence getOriginalText()