Class GridDetails

java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.defaultscreens.GridDetails
All Implemented Interfaces:
Serializable, IPageBean, IDynamicContentBindingObject

public class GridDetails extends PageBean implements Serializable
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.
See Also:
  • Field Details

    • PAGENAME_FUNCTIONS

      public static String PAGENAME_FUNCTIONS
      Default page name used for search & export popup.
    • PAGENAME_EXPORTFUNCTIONS

      public static String PAGENAME_EXPORTFUNCTIONS
      Default page name used for export popup.
    • PAGENAME_COLUMNSDETAILS

      public static String PAGENAME_COLUMNSDETAILS
      Default page name used for popup for re-arranging the column sequence.
    • RENDERED_revertChanges

      public static boolean RENDERED_revertChanges
      Default visibility of revert-changes link.
    • RENDERED_backToDefault

      public static boolean RENDERED_backToDefault
      Default visibility of back-to-default link.
    • m_grid

      protected FIXGRIDBinding m_grid
    • m_lefts

    • m_rights

    • m_columnInfos

      protected List<IFIXGRIDColumnInfo> m_columnInfos
    • m_columnWidths

      protected List<Integer> m_columnWidths
    • m_columnSequence

      protected List<Integer> m_columnSequence
    • m_listener

      protected GridDetails.IGridDetailsListener m_listener
    • m_cellFunctionsAvailable

      protected boolean m_cellFunctionsAvailable
    • m_rowFunctionsAvailable

      protected boolean m_rowFunctionsAvailable
    • m_pageName

      protected String m_pageName
    • m_numberOfFixColumns

      protected int m_numberOfFixColumns
  • Constructor Details

    • GridDetails

      public GridDetails()
  • Method Details

    • getPageName

      public String 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 interface IPageBean
      Specified by:
      getPageName in class PageBean
    • getRootExpressionUsedInPage

      public String 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 interface IPageBean
      Specified by:
      getRootExpressionUsedInPage in class PageBean
    • 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

      public Boolean getXlsxAvailable()
    • getSearchResult

      public String getSearchResult()
    • getDownloadFilenameCSV

      public String getDownloadFilenameCSV()
    • getDownloadFilenameXLSX

      public String getDownloadFilenameXLSX()
    • getDownloadFilenameXML

      public String getDownloadFilenameXML()
    • getDownloadFilenamePDF

      public String getDownloadFilenamePDF()
    • getDownloadFilenameHTML

      public String 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

      public String getExportURLPdfWholeGrid()
    • getExportURLPdfRows

      public String getExportURLPdfRows()
    • getExportURLXLSXWholeGrid

      public String getExportURLXLSXWholeGrid()
    • getExportURLXLSXRows

      public String getExportURLXLSXRows()
    • getExportURLCsvWholeGrid

      public String getExportURLCsvWholeGrid()
    • getExportURLCsvRows

      public String getExportURLCsvRows()
    • getExportURLXMLWholeGrid

      public String getExportURLXMLWholeGrid()
    • getExportURLXMLRows

      public String getExportURLXMLRows()
    • getExportURLHTMLWholeGrid

      public String getExportURLHTMLWholeGrid()
    • getExportURLHTMLRows

      public String getExportURLHTMLRows()
    • getExportURLCsvRange

      public String getExportURLCsvRange()
    • getExportURLXMLRange

      public String 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

      public void setSearchText(String value)
    • getSearchText

      public String 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

      public static String JUNIT_createFilledUpColumnSequence(int numberOfColumns, String colGroupIdsCSV, String columnSequence)