FileDocCategorySizeDatePackage
InvisibleRecipientChip.javaAPI DocAndroid 5.1 API2941Thu Mar 12 22:22:50 GMT 2015com.android.ex.chips.recipientchip

InvisibleRecipientChip

public class InvisibleRecipientChip extends android.text.style.ReplacementSpan implements DrawableRecipientChip
RecipientChip defines a span that contains information relevant to a particular recipient.

Fields Summary
private final SimpleRecipientChip
mDelegate
Constructors Summary
public InvisibleRecipientChip(com.android.ex.chips.RecipientEntry entry)

        super();

        mDelegate = new SimpleRecipientChip(entry);
    
Methods Summary
public voiddraw(android.graphics.Canvas canvas, java.lang.CharSequence text, int start, int end, float x, int top, int y, int bottom, android.graphics.Paint paint)

        // Do nothing.
    
public voiddraw(android.graphics.Canvas canvas)

        // do nothing.
    
public android.graphics.RectgetBounds()

        return new Rect(0, 0, 0, 0);
    
public longgetContactId()

        return mDelegate.getContactId();
    
public longgetDataId()

        return mDelegate.getDataId();
    
public java.lang.LonggetDirectoryId()

        return mDelegate.getDirectoryId();
    
public java.lang.CharSequencegetDisplay()

        return mDelegate.getDisplay();
    
public com.android.ex.chips.RecipientEntrygetEntry()

        return mDelegate.getEntry();
    
public java.lang.StringgetLookupKey()

        return mDelegate.getLookupKey();
    
public java.lang.CharSequencegetOriginalText()

        return mDelegate.getOriginalText();
    
public intgetSize(android.graphics.Paint paint, java.lang.CharSequence text, int start, int end, Paint.FontMetricsInt fm)

        return 0;
    
public java.lang.CharSequencegetValue()

        return mDelegate.getValue();
    
public booleanisSelected()

        return mDelegate.isSelected();
    
public voidsetOriginalText(java.lang.String text)

        mDelegate.setOriginalText(text);
    
public voidsetSelected(boolean selected)

        mDelegate.setSelected(selected);