Class ARRAYGRIDListBinding<T extends ARRAYGRIDItem>
java.lang.Object
org.eclnt.jsfserver.elements.impl.FIXGRIDBinding<ItemClass>
org.eclnt.jsfserver.elements.impl.FIXGRIDListBinding<T>
org.eclnt.jsfserver.elements.impl.ARRAYGRIDListBinding<T>
- All Implemented Interfaces:
Serializable
,IConfiguredByLayout
,IFIXGRIDBinding<T>
,IListWithChangeIndexListener
,IDynamicContentBindingObject
Counter part of ARRAGRID component. The ARRAYGRID allows to define output-only
grids - the column structure is defined by the binding (and not by the layout definition).
The minimum definitions you need to do is:
(1.)
(2.)
(3.) and
The minimum definitions you need to do is:
(1.)
setTitles(String[])
(2.)
setWidths(String[])
(3.) and
ARRAYGRIDItem.setValues(Object[])
within the item objects- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclnt.jsfserver.elements.impl.FIXGRIDBinding
FIXGRIDBinding.Exporter, FIXGRIDBinding.FormattedValue, FIXGRIDBinding.ScrollHelper, FIXGRIDBinding.SortHelper, FIXGRIDBinding.TextSearcher
Nested classes/interfaces inherited from interface org.eclnt.jsfserver.elements.impl.IFIXGRIDBinding
IFIXGRIDBinding.FIXGRIDSortInfo
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final String
static final String
Fields inherited from class org.eclnt.jsfserver.elements.impl.FIXGRIDBinding
CONTENTTYPE_EXPORT_CSV, CONTENTTYPE_EXPORT_HTML, CONTENTTYPE_EXPORT_PDF, CONTENTTYPE_EXPORT_TAB, CONTENTTYPE_EXPORT_XLSX, CONTENTTYPE_EXPORT_XML, EXPORT_COLUMNHEADER_PLACEHOLDER, m_columnsequence, m_currentlyFocussedItem, m_defaultColumnsequence, m_firstItemForShiftSelection, m_initialized, m_modcolumnwidths, m_numberoffooterrows, m_numberofheaderrows, m_objectBinding, m_previouslyFocussedItem, m_sbvalue, m_sbvisibleamount, m_selectedItems, m_sortInfo, m_this
Fields inherited from interface org.eclnt.jsfserver.elements.impl.IFIXGRIDBinding
SORT_ASCENDING, SORT_DESCENDING, SORT_UNSORTED
-
Constructor Summary
ConstructorDescriptionBy default the change index is supported within ARRAYGRIDListBinding objects.ARRAYGRIDListBinding
(boolean changeIndexIsSupported) -
Method Summary
Modifier and TypeMethodDescriptionString[]
int[]
Explicit definition of control type used for a certain columns.String[]
Format mask definitions fot the columns ("short","medium","long","dec2",...,null)String[]
Format definitions fot the columns ("int","float","date",...,null)boolean[]
Indicator for each column, if a right-mouse-button-search in the title column is enabled.int
A change of the structure is indicated by the change index.String[]
Time zone definitions for these columns representing date or time values.String[]
String[]
Background colors for title columns (e.g.String[]
Foreground colors for title columns (e.g.String[]
String[]
Tooltips that are defined for the title columns.String[]
void
Alignments for the columns ("left","center","right","left!"void
setControltypes
(int[] controltypes) void
setFormatmasks
(String[] formatmasks) void
setFormats
(String[] formats) void
setSearchenableds
(boolean[] searchenableds) void
setTimezones
(String[] timezones) void
setTitlealigns
(String[] titlealigns) Alignments for the title columns ("left","center","right","left!"void
setTitlebackgrounds
(String[] titlebackgrounds) void
setTitleforegrounds
(String[] titleforegrounds) void
Titles for the columns.void
setTitleTooltips
(String[] titleTooltips) void
Widths for the columns.Methods inherited from class org.eclnt.jsfserver.elements.impl.FIXGRIDListBinding
applyOriginalIndexToCurrentContent, createItems, deselectItem, ensureItemToBeDisplayed, ensureItemToBeDisplayed, fillShiftSelection, getItems, getListOfItems, getRows, getSbmaximum, getSelectedItemsAsSequence, listChanged, listItemWasAdded, listItemWasRemoved, processSearch, selectItem, setItems, setSbvalue, setSbvalue, sortGrid, sortGridByOriginalIndex
Methods inherited from class org.eclnt.jsfserver.elements.impl.FIXGRIDBinding
addConfiguredByLayoutListener, applyPersistentData, avoidLoadingOfPersistentGridData, checkIfCellsAreHighlighted, checkIfChangeIndexIsSupported, checkIfFreeColumnSequenceUpdateIsSupported, checkIfSorted, checkIfToCatchGridActionError, checkSpecialTouchMultiSelection, clearSortInfo, connectWithBinding, createDefaultStringComparator, createExporter, createScrollHelper, createTextSearcher, deselectCurrentSelection, deselectItem, deselectItem, deselectItemWCB, executeOnInitializedGrid, findSortComparatorForColumnValue, getAltPressedOfLastSelection, getClientvisibleamount, getColumnIndexOfLastSelection, getColumnInfos, getColumnsequence, getColumnTexts, getConnectedBinding, getCtrlPressedOfLastSelection, getCurrentColumWdithSequenceInfo, getCurrentHorizontalScrollPosition, getDefaultColumnsequence, getExportableColumns, getExportableColumns, getExporter, getFixgridComponent, getIndextobevisibleOfItems, getItemColumnClientStringValue, getItemColumnFormattedValue, getListOfExportItems, getModcolumnwidths, getModcolumnwidthsAsArray, getMouseButtonOfLastSelection, getNewClientHorizontalScrollPosition, getNumberOfFixColumns, getObjecttobevisibleOfItems, getOriginalcolumnwidths, getOriginalcolumnwidthsAsArray, getRowDataUI, getSbvalue, getSbvisibleamount, getScrollHelper, getSelectedItem, getSelectedItems, getShiftPressedOfLastSelection, getSortInfo, getSortInfoForReference, getTextSearcher, getToBeAccessedNode, getToBeAccessedNodeExpression, getToBeAccessedNodeFormatmaskValue, getToBeAccessedNodeFormattedValue, getToBeAccessedNodeFormattedValue, getToBeAccessedNodeFormattedValueForExport, getToBeAccessedNodeFormatValue, getToBeAccessedNodeStringValue, getToBeAccessedNodeTimezoneValue, getToBeAccessedNodeValue, getVisibleColumns, getVisibleColumns, getWithFixColumnsByUserConfiguration, init_CONTENTTYPE_EXPORT_CSV, init_CONTENTTYPE_EXPORT_HTML, init_CONTENTTYPE_EXPORT_PDF, init_CONTENTTYPE_EXPORT_XLSX, init_CONTENTTYPE_EXPORT_XML, initialize, initPopupEditColumnDetailsUndecorated, initPopupGridFunctionsUndecorated, initTextSearcherShowSearchInfoPopup, isCurrentlyProcessingGridAction, isInitialized, isItemSelected, loadPersistentData, moveUpDown, notifyDownloadWasTriggered, onClearCellHighlight, onColumnSequenceUpdated, onColumnWidthsUpdated, onDrop, onEditColumnDetails, onFirstLineUp, onGridAction, onGridActionExecute, onLastLineDown, onOpenGridExportFunctions, onOpenGridFunctions, onPopupMenuItem, onPopupMenuLoad, onSelectionUpdateByClientActivity, onSelectorTitleIconInvoked, openEditColumnDetailsPopup, openGridExportFunctionsPopup, openGridFunctionsPopup, passComponentData, processMenuItemExecutedOnOutdatedItem, processMultipleSort, processMultipleSort, processSort, removeConfiguredByLayoutListener, renderingBegins, resetPersistentData, resort, scrollHorizontallyToLastClientPosition, scrollHorizontallyToPosition, selectAndFocusItem, selectItem, selectItem, setChangeIndexIsSupported, setClientvisibleamount, setColumnIndexOfLastSelection, setColumnIndexOfLastSelection, setColumnsequence, setCurrentHorizontalScrollPosition, setCurrentlyProcessingGridAction, setDefaultColumnsequence, setIndextobevisibleOfItems, setModcolumnwidth, setModcolumnwidths, setModcolumnwidthsArray, setModcolumnwidthsList, setNumberOfFixColumns, setObjecttobevisibleOfItems, setSbvalue, setSbvisibleamount, setToBeAccessedNode, setWithFixColumnsByUserConfiguration, sort, storePersistentData, storePersistentData, storePersistentDataImplicitly, unhighlightAllCells, updateHighlight
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclnt.jsfserver.elements.IConfiguredByLayout
addConfiguredByLayoutListener, removeConfiguredByLayoutListener
Methods inherited from interface org.eclnt.jsfserver.elements.impl.IFIXGRIDBinding
checkIfChangeIndexIsSupported, getClientvisibleamount, getColumnsequence, getConnectedBinding, getExportableColumns, getExportableColumns, getIndextobevisibleOfItems, getModcolumnwidths, getNewClientHorizontalScrollPosition, getNumberOfFixColumns, getObjecttobevisibleOfItems, getSbvalue, getSbvisibleamount, getSortInfo, getSortInfoForReference, getVisibleColumns, getVisibleColumns, passComponentData, renderingBegins, setClientvisibleamount, setColumnIndexOfLastSelection, setColumnIndexOfLastSelection, setColumnsequence, setCurrentHorizontalScrollPosition, setIndextobevisibleOfItems, setModcolumnwidths, setObjecttobevisibleOfItems, setSbvisibleamount, setWithFixColumnsByUserConfiguration
-
Field Details
-
CONTROLTYPE_DEFAULT
public static final int CONTROLTYPE_DEFAULT- See Also:
-
CONTROLTYPE_FORMATTEDFIELD
public static final int CONTROLTYPE_FORMATTEDFIELD- See Also:
-
CONTROLTYPE_TEXTAREA
public static final int CONTROLTYPE_TEXTAREA- See Also:
-
CONTROLTYPE_IMAGE
public static final int CONTROLTYPE_IMAGE- See Also:
-
TEXT_GRIDROWINDEX
- See Also:
-
TEXT_GRIDROWSELECTOR
- See Also:
-
-
Constructor Details
-
ARRAYGRIDListBinding
public ARRAYGRIDListBinding()By default the change index is supported within ARRAYGRIDListBinding objects. This is different compared to the normal FIXGRIDListBinding, where by default the change index is not supported. -
ARRAYGRIDListBinding
public ARRAYGRIDListBinding(boolean changeIndexIsSupported)
-
-
Method Details
-
setTitles
Titles for the columns. -
getTitles
-
setWidths
Widths for the columns. -
getWidths
-
setAligns
Alignments for the columns ("left","center","right","left!","right!",null). -
getAligns
-
setTitlealigns
Alignments for the title columns ("left","center","right","left!","right!",null). Only needs to be defined, when different to content alignment. -
getTitlealigns
-
getTitlebackgrounds
Background colors for title columns (e.g. "#FF0000"). Only needs to be defined, when different to default background colors. -
setTitlebackgrounds
-
getTitleforegrounds
Foreground colors for title columns (e.g. "#FF0000"). Only needs to be defined, when different to default foreground colors. -
setTitleforegrounds
-
getFormats
Format definitions fot the columns ("int","float","date",...,null) -
setFormats
-
getFormatmasks
Format mask definitions fot the columns ("short","medium","long","dec2",...,null) -
setFormatmasks
-
getTimezones
Time zone definitions for these columns representing date or time values. -
setTimezones
-
getTitleTooltips
Tooltips that are defined for the title columns. -
setTitleTooltips
-
getSearchenableds
public boolean[] getSearchenableds()Indicator for each column, if a right-mouse-button-search in the title column is enabled. -
setSearchenableds
public void setSearchenableds(boolean[] searchenableds) -
getControltypes
public int[] getControltypes()Explicit definition of control type used for a certain columns. User the CONTROLTYPE_* defintions. -
setControltypes
public void setControltypes(int[] controltypes) -
getStructureChangeIndex
public int getStructureChangeIndex()A change of the structure is indicated by the change index.
-