Interface IFIXGRIDBinding<itemClass extends FIXGRIDItem>
- All Superinterfaces:
IConfiguredByLayout
,IDynamicContentBindingObject
- All Known Implementing Classes:
ARRAYGRIDListBinding
,DynBeanUI.Grid
,FIXGRIDBeanListBinding
,FIXGRIDBinding
,FIXGRIDListBinding
,FIXGRIDPivotListBinding
,FIXGRIDTreeBinding
,IdAttributesSelection.IdAttributesLineGrid
,IdTextSelection.IdTextLineGrid
,SPANGRIDListBinding
public interface IFIXGRIDBinding<itemClass extends FIXGRIDItem>
extends IConfiguredByLayout, IDynamicContentBindingObject
Interface for server side grid objects. Please also check the
documentation of
FIXGRIDListBinding
, which is the
default implementation.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Sort information that is kept per sortable column. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionvoid
When using triple state sorting then the original index of the items needs to be stored in the items.boolean
int
List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo>
Information about the columns that are currently exportable.List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo>
getExportableColumns
(boolean withConnectedBinding) int
int
int
getRows()
int
int
int
getSortInfoForReference
(String sortReference) Access to sort info for a sort reference.List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo>
Information about the columns that are currently visible.List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo>
getVisibleColumns
(boolean withConnectedBinding) void
passComponentData
(String objectBinding, org.eclnt.jsfserver.elements.impl.IFIXGRIDComponentAbstraction fixgridComponent) void
This method is called within the rendering phase - when the grid data is picked to be sent to client side: it "tells" the grid, that now the rendering stats, so this is the last moment to update the grid and the grid data before it is sent to the client.void
setClientvisibleamount
(int value) void
setColumnIndexOfLastSelection
(int value) void
setColumnIndexOfLastSelection
(int value, boolean shiftPressed, boolean ctrlPressed, boolean altPressed, int mouseButton) void
setColumnsequence
(String value) void
setCurrentHorizontalScrollPosition
(int currentHorizontalScrollPosition) void
setIndextobevisibleOfItems
(int index) void
setModcolumnwidths
(String value) void
void
setSbvalue
(String value) void
setSbvisibleamount
(int value) void
setWithFixColumnsByUserConfiguration
(boolean withFixColumnsByUserConfiguration) Methods inherited from interface org.eclnt.jsfserver.elements.IConfiguredByLayout
addConfiguredByLayoutListener, removeConfiguredByLayoutListener
-
Field Details
-
SORT_UNSORTED
static final int SORT_UNSORTED- See Also:
-
SORT_ASCENDING
static final int SORT_ASCENDING- See Also:
-
SORT_DESCENDING
static final int SORT_DESCENDING- See Also:
-
-
Method Details
-
getRows
List getRows() -
setSbvisibleamount
void setSbvisibleamount(int value) -
getSbvisibleamount
int getSbvisibleamount() -
setSbvalue
-
getSbvalue
int getSbvalue() -
getSbmaximum
int getSbmaximum() -
setIndextobevisibleOfItems
void setIndextobevisibleOfItems(int index) -
getIndextobevisibleOfItems
int getIndextobevisibleOfItems() -
setObjecttobevisibleOfItems
-
getObjecttobevisibleOfItems
FIXGRIDItem getObjecttobevisibleOfItems() -
getColumnsequence
String getColumnsequence() -
getNumberOfFixColumns
int getNumberOfFixColumns() -
setColumnsequence
-
getModcolumnwidths
String getModcolumnwidths() -
setModcolumnwidths
-
setClientvisibleamount
void setClientvisibleamount(int value) -
getClientvisibleamount
int getClientvisibleamount() -
checkIfChangeIndexIsSupported
boolean checkIfChangeIndexIsSupported() -
setColumnIndexOfLastSelection
void setColumnIndexOfLastSelection(int value, boolean shiftPressed, boolean ctrlPressed, boolean altPressed, int mouseButton) -
setColumnIndexOfLastSelection
void setColumnIndexOfLastSelection(int value) -
setWithFixColumnsByUserConfiguration
void setWithFixColumnsByUserConfiguration(boolean withFixColumnsByUserConfiguration) -
passComponentData
void passComponentData(String objectBinding, org.eclnt.jsfserver.elements.impl.IFIXGRIDComponentAbstraction fixgridComponent) -
getSortInfo
Map<String,IFIXGRIDBinding.FIXGRIDSortInfo> getSortInfo() -
getSortInfoForReference
Access to sort info for a sort reference. If the sort reference does not exist yet, then a new one is created. The sort info is the one that tells per sort reference if the corresponding column is sorted. -
renderingBegins
void renderingBegins()This method is called within the rendering phase - when the grid data is picked to be sent to client side: it "tells" the grid, that now the rendering stats, so this is the last moment to update the grid and the grid data before it is sent to the client. -
getVisibleColumns
List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo> getVisibleColumns()Information about the columns that are currently visible. -
getVisibleColumns
List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo> getVisibleColumns(boolean withConnectedBinding) -
getExportableColumns
List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo> getExportableColumns()Information about the columns that are currently exportable. -
getExportableColumns
List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo> getExportableColumns(boolean withConnectedBinding) -
setCurrentHorizontalScrollPosition
void setCurrentHorizontalScrollPosition(int currentHorizontalScrollPosition) -
getNewClientHorizontalScrollPosition
int getNewClientHorizontalScrollPosition() -
getConnectedBinding
IFIXGRIDBinding getConnectedBinding() -
applyOriginalIndexToCurrentContent
void applyOriginalIndexToCurrentContent()When using triple state sorting then the original index of the items needs to be stored in the items. This method assigns this original index.
-