Skip navigation links
A B C D G H I L O S T U W 

A

addCustomStyle(Class<? extends TextView>, int) - Method in class uk.co.chrisjenx.calligraphy.CalligraphyConfig.Builder
Add a custom style to get looked up.
addCustomViewWithSetTypeface(Class<?>) - Method in class uk.co.chrisjenx.calligraphy.CalligraphyConfig.Builder
Register custom non-TextView's which implement setTypeface so they can have the Typeface applied during inflation.
ANDROID_ATTR_TEXT_APPEARANCE - Static variable in class uk.co.chrisjenx.calligraphy.CalligraphyUtils
 
applyFontToTextView(TextView, Typeface) - Static method in class uk.co.chrisjenx.calligraphy.CalligraphyUtils
Applies a Typeface to a TextView.
applyFontToTextView(TextView, Typeface, boolean) - Static method in class uk.co.chrisjenx.calligraphy.CalligraphyUtils
Applies a Typeface to a TextView, if deferred,its recommend you don't call this multiple times, as this adds a TextWatcher.
applyFontToTextView(Context, TextView, String) - Static method in class uk.co.chrisjenx.calligraphy.CalligraphyUtils
Useful for manually fonts to a TextView.
applyFontToTextView(Context, TextView, CalligraphyConfig, String) - Static method in class uk.co.chrisjenx.calligraphy.CalligraphyUtils
Applies font to TextView.
applyTypefaceSpan(CharSequence, Typeface) - Static method in class uk.co.chrisjenx.calligraphy.CalligraphyUtils
Applies a custom typeface span to the text.

B

build() - Method in class uk.co.chrisjenx.calligraphy.CalligraphyConfig.Builder
 
Builder() - Constructor for class uk.co.chrisjenx.calligraphy.CalligraphyConfig.Builder
 

C

CalligraphyConfig - Class in uk.co.chrisjenx.calligraphy
Created by chris on 20/12/2013 Project: Calligraphy
CalligraphyConfig(CalligraphyConfig.Builder) - Constructor for class uk.co.chrisjenx.calligraphy.CalligraphyConfig
 
CalligraphyConfig.Builder - Class in uk.co.chrisjenx.calligraphy
 
CalligraphyContextWrapper - Class in uk.co.chrisjenx.calligraphy
Created by chris on 19/12/2013 Project: Calligraphy
CalligraphyContextWrapper(Context, int) - Constructor for class uk.co.chrisjenx.calligraphy.CalligraphyContextWrapper
CalligraphyTypefaceSpan - Class in uk.co.chrisjenx.calligraphy
 
CalligraphyTypefaceSpan(Typeface) - Constructor for class uk.co.chrisjenx.calligraphy.CalligraphyTypefaceSpan
 
CalligraphyUtils - Class in uk.co.chrisjenx.calligraphy
Created by chris on 20/12/2013 Project: Calligraphy

D

disableCustomViewInflation() - Method in class uk.co.chrisjenx.calligraphy.CalligraphyConfig.Builder
Due to the poor inflation order where custom views are created and never returned inside an onCreateView(...) method.
disablePrivateFactoryInjection() - Method in class uk.co.chrisjenx.calligraphy.CalligraphyConfig.Builder
Turn of the use of Reflection to inject the private factory.

G

get() - Static method in class uk.co.chrisjenx.calligraphy.CalligraphyConfig
The current Calligraphy Config.
getAttrId() - Method in class uk.co.chrisjenx.calligraphy.CalligraphyConfig
 
getFontPath() - Method in class uk.co.chrisjenx.calligraphy.CalligraphyConfig
 
getSpan(Typeface) - Static method in class uk.co.chrisjenx.calligraphy.TypefaceUtils
A helper loading custom spans so we don't have to keep creating hundreds of spans.
getSystemService(String) - Method in class uk.co.chrisjenx.calligraphy.CalligraphyContextWrapper
 

H

HasTypeface - Interface in uk.co.chrisjenx.calligraphy
There are two ways to set typeface for custom views: Implementing this interface.

I

initDefault(CalligraphyConfig) - Static method in class uk.co.chrisjenx.calligraphy.CalligraphyConfig
Set the default Calligraphy Config
INVALID_ATTR_ID - Static variable in class uk.co.chrisjenx.calligraphy.CalligraphyConfig.Builder
Default AttrID if not set.
isCustomViewCreation() - Method in class uk.co.chrisjenx.calligraphy.CalligraphyConfig
 
isCustomViewHasTypeface(View) - Method in class uk.co.chrisjenx.calligraphy.CalligraphyConfig
 
isCustomViewTypefaceSupport() - Method in class uk.co.chrisjenx.calligraphy.CalligraphyConfig
 
isLoaded(Typeface) - Static method in class uk.co.chrisjenx.calligraphy.TypefaceUtils
Is the passed in typeface one of ours?
isReflection() - Method in class uk.co.chrisjenx.calligraphy.CalligraphyConfig
 

L

load(AssetManager, String) - Static method in class uk.co.chrisjenx.calligraphy.TypefaceUtils
A helper loading a custom font.

O

onActivityCreateView(Activity, View, View, String, Context, AttributeSet) - Static method in class uk.co.chrisjenx.calligraphy.CalligraphyContextWrapper
You only need to call this IF you call CalligraphyConfig.Builder.disablePrivateFactoryInjection() This will need to be called from the Activity.onCreateView(android.view.View, String, android.content.Context, android.util.AttributeSet) method to enable view font injection if the view is created inside the activity onCreateView.

S

setDefaultFontPath(String) - Method in class uk.co.chrisjenx.calligraphy.CalligraphyConfig.Builder
Set the default font if you don't define one else where in your styles.
setFontAttrId(int) - Method in class uk.co.chrisjenx.calligraphy.CalligraphyConfig.Builder
This defaults to R.attr.fontPath.
setTypeface(Typeface) - Method in interface uk.co.chrisjenx.calligraphy.HasTypeface
 

T

TypefaceUtils - Class in uk.co.chrisjenx.calligraphy
A helper loading Typeface avoiding the leak of the font when loaded by multiple calls to Typeface.createFromAsset(android.content.res.AssetManager, String) on pre-ICS versions.

U

uk.co.chrisjenx.calligraphy - package uk.co.chrisjenx.calligraphy
 
updateDrawState(TextPaint) - Method in class uk.co.chrisjenx.calligraphy.CalligraphyTypefaceSpan
 
updateMeasureState(TextPaint) - Method in class uk.co.chrisjenx.calligraphy.CalligraphyTypefaceSpan
 

W

wrap(Context) - Static method in class uk.co.chrisjenx.calligraphy.CalligraphyContextWrapper
Uses the default configuration from CalligraphyConfig Remember if you are defining default in the CalligraphyConfig make sure this is initialised before the activity is created.
A B C D G H I L O S T U W 
Skip navigation links