C# 클래스 com.joanzapata.iconify.Iconify

파일 보기 프로젝트 열기: PragmaticIT/xiconify 1 사용 예제들

공개 메소드들

메소드 설명
addIcons ( ) : void

Replace "{}" tags in the given text views with actual icons, requesting the IconFontDescriptors one after the others.

This is a one time call. If you call TextView#setText(CharSequence) after this, you'll need to call it again.

compute ( android.content.Context context, CharSequence text ) : CharSequence
compute ( android.content.Context context, CharSequence text, android.widget.TextView target ) : CharSequence
findTypefaceOf ( Icon icon ) : [email protected]

Finds the Typeface to apply for a given icon.

with ( IconFontDescriptor iconFontDescriptor ) : IconifyInitializer

Add support for a new icon font.

비공개 메소드들

메소드 설명
addIconFontDescriptor ( IconFontDescriptor iconFontDescriptor ) : void
findIconForKey ( string iconKey ) : Icon

Retrieve an icon from a key,

메소드 상세

addIcons() 공개 정적인 메소드

Replace "{}" tags in the given text views with actual icons, requesting the IconFontDescriptors one after the others.

This is a one time call. If you call TextView#setText(CharSequence) after this, you'll need to call it again.

public static addIcons ( ) : void
리턴 void

compute() 공개 정적인 메소드

public static compute ( android.content.Context context, CharSequence text ) : CharSequence
context android.content.Context
text CharSequence
리턴 CharSequence

compute() 공개 정적인 메소드

public static compute ( android.content.Context context, CharSequence text, android.widget.TextView target ) : CharSequence
context android.content.Context
text CharSequence
target android.widget.TextView
리턴 CharSequence

findTypefaceOf() 공개 정적인 메소드

Finds the Typeface to apply for a given icon.
public static findTypefaceOf ( Icon icon ) : [email protected]
icon Icon The icon for which you need the typeface.
리턴 [email protected]

with() 공개 정적인 메소드

Add support for a new icon font.
public static with ( IconFontDescriptor iconFontDescriptor ) : IconifyInitializer
iconFontDescriptor IconFontDescriptor The IconDescriptor holding the ttf file reference and its mappings.
리턴 IconifyInitializer