public abstract class AbstractBrowserWrapper
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected BrowserModel |
browser |
protected int |
positionInBrowser |
| Constructor and Description |
|---|
AbstractBrowserWrapper(BrowserModel browser) |
AbstractBrowserWrapper(BrowserModel browser,
TypedObject wrapItem) |
| Modifier and Type | Method and Description |
|---|---|
BrowserModel |
getBrowser() |
protected abstract int |
getItemPositionInCurrentPage(TypedObject wrapItem) |
protected abstract int |
getItemPositionInResult(TypedObject wrapItem) |
TypedObject |
getNextItem() |
int |
getPositionInBrowser() |
TypedObject |
getPreviousItem() |
TypeService |
getTypeService() |
abstract java.lang.Boolean |
hasNext() |
java.lang.Boolean |
hasPrevious() |
protected boolean |
isBrowserClonable(BrowserModel browser) |
void |
setBrowser(BrowserModel browser) |
void |
setPositionInBrowser(int positionInBrowser) |
protected BrowserModel browser
protected int positionInBrowser
public AbstractBrowserWrapper(BrowserModel browser)
public AbstractBrowserWrapper(BrowserModel browser, TypedObject wrapItem)
public TypedObject getNextItem()
public TypedObject getPreviousItem()
public abstract java.lang.Boolean hasNext()
public java.lang.Boolean hasPrevious()
protected abstract int getItemPositionInResult(TypedObject wrapItem)
protected abstract int getItemPositionInCurrentPage(TypedObject wrapItem)
public BrowserModel getBrowser()
public void setBrowser(BrowserModel browser)
browser - the browser to setpublic int getPositionInBrowser()
public void setPositionInBrowser(int positionInBrowser)
positionInBrowser - the positionInBrowser to setpublic TypeService getTypeService()
protected boolean isBrowserClonable(BrowserModel browser)
Copyright © 2018 SAP SE. All Rights Reserved.