public final class TextStylesHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BREAK_STRATEGY |
static int |
DEFAULT_EMS |
static int |
DEFAULT_HYPHENATION_FREQUENCY |
static int |
DEFAULT_JUSTIFICATION_MODE |
static int |
DEFAULT_MAX_WIDTH |
static int |
DEFAULT_MIN_WIDTH |
static TextAlignment |
textAlignmentDefault |
Constructor and Description |
---|
TextStylesHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
onLoadStyle(ComponentContext c,
Output<TruncateAt> ellipsize,
Output<java.lang.Float> extraSpacing,
Output<java.lang.Boolean> shouldIncludeFontPadding,
Output<java.lang.Float> spacingMultiplier,
Output<java.lang.Integer> minLines,
Output<java.lang.Integer> maxLines,
Output<java.lang.Integer> minEms,
Output<java.lang.Integer> maxEms,
Output<java.lang.Integer> minTextWidth,
Output<java.lang.Integer> maxTextWidth,
Output<java.lang.Boolean> isSingleLine,
Output<java.lang.CharSequence> text,
Output<ColorStateList> textColorStateList,
Output<java.lang.Integer> linkColor,
Output<java.lang.Integer> highlightColor,
Output<java.lang.Integer> textSize,
Output<TextAlignment> textAlignment,
Output<java.lang.Integer> breakStrategy,
Output<java.lang.Integer> hyphenationFrequency,
Output<java.lang.Integer> justificationMode,
Output<java.lang.Integer> textStyle,
Output<java.lang.Float> shadowRadius,
Output<java.lang.Float> shadowDx,
Output<java.lang.Float> shadowDy,
Output<java.lang.Integer> shadowColor,
Output<VerticalGravity> verticalGravity,
Output<Typeface> typeface) |
public static final int DEFAULT_EMS
public static final int DEFAULT_MIN_WIDTH
public static final int DEFAULT_MAX_WIDTH
public static final int DEFAULT_BREAK_STRATEGY
public static final int DEFAULT_HYPHENATION_FREQUENCY
public static final int DEFAULT_JUSTIFICATION_MODE
public static final TextAlignment textAlignmentDefault
public static void onLoadStyle(ComponentContext c, Output<TruncateAt> ellipsize, Output<java.lang.Float> extraSpacing, Output<java.lang.Boolean> shouldIncludeFontPadding, Output<java.lang.Float> spacingMultiplier, Output<java.lang.Integer> minLines, Output<java.lang.Integer> maxLines, Output<java.lang.Integer> minEms, Output<java.lang.Integer> maxEms, Output<java.lang.Integer> minTextWidth, Output<java.lang.Integer> maxTextWidth, Output<java.lang.Boolean> isSingleLine, Output<java.lang.CharSequence> text, Output<ColorStateList> textColorStateList, Output<java.lang.Integer> linkColor, Output<java.lang.Integer> highlightColor, Output<java.lang.Integer> textSize, Output<TextAlignment> textAlignment, Output<java.lang.Integer> breakStrategy, Output<java.lang.Integer> hyphenationFrequency, Output<java.lang.Integer> justificationMode, Output<java.lang.Integer> textStyle, Output<java.lang.Float> shadowRadius, Output<java.lang.Float> shadowDx, Output<java.lang.Float> shadowDy, Output<java.lang.Integer> shadowColor, Output<VerticalGravity> verticalGravity, Output<Typeface> typeface)