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

org.jclarion.clarion.swing.gui.AbstractWidget Maven / Gradle / Ivy

The newest version!
package org.jclarion.clarion.swing.gui;

import java.util.Map;

public abstract class AbstractWidget implements RemoteWidget
{
	@Override
	public void disposeWidget() {
		id=0;
	}

	@Override
	public void addWidget(RemoteWidget child) {
	}

	
	@Override
	public Map getChangedMetaData() {
		return null;
	}

	@Override
	public Iterable getChildWidgets() {
		return null;
	}

	private int id;
	
	@Override
	public int getID() {
		return id;
	}

	@Override
	public RemoteWidget getParentWidget() {
		return null;
	}

	@Override
	public boolean isModalCommand(int command) {
		return false;
	}

    @Override
    public boolean isGuiCommand(int command)
    {
    	return true;
    }        
	
	@Override
	public void setID(int id) {
		this.id=id;
	}

	@Override
	public void setMetaData(Map data) {
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy