public class StringHolder
extends java.lang.Object
| Constructor and Description |
|---|
StringHolder(java.lang.CharSequence text) |
StringHolder(int textRes) |
StringHolder(java.lang.String text) |
| Modifier and Type | Method and Description |
|---|---|
static void |
applyTo(StringHolder text,
android.widget.TextView textView) |
void |
applyTo(android.widget.TextView textView) |
static boolean |
applyToOrHide(StringHolder text,
android.widget.TextView textView) |
boolean |
applyToOrHide(android.widget.TextView textView) |
java.lang.CharSequence |
getText() |
java.lang.String |
getText(android.content.Context ctx) |
int |
getTextRes() |
void |
setText(java.lang.String mText) |
void |
setTextRes(int mTextRes) |
java.lang.String |
toString() |
public StringHolder(java.lang.CharSequence text)
public StringHolder(java.lang.String text)
public StringHolder(int textRes)
public java.lang.CharSequence getText()
public void setText(java.lang.String mText)
public int getTextRes()
public void setTextRes(int mTextRes)
public void applyTo(android.widget.TextView textView)
public boolean applyToOrHide(android.widget.TextView textView)
public java.lang.String getText(android.content.Context ctx)
public static void applyTo(StringHolder text, android.widget.TextView textView)
public static boolean applyToOrHide(StringHolder text, android.widget.TextView textView)
public java.lang.String toString()
toString in class java.lang.Object