Modifier and Type | Method and Description |
---|---|
Color |
HasColors.getBackgroundColor() |
Color |
MaterialWidget.getBackgroundColor() |
Color |
AbstractIconButton.getIconColor() |
Color |
HasIcon.getIconColor()
Get the color of the icon
|
Color |
HasColors.getTextColor() |
Color |
MaterialWidget.getTextColor() |
Modifier and Type | Method and Description |
---|---|
void |
HasColors.setBackgroundColor(Color bgColor)
Sets the background color of material components, for example:
|
void |
MaterialWidget.setBackgroundColor(Color bgColor) |
void |
AbstractIconButton.setIconColor(Color iconColor) |
void |
HasIcon.setIconColor(Color iconColor)
Sets the color of the icon.
|
void |
HasLetter.setLetterBackgroundColor(Color letterBackgroundColor)
Set the letter background color.
|
void |
HasLetter.setLetterColor(Color letterColor)
Set the letter color.
|
void |
HasColors.setTextColor(Color textColor)
Set the text color of material components, for example:
|
void |
MaterialWidget.setTextColor(Color textColor) |
Constructor and Description |
---|
AbstractButton(ButtonType type,
String text,
Color bgColor) |
AbstractButton(ButtonType type,
String text,
Color bgColor,
WavesType waves) |
AbstractButton(String text,
Color bgColor,
WavesType waves) |
Modifier and Type | Method and Description |
---|---|
static String |
ColorHelper.setupComputedBackgroundColor(Color color) |
Modifier and Type | Method and Description |
---|---|
Color |
ColorsMixin.getBackgroundColor() |
Color |
ColorsMixin.getTextColor() |
Modifier and Type | Method and Description |
---|---|
void |
ColorsMixin.setBackgroundColor(Color bgColor) |
void |
LetterMixin.setLetterBackgroundColor(Color letterBackgroundColor) |
void |
LetterMixin.setLetterColor(Color letterColor) |
void |
ColorsMixin.setTextColor(Color textColor) |
Modifier and Type | Method and Description |
---|---|
static Color |
Color.fromStyleName(String styleName) |
static Color |
Color.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Color[] |
Color.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Color |
MaterialProgress.getColor()
Get the progress bar color.
|
Color |
MaterialChip.getIconColor() |
Color |
MaterialHelpBlock.getIconColor() |
Color |
MaterialIcon.getIconColor() |
Color |
MaterialDatePicker.getIconColor() |
Color |
MaterialCardTitle.getIconColor() |
Color |
MaterialValueBox.getIconColor() |
Modifier and Type | Method and Description |
---|---|
void |
MaterialProgress.setColor(Color color)
Set the color of the progress bar.
|
void |
MaterialChip.setIconColor(Color iconColor) |
void |
MaterialHelpBlock.setIconColor(Color iconColor) |
void |
MaterialIcon.setIconColor(Color iconColor) |
void |
MaterialDatePicker.setIconColor(Color iconColor) |
void |
MaterialCardTitle.setIconColor(Color iconColor) |
void |
MaterialValueBox.setIconColor(Color iconColor) |
void |
MaterialTab.setIndicatorColor(Color indicatorColor) |
void |
MaterialChip.setLetterBackgroundColor(Color letterBackgroundColor) |
void |
MaterialChip.setLetterColor(Color letterColor) |
Constructor and Description |
---|
MaterialBadge(String text,
Color textColor,
Color bgColor)
Badge with text and color
|
MaterialButton(String text,
IconType icon,
ButtonType type,
Color bgColor,
Color textColor) |
MaterialChip(String text,
Color bgColor,
Color textColor) |
MaterialIcon(IconType iconType,
Color bgColor)
Sets an icon with backgroundColor.
|
MaterialIcon(IconType iconType,
Color textColor,
Color bgColor)
Sets an icon with textColor and backgroundColor.
|
MaterialLabel(String text,
Color textColor) |
MaterialNavBrand(String text,
Color textColor) |
MaterialSearch(String placeholder,
Color backgroundColor,
Color iconColor,
boolean active,
int shadow) |
Copyright © 2018. All rights reserved.