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

de.mhus.lib.vaadin.aqua.ActionButton Maven / Gradle / Ivy

There is a newer version: 3.2.8
Show newest version
package de.mhus.lib.vaadin.aqua;

import de.mhus.lib.core.directory.ResourceNode;
import de.mhus.lib.vaadin.CardButton;
import de.mhus.lib.vaadin.layouter.XLayElement;

@SuppressWarnings("unchecked")
public abstract class ActionButton extends CardButton implements XLayElement, DesktopInject {

//	@Override
//	public void setConfig(IConfig config) {
//		
//	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	protected Desktop desktop;
	protected WorkingArea workArea;

	public ActionButton() {
		setWidth("20px");
		setHeight("20px");
		setBackgroundColor("#333");
		setForegroundColor("#fff");
	}
	
	@Override
	public void doAppendChild(XLayElement child, ResourceNode cChild) {
		
	}

	public void setWorkingArea(WorkingArea workArea) {
		this.workArea = workArea;
	}
	
	@Override
	public void setDesktop(Desktop desktop) {
		this.desktop = desktop;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy