Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.gnu.gtk.event.GtkEvent
org.gnu.gtk.event.NotebookEvent
public class NotebookEvent
extends GtkEvent
Notebook
widget.
NotebookListener
, Notebook
Nested Class Summary | |
static class |
Constructor Summary | |
| |
|
Method Summary | |
int |
|
boolean |
|
public NotebookEvent(Object source, NotebookEvent.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 Notebook Event. This is used internally by java-gnome. Users only have to deal with listeners.
public NotebookEvent(Object source, NotebookEvent.Type type, int pageNumber)
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 Notebook Event. This is used internally by java-gnome. Users only have to deal with listeners.
public int getPageNumber()
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.
Return the page number on which this event occurred.
public boolean isOfType(NotebookEvent.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.