org.zkoss.zk.ui.event
Class BookmarkEvent

java.lang.Object
  extended by org.zkoss.zk.ui.event.Event
      extended by org.zkoss.zk.ui.event.BookmarkEvent
All Implemented Interfaces:
java.io.Serializable

public class BookmarkEvent
extends Event

The bookmark update event used with onBookmarkChange to notify that user pressed BACK, FORWARD or others that causes the bookmark changed (but still in the same desktop).

All root components of all pages of the desktop will receives this event.

Author:
tomyeh
See Also:
URIEvent, Serialized Form

Constructor Summary
BookmarkEvent(java.lang.String name, java.lang.String bookmark)
           
 
Method Summary
 java.lang.String getBookmark()
          Returns the bookmark name (never null).
static BookmarkEvent getBookmarkEvent(AuRequest request)
          Converts an AU request to a bookmark event.
 
Methods inherited from class org.zkoss.zk.ui.event.Event
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BookmarkEvent

public BookmarkEvent(java.lang.String name,
                     java.lang.String bookmark)
Method Detail

getBookmarkEvent

public static final BookmarkEvent getBookmarkEvent(AuRequest request)
Converts an AU request to a bookmark event.

Since:
5.0.0

getBookmark

public java.lang.String getBookmark()
Returns the bookmark name (never null).



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo