Class AssetList
- java.lang.Object
-
- org.kie.workbench.common.screens.library.client.screens.AssetList
-
- All Implemented Interfaces:
org.jboss.errai.common.client.api.IsElement
public class AssetList extends Object implements org.jboss.errai.common.client.api.IsElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssetList.View
-
Constructor Summary
Constructors Constructor Description AssetList(AssetList.View view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(org.jboss.errai.common.client.dom.HTMLElement element)voidaddChangeHandler(org.uberfire.mvp.Command command)voidclear()Clears the asset list.org.jboss.errai.common.client.dom.HTMLElementgetElement()intgetFirstIndex()IntegergetStep()voidonChangeAmountOfItemsShown(int step)voidonPageNumberChange(int pageNumber)voidonToFirstPage()voidonToNextPage()voidonToPrevious()voidresetPageRangeIndicator()Resets the page range.voidshowEmptyState(String topic, String message)
-
-
-
Constructor Detail
-
AssetList
@Inject public AssetList(AssetList.View view)
-
-
Method Detail
-
resetPageRangeIndicator
public void resetPageRangeIndicator()
Resets the page range.
-
clear
public void clear()
Clears the asset list.
-
add
public void add(org.jboss.errai.common.client.dom.HTMLElement element)
-
getStep
public Integer getStep()
-
onChangeAmountOfItemsShown
public void onChangeAmountOfItemsShown(int step)
-
onToFirstPage
public void onToFirstPage()
-
onToNextPage
public void onToNextPage()
-
onToPrevious
public void onToPrevious()
-
onPageNumberChange
public void onPageNumberChange(int pageNumber)
-
getElement
public org.jboss.errai.common.client.dom.HTMLElement getElement()
- Specified by:
getElementin interfaceorg.jboss.errai.common.client.api.IsElement
-
addChangeHandler
public void addChangeHandler(org.uberfire.mvp.Command command)
-
getFirstIndex
public int getFirstIndex()
-
-