org.gnu.gtk.event
Class StatusBarEvent

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

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.

public class StatusBarEvent
extends GtkEvent

An event represeting action by a StatusBar widget.

See Also:
Serialized Form

Nested Class Summary
static class StatusBarEvent.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.
 
Constructor Summary
StatusBarEvent(java.lang.Object source, StatusBarEvent.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.
 
Method Summary
 java.lang.String getText()
          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.
 boolean isOfType(StatusBarEvent.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.
 void setText(java.lang.String text)
          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.
 
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

StatusBarEvent

public StatusBarEvent(java.lang.Object source,
                      StatusBarEvent.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.

Creates a new StatusBar Event. This is used internally by java-gnome. Users only have to deal with listeners.

Method Detail

isOfType

public boolean isOfType(StatusBarEvent.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.

getText

public java.lang.String getText()
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:
Returns the text.

setText

public void setText(java.lang.String text)
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.

Parameters:
text - The text to set.