com.dragome.forms.bindings.client.style.VisualComponentUIObjectWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dragome-form-bindings Show documentation
Show all versions of dragome-form-bindings Show documentation
Dragome SDK module: form bindings
package com.dragome.forms.bindings.client.style;
import com.dragome.guia.components.interfaces.VisualComponent;
import com.dragome.model.interfaces.UIObject;
public class VisualComponentUIObjectWrapper extends UIObject
{
private VisualComponent visualComponent;
public VisualComponentUIObjectWrapper(VisualComponent visualComponent)
{
this.visualComponent= visualComponent;
}
public void addStyleName(String name)
{
visualComponent.getStyle().addClass(name);
}
public void removeStyleName(String styleName)
{
visualComponent.getStyle().removeClass(styleName);
}
}