javax.swing.text.html
protected class: FormView.MouseEventListener [javadoc |
source]
java.lang.Object
java.awt.event.MouseAdapter
javax.swing.text.html.FormView$MouseEventListener
All Implemented Interfaces:
MouseListener, MouseMotionListener, MouseWheelListener
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.
Method from javax.swing.text.html.FormView$MouseEventListener Summary: |
---|
mouseReleased |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.swing.text.html.FormView$MouseEventListener Detail: |
public void mouseReleased(MouseEvent evt) {
String imageData = getImageData(evt.getPoint());
imageSubmit(imageData);
}
|