|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.student.common.ui.client.util.ExportUtils
public class ExportUtils
This is a description of what this class does - pctsw don't forget to fill this in.
Field Summary | |
---|---|
static String |
DOC
|
static String |
PDF
|
static String |
XLS
|
Constructor Summary | |
---|---|
ExportUtils()
|
Method Summary | |
---|---|
static List<ExportElement> |
addElementToElementArray(List<ExportElement> elementArray,
ExportElement element)
|
private static ExportElement |
createExportElement(String viewName,
String sectionName,
List<ExportElement> childElements,
com.google.gwt.user.client.ui.Widget child)
Creates a new export element with its sub elements. |
static void |
debugExportElementsArray(List<ExportElement> exportElements)
|
private static void |
debutExportElementsArraySubList(List<ExportElement> exportElements)
|
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 ArrayList<ExportElement> |
getDetailsForWidget(SummaryTableSection tableSection,
ArrayList<ExportElement> exportElements)
Retrieve the sub elements from the 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)
|
private static void |
setFieldValue(ExportElement exportItem,
boolean setFirstFieldValue,
String fieldValue)
This method sets the extracted string value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PDF
public static final String DOC
public static final String XLS
Constructor Detail |
---|
public ExportUtils()
Method Detail |
---|
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
-
private static void setFieldValue(ExportElement exportItem, boolean setFirstFieldValue, String fieldValue)
exportItem
- setFirstFieldValue
- fieldValue
- public static Controller getController(com.google.gwt.user.client.ui.Widget theWidget)
theWidget
-
public static void handleExportClickEvent(Controller currentController, String format, String reportTitle)
public static void debugExportElementsArray(List<ExportElement> exportElements)
private static void debutExportElementsArraySubList(List<ExportElement> exportElements)
public static ArrayList<ExportElement> getDetailsForWidget(SummaryTableSection tableSection, ArrayList<ExportElement> exportElements)
tableSection
- exportElements
-
public static List<ExportElement> getDetailsForWidget(com.google.gwt.user.client.ui.Widget currentViewWidget, String viewName, String sectionName)
currentViewWidget
- viewName
- sectionName
-
public static ArrayList<ExportElement> getExportElementsFromView(com.google.gwt.user.client.ui.Widget currentViewWidget, ArrayList<ExportElement> exportElements, String viewName, String sectionName)
private static ExportElement createExportElement(String viewName, String sectionName, List<ExportElement> childElements, com.google.gwt.user.client.ui.Widget child)
viewName
- sectionName
- childElements
- child
-
public static List<ExportElement> addElementToElementArray(List<ExportElement> elementArray, ExportElement element)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |