You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.1 KiB
57 lines
1.1 KiB
/* |
|
* Copyright (c) 2001-2014,FineReport Inc, All Rights Reserved. |
|
*/ |
|
|
|
package com.fr.design.actions; |
|
|
|
import com.fr.design.gui.controlpane.NameObjectCreator; |
|
|
|
import java.awt.event.ActionEvent; |
|
|
|
/** |
|
* Created by IntelliJ IDEA. |
|
* Author : daisy |
|
* Version: 6.5.6 |
|
* Date: 14-2-26 |
|
* Time: 上午10:47 |
|
*/ |
|
public abstract class HyperlinkPluginAction extends UpdateAction { |
|
public static final String XML_TAG = "hyperlinkType"; |
|
|
|
public HyperlinkPluginAction() { |
|
this.setName(this.getDisplayName()); |
|
} |
|
|
|
|
|
/** |
|
* 名字 |
|
* |
|
* @return |
|
*/ |
|
public abstract String getDisplayName(); |
|
|
|
/** |
|
* 得到超级链接的声明类 |
|
* |
|
* @return |
|
*/ |
|
public abstract Class getHyperlinkClass(); |
|
|
|
/** |
|
* 得到相应面板的类 |
|
* |
|
* @return |
|
*/ |
|
public abstract Class getUpdateHyperlinkPaneClass(); |
|
|
|
public NameObjectCreator getHyperlinkCreator() { |
|
return new NameObjectCreator(getDisplayName(), getHyperlinkClass(), getUpdateHyperlinkPaneClass()); |
|
} |
|
|
|
/** |
|
* 动作 |
|
* @param e 动作 |
|
*/ |
|
public void actionPerformed(ActionEvent e) { |
|
} |
|
} |