bookmarkevent.java

来自「非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应」· Java 代码 · 共 45 行

JAVA
45
字号
/* BookmarkEvent.java{{IS_NOTE	Purpose:			Description:			History:		Mon May 29 22:44:05     2006, Created by tomyeh}}IS_NOTECopyright (C) 2006 Potix Corporation. All Rights Reserved.{{IS_RIGHT	This program is distributed under GPL Version 2.0 in the hope that	it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.zk.ui.event;/** The onBookmarkChanged event used * to notify that user pressed BACK, FORWARD or specified URL directly * that causes the bookmark is changed (but still in the same desktop). * * <p>All root components of all pages of the desktop will * recieves this event. *  * @author tomyeh */public class BookmarkEvent extends Event {	/** The bookmark name. */	private final String _bookmark;	public BookmarkEvent(String name, String bookmark) {		super(name, null);		_bookmark = bookmark != null ? bookmark: "";	}	/** Returns the bookmark name (never null).	 */	public String getBookmark() {		return _bookmark;	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?