public class LabelButtonView
extends AppCompatButton
| Constructor and Description |
|---|
LabelButtonView(android.content.Context context) |
LabelButtonView(android.content.Context context,
android.util.AttributeSet attrs) |
LabelButtonView(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 |
isLabelVisual() |
protected void |
onDraw(android.graphics.Canvas canvas) |
void |
setLabelBackgroundColor(int backgroundColor) |
void |
setLabelDistance(int distance) |
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) |
void |
setLabelVisual(boolean enable) |
public LabelButtonView(android.content.Context context)
public LabelButtonView(android.content.Context context,
android.util.AttributeSet attrs)
public LabelButtonView(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 isLabelVisual()
public void setLabelVisual(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)