org.gnu.gtk.event

Class ConfigureEvent

Implemented Interfaces:
Serializable

public class ConfigureEvent
extends GtkEvent

This event is used to identify a Configure event on a Widget.
See Also:
ConfigureListener

Nested Class Summary

static class
ConfigureEvent.Type

Constructor Summary

ConfigureEvent(Object source, EventType type, EventConfigure event)
Constructor for ConfigureEvent.

Method Summary

int
getHeight()
int
getWidth()
Window
getWindow()
int
getX()
int
getY()
boolean
isOfType(ConfigureEvent.Type aType)

Methods inherited from class org.gnu.gtk.event.GtkEvent

getSource, getType, toString

Constructor Details

ConfigureEvent

public ConfigureEvent(Object source,
                      EventType type,
                      EventConfigure event)
Constructor for ConfigureEvent.
Parameters:
source -
type -

Method Details

getHeight

public int getHeight()
Returns:
Returns the height.

getWidth

public int getWidth()
Returns:
Returns the width.

getWindow

public Window getWindow()
Returns:
Returns the window

getX

public int getX()
Returns:
Returns the x.

getY

public int getY()
Returns:
Returns the y.

isOfType

public boolean isOfType(ConfigureEvent.Type aType)
Returns:
True if the type of this event is the same as that stated.