oak.util
Class FontTypefaceSpan

java.lang.Object
  extended by android.text.style.CharacterStyle
      extended by android.text.style.MetricAffectingSpan
          extended by oak.util.FontTypefaceSpan
All Implemented Interfaces:
android.text.style.UpdateAppearance, android.text.style.UpdateLayout

public class FontTypefaceSpan
extends android.text.style.MetricAffectingSpan

User: ericrichardson Date: 5/6/13 Time: 2:10 PM


Constructor Summary
FontTypefaceSpan(android.content.Context context, String typefaceName)
           
 
Method Summary
 void updateDrawState(android.text.TextPaint tp)
           
 void updateMeasureState(android.text.TextPaint p)
           
 
Methods inherited from class android.text.style.MetricAffectingSpan
getUnderlying
 
Methods inherited from class android.text.style.CharacterStyle
wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontTypefaceSpan

public FontTypefaceSpan(android.content.Context context,
                        String typefaceName)
Method Detail

updateMeasureState

public void updateMeasureState(android.text.TextPaint p)
Specified by:
updateMeasureState in class android.text.style.MetricAffectingSpan

updateDrawState

public void updateDrawState(android.text.TextPaint tp)
Specified by:
updateDrawState in class android.text.style.CharacterStyle


Copyright © 2011-2014. All Rights Reserved.