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

com.massisframework.gui.DrawableLayer Maven / Gradle / Ivy

The newest version!
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.massisframework.gui;

import java.awt.Graphics2D;

/**
 * Represents a layer in the GUI.
 * 
 * @author Rafael Pax
 */
public abstract class DrawableLayer {

	private boolean enabled;
	
	public DrawableLayer(boolean enabled) {
		this.enabled = enabled;
	}
	public abstract void draw(DW drawableZone, Graphics2D g);

	public boolean isEnabled() {
		return this.enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	public abstract String getName();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy