org.gnu.gtk.event
Class NotebookEvent
- Serializable
public class NotebookEvent
An event represeting action by a
Notebook
widget.
NotebookEvent
public NotebookEvent(Object source,
NotebookEvent.Type type)
Creates a new Notebook Event. This is used internally by java-gnome.
Users only have to deal with listeners.
NotebookEvent
public NotebookEvent(Object source,
NotebookEvent.Type type,
int pageNumber)
Creates a new Notebook Event. This is used internally by java-gnome.
Users only have to deal with listeners.
getPageNumber
public int getPageNumber()
Return the page number on which this event occurred.
isOfType
public boolean isOfType(NotebookEvent.Type aType)
- True if the type of this event is the same as that stated.