public class MoveEvent extends Event
Modifier and Type | Field and Description |
---|---|
static int |
ALT_KEY
Indicates whether the Alt key is pressed.
|
static int |
CTRL_KEY
Indicates whether the Ctrl key is pressed.
|
static int |
SHIFT_KEY
Indicates whether the Shift key is pressed.
|
Constructor and Description |
---|
MoveEvent(java.lang.String name,
Component target,
java.lang.String left,
java.lang.String top,
int keys)
Constructs a mouse relevant event.
|
Modifier and Type | Method and Description |
---|---|
int |
getKeys()
Returns what keys were pressed when the component is moved, or 0 if
none of them was pressed.
|
java.lang.String |
getLeft()
Returns the left of the component after moved.
|
static MoveEvent |
getMoveEvent(AuRequest request)
Converts an AU request to a move event.
|
java.lang.String |
getTop()
Returns the top of the component after moved.
|
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
public static final int ALT_KEY
getKeys()
.public static final int CTRL_KEY
getKeys()
.public static final int SHIFT_KEY
getKeys()
.public MoveEvent(java.lang.String name, Component target, java.lang.String left, java.lang.String top, int keys)
public static final MoveEvent getMoveEvent(AuRequest request)
public final java.lang.String getLeft()
public final java.lang.String getTop()
public final int getKeys()
Copyright © 2005-2022 Potix Corporation. All Rights Reserved.