org.gnu.gtk.event
Class ToolButtonEvent

java.lang.Object
  extended by org.gnu.gtk.event.GtkEvent
      extended by org.gnu.gtk.event.ToolButtonEvent
All Implemented Interfaces:
java.io.Serializable

public class ToolButtonEvent
extends GtkEvent

This event is used to identify when a ToolButton receives an event

See Also:
ToolButtonListener, Serialized Form

Nested Class Summary
static class ToolButtonEvent.Type
           
 
Constructor Summary
ToolButtonEvent(java.lang.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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ToolButtonEvent

public ToolButtonEvent(java.lang.Object source,
                       EventType type)
Constructor for ToolButtonEvent.

Parameters:
source -
type -
Method Detail

isOfType

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