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
Nested ClassesModifier and TypeInterfaceDescriptionstatic classSort information that is kept per sortable column. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionvoidWhen using triple state sorting then the original index of the items needs to be stored in the items.booleanintList<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) org.eclnt.jsfserver.elements.impl.IFIXGRIDComponentAbstractionintintintgetRows()intintintgetSortInfoForReference(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) voidpassComponentData(String objectBinding, org.eclnt.jsfserver.elements.impl.IFIXGRIDComponentAbstraction fixgridComponent) voidThis 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.voidsetClientvisibleamount(int value) voidsetColumnIndexOfLastSelection(int value) voidsetColumnIndexOfLastSelection(int value, boolean shiftPressed, boolean ctrlPressed, boolean altPressed, int mouseButton) voidsetColumnsequence(String value) voidsetCurrentHorizontalScrollPosition(int currentHorizontalScrollPosition) voidsetIndextobevisibleOfItems(int index) voidsetModcolumnwidths(String value) voidvoidsetSbvalue(String value) voidsetSbvisibleamount(int value) voidsetWithFixColumnsByUserConfiguration(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) -
getFixgridComponent
org.eclnt.jsfserver.elements.impl.IFIXGRIDComponentAbstraction getFixgridComponent() -
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.
-