public class MouseBoxEvent extends MouseDragEvent
| Constructor and Description |
|---|
MouseBoxEvent(java.lang.Object source,
java.awt.Point pressPoint,
java.awt.Point releasePoint,
boolean isModified)
Creates a new instance of MouseBoxEvent
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Point |
getPoint()
return the point locating the mouse position, which is also the release point
|
java.awt.Point |
getPressPoint()
return the point where the event started
|
int |
getXMaximum()
return the rightmost, or maximum, point of the two
|
int |
getXMinimum()
return the leftmost, or minimum, point of the two
|
int |
getYMaximum()
return the bottommost, or maximum, point of the two
|
int |
getYMinimum()
return the topmost, or maximum, point of the two
|
java.lang.String |
toString() |
getGesture, isGesturepublic MouseBoxEvent(java.lang.Object source,
java.awt.Point pressPoint,
java.awt.Point releasePoint,
boolean isModified)
source - the source, typically a GUI component.pressPoint - the mouse press pointreleasePoint - the mouse release pointisModified - this is ignored.public java.awt.Point getPressPoint()
public java.awt.Point getPoint()
public int getXMinimum()
public int getXMaximum()
public int getYMinimum()
public int getYMaximum()
public java.lang.String toString()
toString in class MouseDragEvent