@Dependent public class SectionManager<T> extends Object
| Constructor and Description |
|---|
SectionManager(MenuItemsListPresenter<T> menuItemsListPresenter,
org.uberfire.client.promise.Promises promises,
org.jboss.errai.common.client.dom.elemental2.Elemental2DomUtil elemental2DomUtil) |
| Modifier and Type | Method and Description |
|---|---|
Section<T> |
getCurrentSection() |
List<Section<T>> |
getSections() |
elemental2.promise.Promise<Void> |
goTo(Section<T> section) |
elemental2.promise.Promise<Void> |
goToCurrentSection() |
elemental2.promise.Promise<Void> |
goToFirstAvailable() |
boolean |
hasDirtySections() |
void |
init(List<Section<T>> sections,
elemental2.dom.HTMLElement menuItemsContainer,
elemental2.dom.HTMLElement contentContainer) |
boolean |
isEmpty() |
boolean |
manages(Section<T> section) |
void |
remove(Section<T> section) |
elemental2.promise.Promise<Void> |
resetAllDirtyIndicators() |
void |
resetDirtyIndicator(Section<T> section) |
void |
updateDirtyIndicator(Section<T> section) |
elemental2.promise.Promise<Object> |
validateAll() |
@Inject public SectionManager(MenuItemsListPresenter<T> menuItemsListPresenter, org.uberfire.client.promise.Promises promises, org.jboss.errai.common.client.dom.elemental2.Elemental2DomUtil elemental2DomUtil)
public void init(List<Section<T>> sections, elemental2.dom.HTMLElement menuItemsContainer, elemental2.dom.HTMLElement contentContainer)
public elemental2.promise.Promise<Void> goToFirstAvailable()
public elemental2.promise.Promise<Void> goToCurrentSection()
public elemental2.promise.Promise<Object> validateAll()
public elemental2.promise.Promise<Void> resetAllDirtyIndicators()
public boolean isEmpty()
public boolean hasDirtySections()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.