public interface HasColors
Modifier and Type | Method and Description |
---|---|
Color |
getBackgroundColor() |
Color |
getTextColor() |
void |
setBackgroundColor(Color bgColor)
Sets the background color of material components, for example:
|
void |
setTextColor(Color textColor)
Set the text color of material components, for example:
|
void setBackgroundColor(Color bgColor)
panel.setBackgroundColor(BLUE);
Color getBackgroundColor()
void setTextColor(Color textColor)
panel.setTextColor(BLUE_DARKEN_2);
Color getTextColor()
Copyright © 2018. All rights reserved.