org.gnu.gtk.event

Class StatusBarEvent

Implemented Interfaces:
Serializable

public class StatusBarEvent
extends GtkEvent

An event represeting action by a StatusBar widget.

Nested Class Summary

static class
StatusBarEvent.Type
Type of a StatusBarEvent

Constructor Summary

StatusBarEvent(Object source, StatusBarEvent.Type type)
Creates a new StatusBar Event.

Method Summary

String
getText()
boolean
isOfType(StatusBarEvent.Type aType)
void
setText(String text)

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

getSource, getType, toString

Constructor Details

StatusBarEvent

public StatusBarEvent(Object source,
                      StatusBarEvent.Type type)
Creates a new StatusBar Event. This is used internally by java-gnome. Users only have to deal with listeners.

Method Details

getText

public String getText()
Returns:
Returns the text.

isOfType

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

setText

public void setText(String text)
Parameters:
text - The text to set.