org.gnu.gtk.event

Class ContainerEvent

public class ContainerEvent 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 an connection has been completely re-implemented in java-gnome 4.0, so you will need to refactor any code attempting to use this class.

See Also:

Nested Class Summary
static classContainerEvent.Type
Constructor Summary
ContainerEvent(Object source, ContainerEvent.Type type)
Construct a ContainerEvent object.
ContainerEvent(Object source, ContainerEvent.Type type, Widget child)
Construct a ContainerEvent object with a specified child.
Method Summary
WidgetgetChild()
Return the child widget associated with this ContainerEvent, or null if no child is involved.
booleanisOfType(ContainerEvent.Type aType)

Constructor Detail

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 Detail

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.