org.gnu.gnomevte.event

Class ResizeWindowEvent

public class ResizeWindowEvent extends GtkEvent

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. Signal handling has been completely re-designed in java-gnome 4.0, so there will be no direct correspondant for this class. See individual inner interfaces in classes within org.gnome.vte

An event representing an action by a Terminal widget. This event is fired when the child application (the command forked) requests it.
Nested Class Summary
static classResizeWindowEvent.Type
Type of a TerminalResizeWindowEvent.
Constructor Summary
ResizeWindowEvent(Object source, EventType type, int windowWidth, int windowHeight)
Constructor for TerminalResizeWindowEvent.
Method Summary
intgetWindowHeight()
Gets the new desired window height.
intgetWindowWidth()
Gets the new desired window width.
booleanisOfType(ResizeWindowEvent.Type aType)
This method compares the type of the current event to the one provided as an argument.

Constructor Detail

ResizeWindowEvent

public ResizeWindowEvent(Object source, EventType type, int windowWidth, int windowHeight)
Constructor for TerminalResizeWindowEvent.

Parameters: source the source of the event. type the event type. windowWidth windowHeight

Method Detail

getWindowHeight

public int getWindowHeight()
Gets the new desired window height.

Returns: the new desired window height.

getWindowWidth

public int getWindowWidth()
Gets the new desired window width.

Returns: the new desired window width.

isOfType

public boolean isOfType(ResizeWindowEvent.Type aType)
This method compares the type of the current event to the one provided as an argument.

Parameters: aType the type to compare to.

Returns: true if the events are of same type.