public class LabelTextView
extends AppCompatTextView
| Constructor and Description |
|---|
LabelTextView(android.content.Context context) |
LabelTextView(android.content.Context context,
android.util.AttributeSet attrs) |
LabelTextView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLabelBackgroundColor() |
int |
getLabelDistance() |
int |
getLabelHeight() |
int |
getLabelOrientation() |
java.lang.String |
getLabelText() |
int |
getLabelTextColor() |
java.lang.String |
getLabelTextFont() |
int |
getLabelTextSize() |
int |
getLabelTextStyle() |
boolean |
isLabelEnable() |
protected void |
onDraw(android.graphics.Canvas canvas) |
void |
setLabelBackgroundColor(int backgroundColor) |
void |
setLabelDistance(int distance) |
void |
setLabelEnable(boolean enable) |
void |
setLabelHeight(int height) |
void |
setLabelOrientation(int orientation) |
void |
setLabelText(java.lang.String text) |
void |
setLabelTextColor(int textColor) |
void |
setLabelTextFont(java.lang.String textFont) |
void |
setLabelTextSize(int textSize) |
void |
setLabelTextStyle(int textStyle) |
public LabelTextView(android.content.Context context)
public LabelTextView(android.content.Context context,
android.util.AttributeSet attrs)
public LabelTextView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
protected void onDraw(android.graphics.Canvas canvas)
public void setLabelHeight(int height)
public int getLabelHeight()
public void setLabelDistance(int distance)
public int getLabelDistance()
public boolean isLabelEnable()
public void setLabelEnable(boolean enable)
public int getLabelOrientation()
public void setLabelOrientation(int orientation)
public int getLabelTextColor()
public void setLabelTextColor(int textColor)
public int getLabelBackgroundColor()
public void setLabelBackgroundColor(int backgroundColor)
public java.lang.String getLabelText()
public void setLabelText(java.lang.String text)
public int getLabelTextSize()
public void setLabelTextSize(int textSize)
public int getLabelTextStyle()
public void setLabelTextStyle(int textStyle)
public java.lang.String getLabelTextFont()
public void setLabelTextFont(java.lang.String textFont)