//-----------------------------------------------------------------------------
//
// $Id: SimulatorLayoutPanel.java 8 2006-02-01 16:58:12Z jnross $
// $HeadURL: svn+ssh://wopr.csl.mtu.edu/major/jnross/svn_repos/cs4760/TdaSimulator/src/SimulatorLayoutPanel.java $
//
//-----------------------------------------------------------------------------

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

public abstract class SimulatorLayoutPanel extends JPanel {

	//--------------------------------------
	// First, use the constructor to setup the Simulator and buttons
	//--------------------------------------
	
	//-----------------------------------------------------
	// Impelement setupDisplay to position the touch-screen.  When setting up,
	// check:
    //		if (app.isWide())
	//			appPanel.setSize(320,240);
	//		else   
	//			appPanel.setSize(240,320)
	//-----------------------------------------------------
	public abstract void setupDisplay(JPanel appPanel, TdaApp app);
	
	//----------------------------------------------------
	// Implement setupButtonListeners to have your class call 
	// app.button<One|Two|Three|Four><Down|Up>(MouseEvent or KeyEvent)
	// when the buttons on your interface are activated.
	//
	// Usually this is acheived by storing app as a member variable, and 
	// then using that reference in your key and mouse event handlers.
	//----------------------------------------------------------
	public abstract void setupButtonListeners(TdaApp app);
	
	
}
