All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dragome.forms.bindings.client.style.VisualComponentUIObjectWrapper Maven / Gradle / Ivy

The newest version!
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);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy