|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openswing.swing.export.java.ComponentExportOptions
org.openswing.swing.export.java.GridExportOptions
Title: OpenSwing Framework
Description: Export information needed to export data related to a grid on the server side.
Copyright: Copyright (C) 2006 Mauro Carniel
This file is part of OpenSwing Framework. This library is free software; you can redistribute it and/or modify it under the terms of the (LGPL) Lesser General Public License as published by the Free Software Foundation; GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. The author may be contacted at: maurocarniel@tin.it
Field Summary | |
static int |
TYPE_CHECK
|
static int |
TYPE_COMBO
|
static int |
TYPE_CURRENCY
|
static int |
TYPE_DATE
|
static int |
TYPE_DATE_TIME
|
static int |
TYPE_DEC
|
static int |
TYPE_INT
|
static int |
TYPE_LOOKUP
|
static int |
TYPE_PERC
|
static int |
TYPE_TEXT
|
static int |
TYPE_TIME
|
Constructor Summary | |
GridExportOptions(java.util.ArrayList exportColumns,
java.util.ArrayList exportAttrColumns,
java.util.Map filteredColumns,
java.util.ArrayList currentSortedColumns,
java.util.ArrayList currentSortedVersusColumns,
java.util.Map otherGridParams,
int maxRows,
java.lang.Class valueObjectType,
GridDataLocator gridDataLocator,
java.util.Hashtable columnsWidth,
java.util.Hashtable columnsType,
java.util.Hashtable attributeDescriptions,
java.util.ArrayList topRows,
java.util.ArrayList bottomRows)
Method called by Grid. |
Method Summary | |
java.util.ArrayList |
getBottomRows()
|
GridExportCallbacks |
getCallbacks()
|
java.util.Hashtable |
getColumnsType()
|
java.util.Hashtable |
getColumnsWidth()
|
java.util.ArrayList |
getCurrentSortedColumns()
|
java.util.ArrayList |
getCurrentSortedVersusColumns()
|
java.util.ArrayList |
getExportAttrColumns()
|
java.util.ArrayList |
getExportColumns()
|
java.util.Map |
getFilteredColumns()
|
java.lang.String[] |
getFilteringConditions()
|
GridDataLocator |
getGridDataLocator()
|
int |
getMaxRows()
|
java.util.Map |
getOtherGridParams()
|
java.lang.String |
getServerMethodName()
|
java.lang.String |
getTitle()
|
java.util.ArrayList |
getTopRows()
|
java.lang.Class |
getValueObjectType()
|
void |
setCallbacks(GridExportCallbacks callbacks)
Set callbacks callbacks to invoke when exporting grid. |
void |
setGridDataLocator(GridDataLocator gridDataLocator)
Set the grid data locator. |
void |
setServerMethodName(java.lang.String serverMethodName)
Set the server method name to invoke on the server. |
void |
setShowFilteringConditions(boolean showFilteringConditions)
Used to add a filter panel on top of the grid, in order to show filtering conditions. |
void |
setTitle(java.lang.String title)
Set the export document title. |
Methods inherited from class org.openswing.swing.export.java.ComponentExportOptions |
getCellsContent, setCellsContent |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int TYPE_TEXT
public static final int TYPE_DATE
public static final int TYPE_DATE_TIME
public static final int TYPE_TIME
public static final int TYPE_INT
public static final int TYPE_DEC
public static final int TYPE_CHECK
public static final int TYPE_COMBO
public static final int TYPE_LOOKUP
public static final int TYPE_PERC
public static final int TYPE_CURRENCY
Constructor Detail |
public GridExportOptions(java.util.ArrayList exportColumns, java.util.ArrayList exportAttrColumns, java.util.Map filteredColumns, java.util.ArrayList currentSortedColumns, java.util.ArrayList currentSortedVersusColumns, java.util.Map otherGridParams, int maxRows, java.lang.Class valueObjectType, GridDataLocator gridDataLocator, java.util.Hashtable columnsWidth, java.util.Hashtable columnsType, java.util.Hashtable attributeDescriptions, java.util.ArrayList topRows, java.util.ArrayList bottomRows)
exportColumns
- column identifiers related to columns to exportexportAttrColumns
- attribute names related to the columns to exportfilteredColumns
- filtered columns; collection of pairs: attributeName, FilterWhereClause[2]currentSortedColumns
- sorted columnscurrentSortedVersusColumns
- ordering versus of sorted columnsotherGridParams
- other grid parametersmaxRows
- maximum number of rows to exportvalueObjectType
- v.o. typegridDataLocator
- grid data locatorcolumnsWidth
- columns widthcolumnsType
- columns typeattributeDescriptions
- collection of pairs topRows
- list of locked rows at the top of the gridbottomRows
- list of locked rows at the bottom of the gridMethod Detail |
public final java.util.ArrayList getExportAttrColumns()
public final java.util.ArrayList getExportColumns()
public final java.util.ArrayList getCurrentSortedColumns()
public final java.util.ArrayList getCurrentSortedVersusColumns()
public final java.util.Map getOtherGridParams()
public final java.util.Map getFilteredColumns()
public final java.lang.String getServerMethodName()
public final int getMaxRows()
public final void setServerMethodName(java.lang.String serverMethodName)
serverMethodName
- server method name to invoke on the serverpublic final GridDataLocator getGridDataLocator()
public final void setGridDataLocator(GridDataLocator gridDataLocator)
gridDataLocator
- grid data locatorpublic final java.util.Hashtable getColumnsType()
public final java.util.Hashtable getColumnsWidth()
public final java.lang.Class getValueObjectType()
public final java.util.ArrayList getTopRows()
public final java.util.ArrayList getBottomRows()
public final void setShowFilteringConditions(boolean showFilteringConditions)
true
and there is at least one filtering condition applied.
showFilteringConditions
- used to add a filter panel on top of the grid, in order to show filtering conditionspublic final java.lang.String getTitle()
public final void setTitle(java.lang.String title)
title
- export document titlepublic java.lang.String[] getFilteringConditions()
public final GridExportCallbacks getCallbacks()
public final void setCallbacks(GridExportCallbacks callbacks)
callbacks
- callbacks to invoke when exporting grid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |