|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.events.Event
com.steema.teechart.events.FrameworkMouseEvent
public class FrameworkMouseEvent
Field Summary | |
---|---|
static int |
BUTTON1
Indicates mouse button #1; used by getButton() . |
static int |
BUTTON2
Indicates mouse button #2; used by getButton() . |
static int |
BUTTON3
Indicates mouse button #3; used by getButton() . |
static int |
MOUSE_CLICKED
The "mouse clicked" event. |
static int |
MOUSE_DRAGGED
The "mouse dragged" event. |
static int |
MOUSE_ENTERED
The "mouse entered" event. |
static int |
MOUSE_EXITED
The "mouse exited" event. |
static int |
MOUSE_FIRST
|
static int |
MOUSE_LAST
The last number in the range of ids used for mouse events. |
static int |
MOUSE_MOVED
The "mouse moved" event. |
static int |
MOUSE_PRESSED
The "mouse pressed" event. |
static int |
MOUSE_RELEASED
The "mouse released" event. |
static int |
MOUSE_WHEEL
The "mouse wheel" event. |
static int |
NOBUTTON
Indicates no mouse buttons; used by getButton() . |
java.lang.Object |
widget
|
Fields inherited from class com.steema.teechart.events.Event |
---|
button, index, type, x, y |
Constructor Summary | |
---|---|
FrameworkMouseEvent(int button,
int index,
int type,
int x,
int y)
|
Method Summary | |
---|---|
int |
getButton()
|
int |
getClickCount()
|
static java.lang.String |
getEventName(int eventType)
|
int |
getID()
|
Point |
getPoint()
Constructs and initializes a point at the specified (x,y) location in the coordinate space. |
int |
getX()
|
int |
getY()
|
void |
setSource(java.lang.Object source)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MOUSE_FIRST
public static final int MOUSE_LAST
public static final int MOUSE_CLICKED
MouseEvent
occurs when a mouse button is pressed and released.
public static final int MOUSE_PRESSED
MouseEvent
occurs when a mouse button is pushed down.
public static final int MOUSE_RELEASED
MouseEvent
occurs when a mouse button is let up.
public static final int MOUSE_MOVED
MouseEvent
occurs when the mouse position changes.
public static final int MOUSE_ENTERED
MouseEvent
occurs when the mouse cursor enters the unobscured part of component's
geometry.
public static final int MOUSE_EXITED
MouseEvent
occurs when the mouse cursor exits the unobscured part of component's
geometry.
public static final int MOUSE_DRAGGED
MouseEvent
occurs when the mouse position changes while a mouse button is pressed.
public static final int MOUSE_WHEEL
MouseWheelEvent
.
It occurs when a mouse equipped with a wheel has its wheel rotated.
public static final int NOBUTTON
getButton()
.
public static final int BUTTON1
getButton()
.
public static final int BUTTON2
getButton()
.
public static final int BUTTON3
getButton()
.
public java.lang.Object widget
Constructor Detail |
---|
public FrameworkMouseEvent(int button, int index, int type, int x, int y)
Method Detail |
---|
public int getButton()
public int getID()
public int getX()
public int getY()
public Point getPoint()
(x,y)
location in the coordinate space.
x
- the X coordinate of the newly constructed Point
y
- the Y coordinate of the newly constructed Point
public int getClickCount()
public static java.lang.String getEventName(int eventType)
public void setSource(java.lang.Object source)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |