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.
68 lines
1.6 KiB
68 lines
1.6 KiB
/* |
|
* Copyright (C), 2018-2021 |
|
* Project: starter |
|
* FileName: StreamExcelExtensionButton |
|
* Author: Louis |
|
* Date: 2021/12/3 9:24 |
|
*/ |
|
package com.fr.plugin.ibgq.excel; |
|
|
|
import com.fr.base.IconManager; |
|
import com.fr.form.ui.WebContentUtils; |
|
import com.fr.form.ui.Widget; |
|
import com.fr.general.Inter; |
|
import com.fr.js.JavaScriptImpl; |
|
import com.fr.report.fun.impl.AbstractExtensionButton; |
|
import com.fr.stable.web.Repository; |
|
|
|
/** |
|
* <Function Description><br> |
|
* <StreamExcelExtensionButton> |
|
* |
|
* @author fr.open |
|
* @since 1.0.0 |
|
*/ |
|
public class StreamExcelExtensionButton extends AbstractExtensionButton { |
|
public StreamExcelExtensionButton() { |
|
super(Inter.getLocText("Plugin-ibgq_Excel_Stream_Export"), IconManager.EXCEL.getName()); |
|
} |
|
|
|
public StreamExcelExtensionButton(String var1) { |
|
super(var1); |
|
} |
|
|
|
public StreamExcelExtensionButton(String var1, String var2) { |
|
super(var1, var2); |
|
} |
|
|
|
public int currentAPILevel() { |
|
return 2; |
|
} |
|
|
|
public Class<? extends Widget> classForDirectoryButton() { |
|
return this.getClass(); |
|
} |
|
|
|
public String getParentDirectory() { |
|
return null; |
|
} |
|
|
|
public String getType() { |
|
return "StreamExcelExport.class"; |
|
} |
|
|
|
public String getRelatedCheckBoxTitle() { |
|
return null; |
|
} |
|
|
|
public boolean isSelected() { |
|
return false; |
|
} |
|
|
|
public void setSelected(boolean var1) { |
|
} |
|
|
|
protected JavaScriptImpl clickAction(Repository var1) { |
|
return new JavaScriptImpl(WebContentUtils.getExcelExportAction(var1, "stream")); |
|
} |
|
} |