Public Member Functions | |
void | mouseDragged (MouseEvent e) |
Invoked when the mouse is dragged. | |
void | mouseEntered (MouseEvent e) |
Invoked when the mouse enters the field. | |
void | mouseExited (MouseEvent e) |
Invoked when the mouse exits the field. | |
void | mouseMoved (MouseEvent e) |
Invoked when the mouse is moved inside the field. | |
void | mousePressed (MouseEvent e) |
Invoked when the mouse is pressed inside the field. | |
void | mouseReleased (MouseEvent e) |
Invoked when the mouse is released inside the field. | |
Private Member Functions | |
void | arm (MouseEvent e) |
"Arms" the cancel button if the mouse event was over it. | |
void | disarm () |
"Disarms" the cancel button. | |
boolean | isOverButton (MouseEvent e) |
Returns whether the mouse event was over the cancel button. |
void edu.cmu.hcii.calo.view.SearchField.CancelListener.mouseDragged | ( | MouseEvent | e | ) |
Invoked when the mouse is dragged.
e | the mouse event |
void edu.cmu.hcii.calo.view.SearchField.CancelListener.mouseEntered | ( | MouseEvent | e | ) |
Invoked when the mouse enters the field.
e | the mouse event |
void edu.cmu.hcii.calo.view.SearchField.CancelListener.mouseExited | ( | MouseEvent | e | ) |
Invoked when the mouse exits the field.
e | the mouse event |
void edu.cmu.hcii.calo.view.SearchField.CancelListener.mouseMoved | ( | MouseEvent | e | ) |
Invoked when the mouse is moved inside the field.
e | the mouse event |
void edu.cmu.hcii.calo.view.SearchField.CancelListener.mousePressed | ( | MouseEvent | e | ) |
Invoked when the mouse is pressed inside the field.
e | the mouse event |
void edu.cmu.hcii.calo.view.SearchField.CancelListener.mouseReleased | ( | MouseEvent | e | ) |
Invoked when the mouse is released inside the field.
e | the mouse event |
void edu.cmu.hcii.calo.view.SearchField.CancelListener.arm | ( | MouseEvent | e | ) | [private] |
"Arms" the cancel button if the mouse event was over it.
Armed means that when the mouse is released, the field will be cleared.
e | the mouse event |
void edu.cmu.hcii.calo.view.SearchField.CancelListener.disarm | ( | ) | [private] |
"Disarms" the cancel button.
See above for definition of "armed".
boolean edu.cmu.hcii.calo.view.SearchField.CancelListener.isOverButton | ( | MouseEvent | e | ) | [private] |
Returns whether the mouse event was over the cancel button.
e | the mouse event |
true
if the mouse event was over the cancel button, false
otherwise