Class InfiniteItemView<RECORD>
java.lang.Object
org.teamapps.ux.component.AbstractComponent
org.teamapps.ux.component.infiniteitemview.InfiniteItemView<RECORD>
- All Implemented Interfaces:
ClientObject,Component
@Deprecated public class InfiniteItemView<RECORD> extends AbstractComponent
Deprecated.
Use
InfiniteItemView2 instead!-
Field Summary
Fields Modifier and Type Field Description protected ClientRecordCache<RECORD,org.teamapps.dto.UiIdentifiableClientRecord>itemCacheDeprecated.Event<ItemClickedEventData<RECORD>>onItemClickedDeprecated.Fields inherited from class org.teamapps.ux.component.AbstractComponent
DELETED_ATTRIBUTE, onRendered -
Constructor Summary
Constructors Constructor Description InfiniteItemView()Deprecated.InfiniteItemView(float itemWidth, int itemHeight)Deprecated.InfiniteItemView(Template itemTemplate, float itemWidth, int rowHeight)Deprecated. -
Method Summary
Modifier and Type Method Description voidcloseContextMenu()Deprecated.org.teamapps.dto.UiComponentcreateUiComponent()Deprecated.java.util.function.Function<RECORD,Component>getContextMenuProvider()Deprecated.intgetHorizontalItemMargin()Deprecated.ItemViewRowJustificationgetItemJustification()Deprecated.PropertyProvider<RECORD>getItemPropertyProvider()Deprecated.TemplategetItemTemplate()Deprecated.floatgetItemWidth()Deprecated.InfiniteItemViewModel<RECORD>getModel()Deprecated.intgetNumberOfInitialRecords()Deprecated.intgetRowHeight()Deprecated.ItemViewVerticalItemAlignmentgetVerticalItemAlignment()Deprecated.voidhandleUiEvent(org.teamapps.dto.UiEvent event)Deprecated.booleanisAutoHeight()Deprecated.voidrefresh()Deprecated.protected voidsendRecords(int startIndex, int length, boolean clear)Deprecated.voidsetAutoHeight(boolean autoHeight)Deprecated.voidsetContextMenuProvider(java.util.function.Function<RECORD,Component> contextMenuProvider)Deprecated.InfiniteItemView<RECORD>setHorizontalItemMargin(int horizontalItemMargin)Deprecated.InfiniteItemView<RECORD>setItemJustification(ItemViewRowJustification itemJustification)Deprecated.voidsetItemPropertyExtractor(PropertyExtractor<RECORD> propertyExtractor)Deprecated.voidsetItemPropertyProvider(PropertyProvider<RECORD> propertyProvider)Deprecated.InfiniteItemView<RECORD>setItemTemplate(Template itemTemplate)Deprecated.InfiniteItemView<RECORD>setItemWidth(float itemWidth)Deprecated.voidsetMaxCacheCapacity(int maxCapacity)Deprecated.InfiniteItemView<RECORD>setModel(InfiniteItemViewModel<RECORD> model)Deprecated.InfiniteItemView<RECORD>setNumberOfInitialRecords(int numberOfInitialRecords)Deprecated.voidsetRowHeight(int rowHeight)Deprecated.voidsetVerticalItemAlignment(ItemViewVerticalItemAlignment verticalItemAlignment)Deprecated.Methods inherited from class org.teamapps.ux.component.AbstractComponent
createUiReference, getDebuggingId, getId, getParent, getSessionContext, isRendered, isVisible, mapAbstractUiComponentProperties, queueCommandIfRendered, render, reRenderIfRendered, setAttribute, setCssStyle, setDebuggingId, setParent, setVisible, toggleCssClass, toString, unrenderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.teamapps.ux.component.Component
setAriaLabel, setAttribute, setCssStyle, setHtmlTitle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setShadow, toggleCssClass
-
Field Details
-
onItemClicked
Deprecated. -
itemCache
Deprecated.
-
-
Constructor Details
-
InfiniteItemView
Deprecated. -
InfiniteItemView
public InfiniteItemView(float itemWidth, int itemHeight)Deprecated. -
InfiniteItemView
public InfiniteItemView()Deprecated.
-
-
Method Details
-
createUiComponent
public org.teamapps.dto.UiComponent createUiComponent()Deprecated.- Specified by:
createUiComponentin classAbstractComponent
-
handleUiEvent
public void handleUiEvent(org.teamapps.dto.UiEvent event)Deprecated. -
isAutoHeight
public boolean isAutoHeight()Deprecated. -
setAutoHeight
public void setAutoHeight(boolean autoHeight)Deprecated. -
getNumberOfInitialRecords
public int getNumberOfInitialRecords()Deprecated. -
setNumberOfInitialRecords
Deprecated. -
getItemTemplate
Deprecated. -
setItemTemplate
Deprecated. -
getItemWidth
public float getItemWidth()Deprecated. -
setItemWidth
Deprecated. -
getRowHeight
public int getRowHeight()Deprecated. -
setRowHeight
public void setRowHeight(int rowHeight)Deprecated. -
getVerticalItemAlignment
Deprecated. -
setVerticalItemAlignment
Deprecated. -
getHorizontalItemMargin
public int getHorizontalItemMargin()Deprecated. -
setHorizontalItemMargin
Deprecated. -
getItemJustification
Deprecated. -
setItemJustification
Deprecated. -
getModel
Deprecated. -
getItemPropertyProvider
Deprecated. -
setItemPropertyProvider
Deprecated. -
setItemPropertyExtractor
Deprecated. -
setModel
Deprecated. -
refresh
public void refresh()Deprecated. -
sendRecords
protected void sendRecords(int startIndex, int length, boolean clear)Deprecated. -
setMaxCacheCapacity
public void setMaxCacheCapacity(int maxCapacity)Deprecated. -
getContextMenuProvider
Deprecated. -
setContextMenuProvider
public void setContextMenuProvider(java.util.function.Function<RECORD,Component> contextMenuProvider)Deprecated. -
closeContextMenu
public void closeContextMenu()Deprecated.
-