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

com.darwinsys.swingui.framework.Model Maven / Gradle / Ivy

package com.darwinsys.swingui.framework;

import java.awt.Graphics;

/**
 * name and purpose.
 */
public interface Model {
	
	// FILE MENU STUFF 
	
	public void openFile(String string);
	
	public void newFile(String fileName);

	public void saveFile();
	
	public void saveFile(Object object);

	public void closeFile();

	public void doPrint(Graphics g);

	/**
	 * @return The current filename.
	 */
	public String getFileName();

	// EDIT MENU STUFF

	public void clearSelection();
	
	public void copySelection();

	public void pasteSelection();
	
	public void undo();
	
	public void redo();

	// MISCELLANY
	
	/**
	 * @param i The exit status
	 */
	public void exit(int i);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy