org.gnu.gtk.event
Class TextViewEvent

java.lang.Object
  extended by org.gnu.gtk.event.GtkEvent
      extended by org.gnu.gtk.event.TextViewEvent
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 TextViewEvent
extends GtkEvent

This event is used to identify events of the TextView widget.

See Also:
TextView, TextViewListener, Serialized Form

Nested Class Summary
static class TextViewEvent.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
TextViewEvent(java.lang.Object source, TextViewEvent.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
 int getCount()
          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.
 Menu getMenu()
          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.
 MovementStep getMovementStep()
          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(TextViewEvent.Type test)
          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 setCount(int count)
          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 setMenu(Menu menu)
          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 setMovementStep(MovementStep movementStep)
          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

TextViewEvent

public TextViewEvent(java.lang.Object source,
                     TextViewEvent.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 text view event

Parameters:
source - The object that triggered the event.
type - The identification of the type of event that occurred.
Method Detail

isOfType

public boolean isOfType(TextViewEvent.Type test)
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.

Comparison of TextViewEvent types

Parameters:
test - The TreeViewEvent type to compare with this object.
Returns:
true if the types are the same.

getMenu

public Menu getMenu()
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 the menu.

Returns:
The menu item that was set when the POPULATE_POPUP event type is triggered.

getCount

public int getCount()
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 the count.

Returns:
int

setMenu

public void setMenu(Menu menu)
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.

Sets the menu.

Parameters:
menu - The menu to set

getMovementStep

public MovementStep getMovementStep()
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 the movementStep.

Returns:
MovementStep

setCount

public void setCount(int count)
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.

Sets the count.

Parameters:
count - The count to set

setMovementStep

public void setMovementStep(MovementStep movementStep)
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.

Sets the movementStep.

Parameters:
movementStep - The movementStep to set