Build 1.0_r1(from source)

android.text.style
Class BulletSpan

java.lang.Object
  extended by android.text.style.BulletSpan
All Implemented Interfaces:
LeadingMarginSpan, ParagraphStyle

public class BulletSpan
extends Object
implements LeadingMarginSpan


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.text.style.LeadingMarginSpan
LeadingMarginSpan.Standard
 
Field Summary
static int STANDARD_GAP_WIDTH
           
 
Constructor Summary
BulletSpan()
           
BulletSpan(int gapWidth)
           
BulletSpan(int gapWidth, int color)
           
 
Method Summary
 void drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout l)
           
 int getLeadingMargin(boolean first)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STANDARD_GAP_WIDTH

public static final int STANDARD_GAP_WIDTH
See Also:
Constant Field Values
Constructor Detail

BulletSpan

public BulletSpan()

BulletSpan

public BulletSpan(int gapWidth)

BulletSpan

public BulletSpan(int gapWidth,
                  int color)
Method Detail

getLeadingMargin

public int getLeadingMargin(boolean first)
Specified by:
getLeadingMargin in interface LeadingMarginSpan

drawLeadingMargin

public void drawLeadingMargin(Canvas c,
                              Paint p,
                              int x,
                              int dir,
                              int top,
                              int baseline,
                              int bottom,
                              CharSequence text,
                              int start,
                              int end,
                              boolean first,
                              Layout l)
Specified by:
drawLeadingMargin in interface LeadingMarginSpan

Build 1.0_r1(from source)

Please submit a feedback, bug or feature