|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.gwtbootstrap.client.ui.base.StyleHelper
public class StyleHelper
The Helper class for HasStyle interface.
HasStyle,
Style| Constructor Summary | |
|---|---|
StyleHelper()
|
|
| Method Summary | ||
|---|---|---|
static
|
addStyle(T widget,
Style style)
Adds the provided style to the widget. |
|
static
|
changeStyle(UIObject widget,
S style,
Class<S> styleEnums)
Change the style. |
|
static
|
changeStyle(UIObject widget,
S style,
S[] otherStyles)
Change the style. |
|
static
|
removeStyle(T widget,
Style style)
Removes the provided style from the widget. |
|
static
|
setStyle(T widget,
Style style)
Replaces the widget's style with the provided one. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StyleHelper()
| Method Detail |
|---|
public static <T extends UIObject> void addStyle(T widget,
Style style)
widget - the widget to be added style.style - the style to be added to the Widget.
public static <T extends UIObject> void setStyle(T widget,
Style style)
widget - the widget to be applied style.style - the style to be applied to the Widget.
public static <T extends UIObject> void removeStyle(T widget,
Style style)
widget - the widget to be removed style.style - the style to be removed from the Widget.
public static <S extends Enum<S> & Style> void changeStyle(UIObject widget,
S style,
Class<S> styleEnums)
widget - the widget to be changed style.style - the style to be applied to the widget.styleEnums - other styles.
public static <S extends Style> void changeStyle(UIObject widget,
S style,
S[] otherStyles)
widget - the widget to be changed style.style - the style to be applied to the widget.otherStyles - other styles.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||