org.gnu.gtk.event

Class ContainerEvent

Implemented Interfaces:
Serializable

public class ContainerEvent
extends GtkEvent

See Also:
ContainerListener

Nested Class Summary

static class
ContainerEvent.Type

Constructor Summary

ContainerEvent(Object source, ContainerEvent.Type type)
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
ContainerEvent(Object source, ContainerEvent.Type type, Widget child)
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Method Summary

Widget
getChild()
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
boolean
isOfType(ContainerEvent.Type aType)
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

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

getSource, getType, toString

Constructor Details

ContainerEvent

public ContainerEvent(Object source,
                      ContainerEvent.Type type)

Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Construct a ContainerEvent object.

ContainerEvent

public ContainerEvent(Object source,
                      ContainerEvent.Type type,
                      Widget child)

Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Construct a ContainerEvent object with a specified child.

Method Details

getChild

public Widget getChild()

Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Return the child widget associated with this ContainerEvent, or null if no child is involved. The CHECK_RESIZE event does not have an associated child widget.

isOfType

public boolean isOfType(ContainerEvent.Type aType)

Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Returns:
True if the type of this event is the same as that stated.