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
Modifier and TypeClassDescriptionclass
static interface
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected List<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
-
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
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
(javax.faces.event.ActionEvent event) void
onBackToDefault
(javax.faces.event.ActionEvent event) void
onDown
(javax.faces.event.ActionEvent event) void
onDownloadCsvPartialGridAction
(javax.faces.event.ActionEvent event) void
onDownloadCsvWholeGridAction
(javax.faces.event.ActionEvent event) void
onDownloadHTMLPartialGridAction
(javax.faces.event.ActionEvent event) void
onDownloadHTMLWholeGridAction
(javax.faces.event.ActionEvent event) void
onDownloadPdfPartialGridAction
(javax.faces.event.ActionEvent event) void
onDownloadPdfWholeGrid
(javax.faces.event.ActionEvent event) void
onDownloadXLSXPartialGridAction
(javax.faces.event.ActionEvent event) void
onDownloadXLSXWholeGridAction
(javax.faces.event.ActionEvent event) void
onDownloadXMLPartialGridAction
(javax.faces.event.ActionEvent event) void
onDownloadXMLWholeGridAction
(javax.faces.event.ActionEvent event) void
onExportToClipboardRange
(javax.faces.event.ActionEvent event) void
onExportToClipboardRows
(javax.faces.event.ActionEvent event) void
onExportToClipboardWholeGrid
(javax.faces.event.ActionEvent event) void
onLeft
(javax.faces.event.ActionEvent event) void
onRevertChanges
(javax.faces.event.ActionEvent event) void
onRight
(javax.faces.event.ActionEvent event) void
onSearchNext
(javax.faces.event.ActionEvent event) void
onSearchPrevious
(javax.faces.event.ActionEvent event) void
onUp
(javax.faces.event.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.void
setCaseSensitive
(boolean value) void
setNumberOfFixColumns
(int numberOfFixColumns) void
setSearchText
(String value) Methods inherited from class org.eclnt.jsfserver.pagebean.PageBean
buildContentReplaceString, closePopup, getActualRootExpression, 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_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
-
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
-
getSearchResult
-
getDownloadFilenameCSV
-
getDownloadFilenameXLSX
-
getDownloadFilenameXML
-
getDownloadFilenamePDF
-
getDownloadFilenameHTML
-
onLeft
public void onLeft(javax.faces.event.ActionEvent event) -
onRight
public void onRight(javax.faces.event.ActionEvent event) -
onUp
public void onUp(javax.faces.event.ActionEvent event) -
onDown
public void onDown(javax.faces.event.ActionEvent event) -
getAvailableColumSequenceChange
public boolean getAvailableColumSequenceChange() -
onApply
public void onApply(javax.faces.event.ActionEvent event) -
onRevertChanges
public void onRevertChanges(javax.faces.event.ActionEvent event) -
onBackToDefault
public void onBackToDefault(javax.faces.event.ActionEvent event) -
getExportURLPdfWholeGrid
-
getExportURLPdfRows
-
getExportURLXLSXWholeGrid
-
getExportURLXLSXRows
-
getExportURLCsvWholeGrid
-
getExportURLCsvRows
-
getExportURLXMLWholeGrid
-
getExportURLXMLRows
-
getExportURLHTMLWholeGrid
-
getExportURLHTMLRows
-
getExportURLCsvRange
-
getExportURLXMLRange
-
onExportToClipboardWholeGrid
public void onExportToClipboardWholeGrid(javax.faces.event.ActionEvent event) -
onExportToClipboardRows
public void onExportToClipboardRows(javax.faces.event.ActionEvent event) -
onExportToClipboardRange
public void onExportToClipboardRange(javax.faces.event.ActionEvent event) -
setSearchText
-
getSearchText
-
getCaseSensitive
public boolean getCaseSensitive() -
setCaseSensitive
public void setCaseSensitive(boolean value) -
onSearchNext
public void onSearchNext(javax.faces.event.ActionEvent event) -
onSearchPrevious
public void onSearchPrevious(javax.faces.event.ActionEvent event) -
onDownloadPdfWholeGrid
public void onDownloadPdfWholeGrid(javax.faces.event.ActionEvent event) -
onDownloadCsvWholeGridAction
public void onDownloadCsvWholeGridAction(javax.faces.event.ActionEvent event) -
onDownloadXMLWholeGridAction
public void onDownloadXMLWholeGridAction(javax.faces.event.ActionEvent event) -
onDownloadHTMLWholeGridAction
public void onDownloadHTMLWholeGridAction(javax.faces.event.ActionEvent event) -
onDownloadXLSXWholeGridAction
public void onDownloadXLSXWholeGridAction(javax.faces.event.ActionEvent event) -
onDownloadPdfPartialGridAction
public void onDownloadPdfPartialGridAction(javax.faces.event.ActionEvent event) -
onDownloadCsvPartialGridAction
public void onDownloadCsvPartialGridAction(javax.faces.event.ActionEvent event) -
onDownloadXMLPartialGridAction
public void onDownloadXMLPartialGridAction(javax.faces.event.ActionEvent event) -
onDownloadHTMLPartialGridAction
public void onDownloadHTMLPartialGridAction(javax.faces.event.ActionEvent event) -
onDownloadXLSXPartialGridAction
public void onDownloadXLSXPartialGridAction(javax.faces.event.ActionEvent event) -
JUNIT_createFilledUpColumnSequence
-