|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.levigo.jadice.swing.tool.EditEvent com.levigo.jadice.swing.tool.MouseEditEvent
public class MouseEditEvent
Field Summary |
---|
Fields inherited from class com.levigo.jadice.swing.tool.EditEvent |
---|
inputEvent, pageBounds |
Fields inherited from class java.util.EventObject |
---|
source |
Method Summary | |
---|---|
int |
getButton()
|
int |
getClickCount()
|
Point2D |
getConstrainedDocumentPoint()
Return the point in document coordinates. |
Point |
getConstrainedPoint()
Return the point relative to the RenderedPage's origin in screen coordinates. |
Point2D |
getDocumentPoint()
Return the point in document coordinates. |
MouseEvent |
getInputEvent()
|
Point |
getPoint()
Return the point relative to the RenderedPage's origin in screen coordinates. |
int |
getX()
|
int |
getY()
|
boolean |
isWithinPageBounds()
|
Methods inherited from class com.levigo.jadice.swing.tool.EditEvent |
---|
consume, create, getID, getModifiers, getModifiersEx, getPage, getPageIndex, getPageRenderControls, getRenderedPageBounds, getRenderedSize, getSource, getWhen, hasPageContext, isAltDown, isAltGraphDown, isConsumed, isControlDown, isMetaDown, isShiftDown, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getButton()
MouseEvent.getButton()
public int getClickCount()
MouseEvent.getClickCount()
public Point getPoint()
MouseEvent.getPoint()
public Point getConstrainedPoint()
Caveat: Clients must not attempt to call this method unless EditEvent.hasPageContext()
returned
true
.
IllegalStateException
- if the event does not have a page contextMouseEvent.getPoint()
,
EditEvent.hasPageContext()
public Point2D getDocumentPoint()
Caveat: Clients must not attempt to call this method unless EditEvent.hasPageContext()
returned
true
.
IllegalStateException
- if the event does not have a page contextEditEvent.hasPageContext()
public Point2D getConstrainedDocumentPoint()
Caveat: Clients must not attempt to call this method unless EditEvent.hasPageContext()
returned
true
.
IllegalStateException
- if the event does not have a page contextEditEvent.hasPageContext()
public int getX()
MouseEvent.getX()
public int getY()
MouseEvent.getY()
public MouseEvent getInputEvent()
getInputEvent
in class EditEvent
public boolean isWithinPageBounds()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |