org.gnu.gtk.event

Class ToolButtonEvent

Implemented Interfaces:
Serializable

public class ToolButtonEvent
extends GtkEvent

This event is used to identify when a ToolButton receives an event
See Also:
ToolButtonListener

Nested Class Summary

static class
ToolButtonEvent.Type

Constructor Summary

ToolButtonEvent(Object source, EventType type)
Constructor for ToolButtonEvent.

Method Summary

boolean
isOfType(ToolButtonEvent.Type aType)

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

getSource, getType, toString

Constructor Details

ToolButtonEvent

public ToolButtonEvent(Object source,
                       EventType type)
Constructor for ToolButtonEvent.
Parameters:
source -
type -

Method Details

isOfType

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