Package org.zkoss.zk.ui.event

## Class BookmarkEvent

- java.lang.Object
- - org.zkoss.zk.ui.event.Event
  - - 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 receive this event.

  Author:
    tomyeh
  See Also:
    `URIEvent`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BookmarkEvent​(java.lang.String name, java.lang.String bookmark)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `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).