com.alkacon.geranium.client.util
public class StyleVariable extends java.lang.Object
Every time a new value is set, the previous value of the style variable will be removed from all associated UI objects, and the new style name will be added.
| Constructor and Description |
|---|
StyleVariable(com.google.gwt.user.client.ui.UIObject... uis)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue()
Returns the current style value.
|
void |
setValue(java.lang.String newStyle)
Removes the previous value of the style variable from all associated ui objects
and adds the new value as a style name to all of them.
|
public StyleVariable(com.google.gwt.user.client.ui.UIObject... uis)
uis - the list of UI objects to associate with this style variablepublic java.lang.String getValue()
null if non is setpublic void setValue(java.lang.String newStyle)
newStyle - the new style name