de.tubs.macs.control
Interface MacsSessionController

All Known Implementing Classes:
Visco

public interface MacsSessionController


Method Summary
 void exit()
          method to exit and shutdown the controller This method MUST always be called bei MacsControl! NEVER ever call this method in the controller
 java.awt.Dimension getMinimumSize()
          returns the minimum size needed for the controller component
 java.awt.Dimension getPreferredSize()
          returns the preferred size needed for the controller component
 int getVersionMajor()
          method to return the major version of the controller, e.g.
 int getVersionMinor()
          method to return the minor version of the controller, e.g.
 java.lang.String getVersionName()
          method to return the version name of the controller We'll see later, what we need here...
 void init(Session session, javax.swing.JComponent display, javax.swing.JPanel floorPanel, java.lang.Object user_data)
          method to initialize the controller
 void processSessionEvent(SessionEvent event)
          this is informative (asynchrone)
 Status processSessionRequest(SessionRequest request)
          this is interactive (synchrone)
 void start()
          method to start the controller
 void stop()
          method to stop the controller
 

Method Detail

init

public void init(Session session,
                 javax.swing.JComponent display,
                 javax.swing.JPanel floorPanel,
                 java.lang.Object user_data)
method to initialize the controller
Parameters:
session - The session the controller is startet in
display - A JComponent where the controller may put it's control elements, this panel

exit

public void exit()
method to exit and shutdown the controller This method MUST always be called bei MacsControl! NEVER ever call this method in the controller

start

public void start()
method to start the controller

stop

public void stop()
method to stop the controller

processSessionEvent

public void processSessionEvent(SessionEvent event)
this is informative (asynchrone)

processSessionRequest

public Status processSessionRequest(SessionRequest request)
this is interactive (synchrone)

getMinimumSize

public java.awt.Dimension getMinimumSize()
returns the minimum size needed for the controller component

getPreferredSize

public java.awt.Dimension getPreferredSize()
returns the preferred size needed for the controller component

getVersionMajor

public int getVersionMajor()
method to return the major version of the controller, e.g. X for Version X.Y

getVersionMinor

public int getVersionMinor()
method to return the minor version of the controller, e.g. Y for Version X.Y

getVersionName

public java.lang.String getVersionName()
method to return the version name of the controller We'll see later, what we need here...