|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGtkEvent
org.gnu.gnomevte.event.MoveWindowEvent
public class MoveWindowEvent
An event representing a move window action by a Terminal
widget.
This event is fired when the child application (the command forked) requests it.
Nested Class Summary | |
---|---|
static class |
MoveWindowEvent.Type
Type of a TerminalMoveWindowEvent. |
Constructor Summary | |
---|---|
MoveWindowEvent(java.lang.Object source,
EventType type,
int xCoordinate,
int yCoordinate)
Constructor for TerminalMoveWindowEvent. |
Method Summary | |
---|---|
int |
getXCoordinate()
Gets the X coordinate. |
int |
getYCoordinate()
Gets the Y coordinate. |
boolean |
isOfType(MoveWindowEvent.Type aType)
This method compares the type of the current event to the one provided as an argument. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MoveWindowEvent(java.lang.Object source, EventType type, int xCoordinate, int yCoordinate)
source
- the source of the event.type
- the event type.xCoordinate
- the terminal's desired location, X coordinate.yCoordinate
- the terminal's desired location, Y coordinate.Method Detail |
---|
public boolean isOfType(MoveWindowEvent.Type aType)
aType
- the type to compare to.
true
if the events are of same type.public int getXCoordinate()
public int getYCoordinate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |