|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Controller | |
---|---|
edu.hws.jcm.awt | |
edu.hws.jcm.draw | |
edu.hws.jcm.functions |
Uses of Controller in edu.hws.jcm.awt |
---|
Fields in edu.hws.jcm.awt declared as Controller | |
---|---|
protected Controller |
Controller.parent
The parent of this controller, if any. |
Methods in edu.hws.jcm.awt that return Controller | |
---|---|
Controller |
JCMPanel.getController()
Return the controller associated with this JCMPanel. |
Controller |
ExpressionInput.getOnTextChange()
Return the Controller, if any, that is notified whenever the text in this input box changes |
Controller |
VariableInput.getOnTextChange()
Return the Controller, if any, that is notified when the text in this input box changes |
Controller |
ComputeButton.getOnUserAction()
Return the controlller whose compute() method is called when the user clicks this button. |
Controller |
ExpressionInput.getOnUserAction()
Return the Controller, if any, that is notified when the user presses return in this text-input box. |
Controller |
VariableInput.getOnUserAction()
Return the Controller, if any, that is notified when the user presses return in this text-input box. |
Controller |
VariableSlider.getOnUserAction()
Return the Controller, if any, that is notified when the user adjusts the position of the scroll bar. |
Methods in edu.hws.jcm.awt with parameters of type Controller | |
---|---|
void |
Animator.notifyControllerOnChange(Controller c)
Method required by the InputObject interface. |
void |
Controller.notifyControllerOnChange(Controller c)
Method required by InputObject interface; in this class, calls the same method recursively on any input objects controlled by this controller. |
void |
ExpressionInput.notifyControllerOnChange(Controller c)
Method required by InputObject interface; in this class, it simply calls setOnUserAction(c). |
void |
InputObject.notifyControllerOnChange(Controller c)
This method was introduced to provide a common interface for setting a Controller that is to be notified when there is a change in the InputObject. |
void |
VariableInput.notifyControllerOnChange(Controller c)
Method required by InputObject interface; in this class, it simply calls setOnUserAction(c). |
void |
VariableSlider.notifyControllerOnChange(Controller c)
Method required by InputObject interface; in this class, it simply calls setOnUserAction(c). |
void |
ErrorReporter.setErrorMessage(Controller source,
java.lang.String message)
Report the specifed message as an error. |
void |
MessagePopup.setErrorMessage(Controller c,
java.lang.String message)
Show the given message in a dialog box or independent window, depending on whether the source component is contained in a Frame or not. |
void |
ExpressionInput.setOnTextChange(Controller c)
If the parameter, c, is non-null, then its compute method will be called whenever the text in this input box changes. |
void |
VariableInput.setOnTextChange(Controller c)
If the Controller, cm is non-null, then its compute() method will be called whenever the text in this input box changes. |
void |
ComputeButton.setOnUserAction(Controller c)
Set the controller whose compute() method is called when the user clicks this button. |
void |
ExpressionInput.setOnUserAction(Controller c)
If the parameter c is non-null, then its compute method will be called whenever the user presses the return key while typing in this text-input box. |
void |
VariableInput.setOnUserAction(Controller c)
If the Controller, c, is non-null, then its compute() method will be called whenever the user presses the return key while typing in this text-input box. |
void |
VariableSlider.setOnUserAction(Controller c)
If the Controller, c, is non-null, then its compute method will be called whenever the user adjusts the position of the scroll bar. |
Uses of Controller in edu.hws.jcm.draw |
---|
Fields in edu.hws.jcm.draw declared as Controller | |
---|---|
protected Controller |
CoordinateRect.onChange
If non-null, this is the Controller that is notified when the limits change. |
protected Controller |
MouseTracker.onUserAction
If this is non-null, then its compute() method is called when the user clicks the mouse and, if listenForDrags is also true, when the user drags and releases the mouse. |
Methods in edu.hws.jcm.draw that return Controller | |
---|---|
Controller |
CoordinateRect.getOnChange()
Get the controller that is notified when the limits on this CoordinateRect change. |
Controller |
Panner.getOnFinishDrag()
Get the Controller that is notified when the user finishs a drag. |
Controller |
MouseTracker.getOnUserAction()
Get the Controller that responds when a user mouse action is detected by this MouseTracker. |
Controller |
Panner.getOnUserAction()
Get the Controller that is notified when the user moves the mouse during a drag. |
Controller |
DraggablePoint.getOnUserAction(Controller c)
Get the Controller that is notified when the user drags the point. |
Methods in edu.hws.jcm.draw with parameters of type Controller | |
---|---|
Controller |
DraggablePoint.getOnUserAction(Controller c)
Get the Controller that is notified when the user drags the point. |
void |
CoordinateRect.notifyControllerOnChange(Controller c)
Method required by InputObject interface; in this class, it calls the same method recursively on any input objects containted in this CoordinateRect. |
void |
DisplayCanvas.notifyControllerOnChange(Controller c)
Method required by InputObject interface; in this class, calls the same method recursively on any CoordinateRects contained in this DisplayCanvas. |
void |
DraggablePoint.notifyControllerOnChange(Controller c)
Method required by InputObject interface; in this class, it simply calls setOnUserAction(c). |
void |
LimitControlPanel.notifyControllerOnChange(Controller c)
Method required by CheckInput interface. |
void |
MouseTracker.notifyControllerOnChange(Controller c)
Method required by InputObject interface; in this class, it simply calls setOnUserAction(c). |
void |
DisplayCanvas.setErrorMessage(Controller c,
java.lang.String message)
Set an error message to be displayed on the canvas. |
void |
CoordinateRect.setOnChange(Controller c)
Specify a controller to be notified when the limits on this CoordinateRect change. |
void |
Panner.setOnFinishDrag(Controller c)
Set a Controller that will be notified (by calling its compute method) whenever the user finishes a drag operation. |
void |
DraggablePoint.setOnUserAction(Controller c)
Set the Controller that is to be notified when the user drags the point. |
void |
MouseTracker.setOnUserAction(Controller onUserAction)
Set a Controller to respond to user mouse actions tracked by this MouseTracker. |
void |
Panner.setOnUserAction(Controller c)
Set a Controller that will be notified (by calling its compute method) whenever the user moves the mouse during a drag. |
Uses of Controller in edu.hws.jcm.functions |
---|
Methods in edu.hws.jcm.functions that return Controller | |
---|---|
Controller |
TableFunctionInput.getOnChange()
Get the Controller that is notified when the user edits the data in this panel. |
Methods in edu.hws.jcm.functions with parameters of type Controller | |
---|---|
void |
TableFunctionInput.setOnChange(Controller c)
Specify a controller whose compute() method will be called whenever the user edits the data in this TableFunctionInput panel. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |