javax.swing.text.html
Class FormView.MouseEventListener

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.awt.event.MouseAdapter sample code for java.awt.event.MouseAdapter definition code for java.awt.event.MouseAdapter 
      extended by javax.swing.text.html.FormView.MouseEventListener
All Implemented Interfaces:
MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener , EventListener sample code for java.util.EventListener definition code for java.util.EventListener
Enclosing class:
FormView sample code for javax.swing.text.html.FormView definition code for javax.swing.text.html.FormView

protected class FormView.MouseEventListener
extends MouseAdapter sample code for java.awt.event.MouseAdapter definition code for java.awt.event.MouseAdapter

MouseEventListener class to handle form submissions when an input with type equal to image is clicked on. A MouseListener is necessary since along with the image data the coordinates associated with the mouse click need to be submitted.


Constructor Summary
protected FormView.MouseEventListener sample code for javax.swing.text.html.FormView.MouseEventListener.FormView.MouseEventListener() definition code for javax.swing.text.html.FormView.MouseEventListener.FormView.MouseEventListener() ()
           
 
Method Summary
 void mouseReleased sample code for javax.swing.text.html.FormView.MouseEventListener.mouseReleased(java.awt.event.MouseEvent) definition code for javax.swing.text.html.FormView.MouseEventListener.mouseReleased(java.awt.event.MouseEvent) (MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  evt)
          Invoked when a mouse button has been released on a component.
 
Methods inherited from class java.awt.event.MouseAdapter sample code for java.awt.event.MouseAdapter definition code for java.awt.event.MouseAdapter
mouseClicked sample code for java.awt.event.MouseAdapter.mouseClicked(java.awt.event.MouseEvent) definition code for java.awt.event.MouseAdapter.mouseClicked(java.awt.event.MouseEvent) , mouseEntered sample code for java.awt.event.MouseAdapter.mouseEntered(java.awt.event.MouseEvent) definition code for java.awt.event.MouseAdapter.mouseEntered(java.awt.event.MouseEvent) , mouseExited sample code for java.awt.event.MouseAdapter.mouseExited(java.awt.event.MouseEvent) definition code for java.awt.event.MouseAdapter.mouseExited(java.awt.event.MouseEvent) , mousePressed sample code for java.awt.event.MouseAdapter.mousePressed(java.awt.event.MouseEvent) definition code for java.awt.event.MouseAdapter.mousePressed(java.awt.event.MouseEvent)
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

FormView.MouseEventListener sample code for javax.swing.text.html.FormView.MouseEventListener() definition code for javax.swing.text.html.FormView.MouseEventListener()

protected FormView.MouseEventListener()
Method Detail

mouseReleased sample code for javax.swing.text.html.FormView.MouseEventListener.mouseReleased(java.awt.event.MouseEvent) definition code for javax.swing.text.html.FormView.MouseEventListener.mouseReleased(java.awt.event.MouseEvent)

public void mouseReleased(MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  evt)
Description copied from class: MouseAdapter sample code for java.awt.event.MouseAdapter.mouseReleased(java.awt.event.MouseEvent) definition code for java.awt.event.MouseAdapter.mouseReleased(java.awt.event.MouseEvent)
Invoked when a mouse button has been released on a component.

Specified by:
mouseReleased sample code for java.awt.event.MouseListener.mouseReleased(java.awt.event.MouseEvent) definition code for java.awt.event.MouseListener.mouseReleased(java.awt.event.MouseEvent) in interface MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener
Overrides:
mouseReleased sample code for java.awt.event.MouseAdapter.mouseReleased(java.awt.event.MouseEvent) definition code for java.awt.event.MouseAdapter.mouseReleased(java.awt.event.MouseEvent) in class MouseAdapter sample code for java.awt.event.MouseAdapter definition code for java.awt.event.MouseAdapter