public abstract class HalViewImpl extends com.gwtplatform.mvp.client.ViewImpl implements HalView
attach() method.| Modifier | Constructor and Description |
|---|---|
protected |
HalViewImpl() |
| Modifier and Type | Method and Description |
|---|---|
elemental2.dom.HTMLElement |
asElement() |
Iterable<elemental2.dom.HTMLElement> |
asElements() |
void |
attach()
This method should be called after the view's elements are attached to the DOM.
|
void |
detach()
Counterpart to
HalView.attach(). |
protected void |
initElement(elemental2.dom.HTMLElement element) |
protected void |
initElement(org.jboss.gwt.elemento.core.IsElement element) |
protected void |
initElements(org.jboss.gwt.elemento.core.HasElements elements) |
protected void |
initElements(Iterable<elemental2.dom.HTMLElement> elements) |
protected void |
registerAttachable(Attachable first,
Attachable... rest) |
protected <A extends Attachable> |
registerAttachables(Collection<A> attachables) |
addToSlot, asWidget, bindSlot, bindSlot, bindSlot, initWidget, onAttach, onDetach, removeFromSlot, setInSlotclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected void initElement(org.jboss.gwt.elemento.core.IsElement element)
protected void initElement(elemental2.dom.HTMLElement element)
protected void initElements(org.jboss.gwt.elemento.core.HasElements elements)
protected void initElements(Iterable<elemental2.dom.HTMLElement> elements)
public elemental2.dom.HTMLElement asElement()
asElement in interface org.jboss.gwt.elemento.core.IsElementpublic Iterable<elemental2.dom.HTMLElement> asElements()
asElements in interface org.jboss.gwt.elemento.core.HasElementsprotected void registerAttachable(Attachable first, Attachable... rest)
protected <A extends Attachable> void registerAttachables(Collection<A> attachables)
public void attach()
HalViewHalPresenter.onReveal().
Do not use ViewImpl.onAttach() to initialize PatternFly components. This works for widgets
only, but not for elements!
public void detach()
HalViewHalView.attach(). Implement this method if you need to remove stuff which was setup in HalView.attach(). The default implementation does nothing.Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.