| java.lang.Object com.projity.pm.graphic.spreadsheet.SpreadSheetUtils
SpreadSheetUtils | public class SpreadSheetUtils (Code) | | Helper methods for working with spreadsheets
|
Method Summary | |
public static void | createCollectionSpreadSheet(SpreadSheet ss, Collection collection, String viewId, String spreadSheetCategory, String spreadSheetId, boolean leftAssociation, NodeModelDataFactory dataFactory, int nbVoidNodes) | public static SpreadSheet | createFilteredSpreadsheet(DocumentFrame df, boolean task, String viewId, String spreadSheetCategory, String spreadSheetId, boolean leftAssociation, String[] actionList) This one doesn't recreate the cache and all its associated objects since they allready exist in the main referenceNodeModelCache.
It just applies a filter. | public static SpreadSheet | createFilteredSpreadsheet(NodeModelCache cache, String spreadSheetCategory, String spreadSheetId, boolean leftAssociation, String[] actionList) | public static Field | getFieldInColumn(int col, SpreadSheetColumnModel colModel) | public static List | getFieldsForCategory(String category) | public static GraphicNode | getNodeFromCacheRow(int row, int rowMultiple, NodeModelCache cache) | public static Node | getNodeInRow(int row, int rowMultiple, NodeModelCache cache) | public static Object | getValueAt(int row, int col, int rowMultiple, NodeModelCache cache, SpreadSheetColumnModel colModel, FieldContext context) | public static Object | getValueAt(Node node, int col, NodeModelCache cache, SpreadSheetColumnModel colModel, FieldContext context) | public static JScrollPane | makeSpreadsheetScrollPane(SpreadSheet spreadSheet) | public static void | setFieldsAndContext(SpreadSheet ss, NodeModelCache cache, String spreadSheetCategory, String spreadSheetId, boolean leftAssociation) | public static void | updateCollectionSpreadSheet(SpreadSheet ss, Collection collection, NodeModelDataFactory dataFactory, int nbVoidNodes) | public static void | updateFilteredSpreadsheet(SpreadSheet ss, Collection collection) |
createCollectionSpreadSheet | public static void createCollectionSpreadSheet(SpreadSheet ss, Collection collection, String viewId, String spreadSheetCategory, String spreadSheetId, boolean leftAssociation, NodeModelDataFactory dataFactory, int nbVoidNodes)(Code) | | Refresh the contents of a collection based spreadsheet
Parameters: ss - Parameters: collection - Parameters: document - Parameters: viewId - Parameters: spreadSheetCategory - Parameters: spreadSheetId - Parameters: leftAssociation - Parameters: nbVoidNodes - TODO |
createFilteredSpreadsheet | public static SpreadSheet createFilteredSpreadsheet(DocumentFrame df, boolean task, String viewId, String spreadSheetCategory, String spreadSheetId, boolean leftAssociation, String[] actionList)(Code) | | This one doesn't recreate the cache and all its associated objects since they allready exist in the main referenceNodeModelCache.
It just applies a filter. (a simplified version of SelectionFilter used by UsageDetail)
Parameters: nbVoidNodes - TODO Parameters: popupActions - TODO |
getFieldsForCategory | public static List getFieldsForCategory(String category)(Code) | | |
makeSpreadsheetScrollPane | public static JScrollPane makeSpreadsheetScrollPane(SpreadSheet spreadSheet)(Code) | | put a spreadsheet in a scroll pane and fix problems with scrolling header
Parameters: spreadSheet - |
updateFilteredSpreadsheet | public static void updateFilteredSpreadsheet(SpreadSheet ss, Collection collection)(Code) | | changes filter's collection
|
|
|