actionhandler.java
来自「Java生成PDF Java生成PDF Java生成PDF」· Java 代码 · 共 39 行
JAVA
39 行
// $Id: ActionHandler.java,v 1.5 2007/05/21 16:06:39 mike Exp $package org.faceless.pdf2.viewer2;import org.faceless.pdf2.*;/** * A type of {@link ViewerFeature} that will run a {@link PDFAction} on a document, * usually as a result of a link or button being clicked. * <p><i>This code is copyright the Big Faceless Organization. You're welcome to use, modify and distribute it in any form in your own projects, provided those projects continue to make use of the Big Faceless PDF library.</i></p> * @since 2.8 */public abstract class ActionHandler extends ViewerFeature{ /** * Create a new ActionHandler * @param name the name of this ViewerFeature */ public ActionHandler(String name) { super(name); } public String toString() { return "ActionHandler:"+super.toString(); } /** * Return true if this ActionFactory can handle the specified {@link PDFAction} */ public abstract boolean matches(DocumentPanel panel, PDFAction action); /** * Run the specified action * @param panel the DocumentPanel running the action * @param action the action */ public abstract void run(DocumentPanel panel, PDFAction action);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?