Class GridDetails
java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.defaultscreens.GridDetails
- All Implemented Interfaces:
Serializable
,IPageBean
,IDynamicContentBindingObject
This is the one class managing the "popup aspects" of a grid:
(1.) the search & export popup
(2.) the popup for arranging the columns
Background: you may e.g. use the class to build an own popup dialog providing both parts of the function within one popup.
There are two static members by which you can directly set the default popup page names that are opened for "grid functions" and for "column detail editing": PAGENAME_FUNCTIONS and PAGENAME_COLUMNDETAILS.
(1.) the search & export popup
(2.) the popup for arranging the columns
Background: you may e.g. use the class to build an own popup dialog providing both parts of the function within one popup.
There are two static members by which you can directly set the default popup page names that are opened for "grid functions" and for "column detail editing": PAGENAME_FUNCTIONS and PAGENAME_COLUMNDETAILS.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
static class
static interface
static interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected List<IFIXGRIDColumnInfo>
protected Map<IFIXGRIDColumnInfo,
Integer> protected Map<Integer,
IFIXGRIDColumnInfo> protected FIXGRIDBinding
protected FIXGRIDListBinding<GridDetails.ColumnItem>
protected GridDetails.IGridDetailsListener
protected int
protected String
protected FIXGRIDListBinding<GridDetails.ColumnItem>
protected boolean
static String
Default page name used for popup for re-arranging the column sequence.static String
Default page name used for export popup.static String
Default page name used for search & export popup.static boolean
Default visibility of back-to-default link.static boolean
Default visibility of revert-changes link.Fields inherited from class org.eclnt.jsfserver.pagebean.PageBean
m_pageModifier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
getLefts()
int
Name of page that is managed by the bean.boolean
boolean
Inside the page definition the bean is addressed via a certain root expression - e.g.boolean
static void
Certain grid functions are calling an interfaceGridDetails.IGridDetailExtension
that you pass by calling this method.static void
initRowFunctionsAvailable
(boolean value) When the user selects one ore more items from a grid, then the default popup for showing the export functions contains a section to export the selected rows only.static String
JUNIT_createFilledUpColumnSequence
(int numberOfColumns, String colGroupIdsCSV, String columnSequence) void
onApply
(ActionEvent event) void
onBackToDefault
(ActionEvent event) void
onDown
(ActionEvent event) void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
onLeft
(ActionEvent event) void
onRevertChanges
(ActionEvent event) void
onRight
(ActionEvent event) void
onSearchNext
(ActionEvent event) void
onSearchPrevious
(ActionEvent event) void
onUp
(ActionEvent event) void
prepare
(FIXGRIDBinding grid, GridDetails.IGridDetailsListener listener, boolean cellFunctionsAvailable, String pageName) You may use this class on your own and pass an own jsp page into the page bean.protected void
void
setCaseSensitive
(boolean value) void
setNumberOfFixColumns
(int numberOfFixColumns) void
setSearchText
(String value) protected void
protected void
Methods inherited from class org.eclnt.jsfserver.pagebean.PageBean
buildContentReplaceString, closePopup, getActualRootExpression, getModalModelessPopupForPopupPageBean, getPageModifier, getPopups, getStamp, initializePageModifier, onBeforeRendering, openModalPopup, openModelessPopup, pbx, readPageLayoutXML, setActualRootExpression
-
Field Details
-
PAGENAME_FUNCTIONS
Default page name used for search & export popup. -
PAGENAME_EXPORTFUNCTIONS
Default page name used for export popup. -
PAGENAME_COLUMNSDETAILS
Default page name used for popup for re-arranging the column sequence. -
RENDERED_revertChanges
public static boolean RENDERED_revertChangesDefault visibility of revert-changes link. -
RENDERED_backToDefault
public static boolean RENDERED_backToDefaultDefault visibility of back-to-default link. -
m_grid
-
m_lefts
-
m_rights
-
m_columnInfos
-
m_columnInfosOriginalIndices
-
m_columnInfosOriginalIndicesReverse
-
m_columnWidths
-
m_columnSequence
-
m_listener
-
m_cellFunctionsAvailable
protected boolean m_cellFunctionsAvailable -
m_rowFunctionsAvailable
protected boolean m_rowFunctionsAvailable -
m_pageName
-
m_numberOfFixColumns
protected int m_numberOfFixColumns
-
-
Constructor Details
-
GridDetails
public GridDetails()
-
-
Method Details
-
initializeExtension
Certain grid functions are calling an interfaceGridDetails.IGridDetailExtension
that you pass by calling this method. -
getPageName
Description copied from interface:IPageBean
Name of page that is managed by the bean. This can either be a static return value that stays fix for the whole lifecycle of the bean, or it may also be a value that changed - in case there are several pages that are possible to be managed by the page bean.- Specified by:
getPageName
in interfaceIPageBean
- Specified by:
getPageName
in classPageBean
-
getRootExpressionUsedInPage
Description copied from interface:IPageBean
Inside the page definition the bean is addressed via a certain root expression - e.g. "#{d.XYZBean}". The page bean management requires this expression in order to execute certain expression replacements when loading the page at runtime.- Specified by:
getRootExpressionUsedInPage
in interfaceIPageBean
- Specified by:
getRootExpressionUsedInPage
in classPageBean
-
initRowFunctionsAvailable
public static void initRowFunctionsAvailable(boolean value) When the user selects one ore more items from a grid, then the default popup for showing the export functions contains a section to export the selected rows only. You may switch off this feature by passing "false" by this method - then only these export functions are available that refer to the whole grid. -
prepare
public void prepare(FIXGRIDBinding grid, GridDetails.IGridDetailsListener listener, boolean cellFunctionsAvailable, String pageName) You may use this class on your own and pass an own jsp page into the page bean. -
getAvailableNumberOfFixColumns
public boolean getAvailableNumberOfFixColumns() -
getNumberOfFixColumns
public int getNumberOfFixColumns() -
setNumberOfFixColumns
public void setNumberOfFixColumns(int numberOfFixColumns) -
getRenderedRevertChanges
public boolean getRenderedRevertChanges() -
getRenderedBackToDefault
public boolean getRenderedBackToDefault() -
getLefts
-
getRights
-
getCellFunctionsAvailable
public boolean getCellFunctionsAvailable() -
getRowFunctionsAvailable
public boolean getRowFunctionsAvailable() -
getXlsxAvailable
-
getOdsAvailable
-
getSearchResult
-
getDownloadFilenameCSV
-
getDownloadFilenameXLSX
-
getDownloadFilenameXML
-
getDownloadFilenamePDF
-
getDownloadFilenameHTML
-
getDownloadFilenameODS
-
onLeft
-
onRight
-
onUp
-
onDown
-
getAvailableColumSequenceChange
public boolean getAvailableColumSequenceChange() -
onApply
-
onRevertChanges
-
onBackToDefault
-
getExportURLPdfWholeGrid
-
getExportURLPdfRows
-
getExportURLXLSXWholeGrid
-
getExportURLXLSXRows
-
getExportURLODSWholeGrid
-
getExportURLODSRows
-
getExportURLCsvWholeGrid
-
getExportURLCsvRows
-
getExportURLXMLWholeGrid
-
getExportURLXMLRows
-
getExportURLHTMLWholeGrid
-
getExportURLHTMLRows
-
getExportURLCsvRange
-
getExportURLXMLRange
-
onExportToClipboardWholeGrid
-
onExportToClipboardRows
-
onExportToClipboardRange
-
setSearchText
-
getSearchText
-
getCaseSensitive
public boolean getCaseSensitive() -
setCaseSensitive
public void setCaseSensitive(boolean value) -
onSearchNext
-
onSearchPrevious
-
onDownloadPdfWholeGrid
-
onDownloadCsvWholeGridAction
-
onDownloadXMLWholeGridAction
-
onDownloadHTMLWholeGridAction
-
onDownloadXLSXWholeGridAction
-
onDownloadODSWholeGridAction
-
onDownloadPdfPartialGridAction
-
onDownloadCsvPartialGridAction
-
onDownloadXMLPartialGridAction
-
onDownloadHTMLPartialGridAction
-
onDownloadXLSXPartialGridAction
-
onDownloadODSPartialGridAction
-
readColumnInfos
protected void readColumnInfos() -
sortColumnItemsByText
-
sortColumnItemsByIndex
-
JUNIT_createFilledUpColumnSequence
-