public abstract class AbstractTableExporter extends Object
Modifier and Type | Field and Description |
---|---|
protected AbstractLink |
exportLink |
protected String |
imageSrc |
protected String |
label |
protected boolean |
selected |
Constructor and Description |
---|
AbstractTableExporter() |
AbstractTableExporter(String label) |
AbstractTableExporter(String label,
String imageSrc) |
Modifier and Type | Method and Description |
---|---|
void |
export(ExportTable table,
Context context) |
protected abstract void |
export(ExportTable table,
Context context,
OutputStream output) |
AbstractLink |
getExportLink() |
protected abstract String |
getFilename() |
String |
getImageSrc() |
String |
getLabel() |
protected abstract String |
getMimeType() |
boolean |
isSelected() |
protected void |
setActionListener(AbstractControl control) |
void |
setExportLink(AbstractLink exportLink) |
void |
setImageSrc(String imageSrc) |
void |
setLabel(String label) |
abstract void |
setName(String name) |
void |
setSelected(boolean selected) |
protected String label
protected String imageSrc
protected AbstractLink exportLink
protected boolean selected
public AbstractTableExporter()
public AbstractTableExporter(String label)
public boolean isSelected()
public void setSelected(boolean selected)
public void setExportLink(AbstractLink exportLink)
public AbstractLink getExportLink()
public String getLabel()
public void setLabel(String label)
public String getImageSrc()
public void setImageSrc(String imageSrc)
public abstract void setName(String name)
public void export(ExportTable table, Context context)
protected abstract String getMimeType()
protected abstract void export(ExportTable table, Context context, OutputStream output) throws IOException
IOException
protected abstract String getFilename()
protected void setActionListener(AbstractControl control)