public class SizeEvent 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 |
---|
SizeEvent(java.lang.String name,
Component target,
java.lang.String width,
java.lang.String height,
int keys)
Constructs a mouse relevant event.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHeight()
Returns the height of the component after re-sized.
|
int |
getKeys()
Returns what keys were pressed when the component is resized, or 0 if
none of them was pressed.
|
static SizeEvent |
getSizeEvent(AuRequest request)
Converts an AU request to a size event.
|
java.lang.String |
getWidth()
Returns the width of the component after re-sized.
|
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 SizeEvent(java.lang.String name, Component target, java.lang.String width, java.lang.String height, int keys)
public static final SizeEvent getSizeEvent(AuRequest request)
public final java.lang.String getWidth()
public final java.lang.String getHeight()
public final int getKeys()
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.