org.gnu.gtk.event

Class ColorButtonEvent

Implemented Interfaces:
Serializable

public class ColorButtonEvent
extends GtkEvent

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

See Also:
ColorButtonListener

Nested Class Summary

Field Summary

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

source, type

Constructor Summary

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

Method Summary

boolean
isOfType(ColorButtonEvent.Type aType)

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

getSource, getType, toString

Constructor Details

ColorButtonEvent

public ColorButtonEvent(Object source,
                        EventType type)
Constructor for ColorButtonEvent.

Parameters:
source -
type -

Method Details

isOfType

public boolean isOfType(ColorButtonEvent.Type aType)

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