apps.mathpadapp.controllerapp.assignmentbuilder
Class AssignmentBuilderListenerImpl

java.lang.Object
  extended by apps.mathpadapp.controllerapp.assignmentbuilder.AssignmentBuilderListenerImpl
All Implemented Interfaces:
AssignmentBuilder.AssignmentBuilderListener, MathTool.MathToolListener

public class AssignmentBuilderListenerImpl
extends java.lang.Object
implements AssignmentBuilder.AssignmentBuilderListener

The Class AssignmentBuilderListenerImpl.


Constructor Summary
AssignmentBuilderListenerImpl(ControllerManager controllerManager)
          Instantiates a new assignment builder listener impl.
 
Method Summary
 void assignmentAnswerReady(AssignmentInfo info)
          Assignment answer ready.
 void assignmentSendRequest(Assignment assignment, java.util.List<java.lang.Object> receipents, AssignmentInfo solution)
          Assignment send request.
 void mathPadClosed(MathTool tool)
          Math pad closed.
 void sendToDialogDisplayed(SendToDialog sendToDialog)
          Send to dialog displayed.
 void separatorChanged(MathTool.SeparatorState newState)
          Separator changed.
 void userLogin(java.lang.String userName, java.lang.String password)
          User login.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssignmentBuilderListenerImpl

public AssignmentBuilderListenerImpl(ControllerManager controllerManager)
Instantiates a new assignment builder listener impl.

Parameters:
controllerManager - the controller manager
Method Detail

assignmentAnswerReady

public void assignmentAnswerReady(AssignmentInfo info)
Description copied from interface: MathTool.MathToolListener
Assignment answer ready.

Specified by:
assignmentAnswerReady in interface MathTool.MathToolListener
Parameters:
info - the info

assignmentSendRequest

public void assignmentSendRequest(Assignment assignment,
                                  java.util.List<java.lang.Object> receipents,
                                  AssignmentInfo solution)
Description copied from interface: AssignmentBuilder.AssignmentBuilderListener
Assignment send request.

Specified by:
assignmentSendRequest in interface AssignmentBuilder.AssignmentBuilderListener
Parameters:
assignment - the assignment
receipents - the receipents
solution - the solution

mathPadClosed

public void mathPadClosed(MathTool tool)
Description copied from interface: MathTool.MathToolListener
Math pad closed.

Specified by:
mathPadClosed in interface MathTool.MathToolListener
Parameters:
tool - the math tool

sendToDialogDisplayed

public void sendToDialogDisplayed(SendToDialog sendToDialog)
Description copied from interface: AssignmentBuilder.AssignmentBuilderListener
Send to dialog displayed.

Specified by:
sendToDialogDisplayed in interface AssignmentBuilder.AssignmentBuilderListener
Parameters:
sendToDialog - the send to dialog

separatorChanged

public void separatorChanged(MathTool.SeparatorState newState)
Description copied from interface: MathTool.MathToolListener
Separator changed.

Specified by:
separatorChanged in interface MathTool.MathToolListener
Parameters:
newState - the new state

userLogin

public void userLogin(java.lang.String userName,
                      java.lang.String password)
Description copied from interface: MathTool.MathToolListener
User login.

Specified by:
userLogin in interface MathTool.MathToolListener
Parameters:
userName - the user name
password - the password