Android
android.text.style
public class

android.text.style.BulletSpan

java.lang.Object
android.text.style.BulletSpan LeadingMarginSpan

Summary

Constants

      Value  
int  STANDARD_GAP_WIDTH    0x00000002 

Public Constructors

            BulletSpan()
            BulletSpan(int gapWidth)
            BulletSpan(int gapWidth, int color)

Public Methods

          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
Methods inherited from interface android.text.style.LeadingMarginSpan

Details

Constants

public static final int STANDARD_GAP_WIDTH

Constant Value: 2 (0x00000002)

Public Constructors

public BulletSpan()

public BulletSpan(int gapWidth)

public BulletSpan(int gapWidth, int color)

Public Methods

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)

public int getLeadingMargin(boolean first)

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56