public class ExportUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DOC |
static String |
PDF |
static String |
RTF |
static String |
TEXT |
static String |
XLS |
static String |
XML |
Constructor and Description |
---|
ExportUtils() |
Modifier and Type | Method and Description |
---|---|
static List<ExportElement> |
addElementToElementArray(List<ExportElement> elementArray,
ExportElement element) |
static Controller |
getController(com.google.gwt.user.client.ui.Widget theWidget)
This method gets the current controller based on the widget that was passed to it.
|
static List<ExportElement> |
getDetailsForWidget(ExportElement element,
com.google.gwt.user.client.ui.Widget currentViewWidget,
boolean setFirstFieldValue,
String viewName,
String sectionName) |
static List<ExportElement> |
getDetailsForWidget(SummaryTable sumTable)
Retrieve the sub elements from the summary table on a table section.
|
static List<ExportElement> |
getDetailsForWidget(com.google.gwt.user.client.ui.Widget currentViewWidget,
String viewName,
String sectionName)
Retrieves the sub elements from a container widget.
|
static ArrayList<ExportElement> |
getExportElementsFromView(com.google.gwt.user.client.ui.Widget currentViewWidget,
ArrayList<ExportElement> exportElements,
String viewName,
String sectionName) |
static ExportElement |
getExportItemDetails(ExportElement exportItem,
com.google.gwt.user.client.ui.Widget fieldWidget,
boolean setFirstFieldValue,
String viewName,
String sectionName)
Inspect the given widget for the value and add it to the export element object.
|
static void |
handleExportClickEvent(Controller currentController,
String format,
String reportTitle)
Handles the export click event.
|
public static final String PDF
public static final String DOC
public static final String XLS
public static final String XML
public static final String RTF
public static final String TEXT
public ExportUtils()
public static ExportElement getExportItemDetails(ExportElement exportItem, com.google.gwt.user.client.ui.Widget fieldWidget, boolean setFirstFieldValue, String viewName, String sectionName)
exportItem
- fieldWidget
- setFirstFieldValue
- viewName
- sectionName
- public static Controller getController(com.google.gwt.user.client.ui.Widget theWidget)
theWidget
- public static void handleExportClickEvent(Controller currentController, String format, String reportTitle)
currentController
- format
- reportTitle
- public static List<ExportElement> getDetailsForWidget(SummaryTable sumTable)
sumTable
- public static List<ExportElement> getDetailsForWidget(com.google.gwt.user.client.ui.Widget currentViewWidget, String viewName, String sectionName)
currentViewWidget
- viewName
- sectionName
- public static List<ExportElement> getDetailsForWidget(ExportElement element, com.google.gwt.user.client.ui.Widget currentViewWidget, boolean setFirstFieldValue, String viewName, String sectionName)
public static ArrayList<ExportElement> getExportElementsFromView(com.google.gwt.user.client.ui.Widget currentViewWidget, ArrayList<ExportElement> exportElements, String viewName, String sectionName)
public static List<ExportElement> addElementToElementArray(List<ExportElement> elementArray, ExportElement element)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.