public class Styles extends Object
Modifier and Type | Method and Description |
---|---|
static void |
applyStyle(Styleable styleable,
Style oldStyle,
Style newStyle) |
static void |
ensureNoneStyle(Styleable styleable,
boolean inited) |
static Color |
getBackground(Styleable styleable,
boolean inited) |
static Font |
getFont(Styleable styleable,
boolean inited) |
static Color |
getForeground(Styleable styleable,
boolean inited) |
static String |
getNoneStyleName(Locale locale) |
static String |
getParentStyleName(Locale locale) |
static boolean |
isOpaque(Styleable styleable,
boolean inited) |
static Style |
mutateStyle(Styleable styleable,
Style style) |
static void |
setBackground(Styleable styleable,
Color background,
boolean inited) |
static void |
setFont(Styleable styleable,
Font font,
boolean inited) |
static void |
setForeground(Styleable styleable,
Color foreground,
boolean inited) |
static void |
setOpaque(Styleable styleable,
boolean isOpaque,
boolean inited) |
public static void ensureNoneStyle(Styleable styleable, boolean inited)
public static void setBackground(Styleable styleable, Color background, boolean inited)
public static void setForeground(Styleable styleable, Color foreground, boolean inited)
public static void setOpaque(Styleable styleable, boolean isOpaque, boolean inited)
public static boolean isOpaque(Styleable styleable, boolean inited)
Copyright © 2002–2016 SoftSmithy. All rights reserved.