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