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.UseInfiniteItemView2instead!
-
-
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
All Methods Instance Methods Concrete Methods Deprecated Methods 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, unrender
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.teamapps.ux.component.ClientObject
handleUiQuery
-
Methods inherited from interface org.teamapps.ux.component.Component
setAriaLabel, setAttribute, setCssStyle, setHtmlTitle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setShadow, toggleCssClass
-
-
-
-
Field Detail
-
onItemClicked
public final Event<ItemClickedEventData<RECORD>> onItemClicked
Deprecated.
-
itemCache
protected final ClientRecordCache<RECORD,org.teamapps.dto.UiIdentifiableClientRecord> itemCache
Deprecated.
-
-
Constructor Detail
-
InfiniteItemView
public InfiniteItemView(Template itemTemplate, float itemWidth, int rowHeight)
Deprecated.
-
InfiniteItemView
public InfiniteItemView(float itemWidth, int itemHeight)Deprecated.
-
InfiniteItemView
public InfiniteItemView()
Deprecated.
-
-
Method Detail
-
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
public InfiniteItemView<RECORD> setNumberOfInitialRecords(int numberOfInitialRecords)
Deprecated.
-
getItemTemplate
public Template getItemTemplate()
Deprecated.
-
setItemTemplate
public InfiniteItemView<RECORD> setItemTemplate(Template itemTemplate)
Deprecated.
-
getItemWidth
public float getItemWidth()
Deprecated.
-
setItemWidth
public InfiniteItemView<RECORD> setItemWidth(float itemWidth)
Deprecated.
-
getRowHeight
public int getRowHeight()
Deprecated.
-
setRowHeight
public void setRowHeight(int rowHeight)
Deprecated.
-
getVerticalItemAlignment
public ItemViewVerticalItemAlignment getVerticalItemAlignment()
Deprecated.
-
setVerticalItemAlignment
public void setVerticalItemAlignment(ItemViewVerticalItemAlignment verticalItemAlignment)
Deprecated.
-
getHorizontalItemMargin
public int getHorizontalItemMargin()
Deprecated.
-
setHorizontalItemMargin
public InfiniteItemView<RECORD> setHorizontalItemMargin(int horizontalItemMargin)
Deprecated.
-
getItemJustification
public ItemViewRowJustification getItemJustification()
Deprecated.
-
setItemJustification
public InfiniteItemView<RECORD> setItemJustification(ItemViewRowJustification itemJustification)
Deprecated.
-
getModel
public InfiniteItemViewModel<RECORD> getModel()
Deprecated.
-
getItemPropertyProvider
public PropertyProvider<RECORD> getItemPropertyProvider()
Deprecated.
-
setItemPropertyProvider
public void setItemPropertyProvider(PropertyProvider<RECORD> propertyProvider)
Deprecated.
-
setItemPropertyExtractor
public void setItemPropertyExtractor(PropertyExtractor<RECORD> propertyExtractor)
Deprecated.
-
setModel
public InfiniteItemView<RECORD> setModel(InfiniteItemViewModel<RECORD> model)
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
public java.util.function.Function<RECORD,Component> getContextMenuProvider()
Deprecated.
-
setContextMenuProvider
public void setContextMenuProvider(java.util.function.Function<RECORD,Component> contextMenuProvider)
Deprecated.
-
closeContextMenu
public void closeContextMenu()
Deprecated.
-
-