@Templated(value="LogFileView.html#root") public abstract class LogFileView extends HalViewImpl implements LogFilePresenter.MyView
| Constructor and Description |
|---|
LogFileView() |
| Modifier and Type | Method and Description |
|---|---|
void |
attach()
This method should be called after the view's elements are attached to the DOM.
|
static LogFileView |
create(Environment environment,
StatementContext statementContext,
LogFiles logFiles,
Resources resources) |
void |
detach()
Counterpart to
HalView.attach(). |
abstract Environment |
environment() |
void |
loading() |
abstract LogFiles |
logFiles() |
void |
refresh(int lines,
String content) |
abstract Resources |
resources() |
void |
setPresenter(LogFilePresenter presenter) |
void |
show(org.jboss.hal.client.runtime.subsystem.logging.LogFile logFile,
int lines,
String content) |
abstract StatementContext |
statementContext() |
int |
visibleLines() |
asElement, asElements, initElement, initElement, initElements, initElements, registerAttachable, registerAttachablesaddToSlot, asWidget, bindSlot, bindSlot, bindSlot, initWidget, onAttach, onDetach, removeFromSlot, setInSlotclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static LogFileView create(Environment environment, StatementContext statementContext, LogFiles logFiles, Resources resources)
public abstract Environment environment()
public abstract StatementContext statementContext()
public abstract LogFiles logFiles()
public abstract Resources resources()
public void attach()
HalViewHalPresenter.onReveal().
Do not use ViewImpl.onAttach() to initialize PatternFly components. This works for widgets
only, but not for elements!
attach in interface HalViewattach in class HalViewImplpublic void detach()
HalViewHalView.attach(). Implement this method if you need to remove stuff which was setup in HalView.attach(). The default implementation does nothing.detach in interface HalViewdetach in class HalViewImplpublic void setPresenter(LogFilePresenter presenter)
setPresenter in interface HasPresenter<LogFilePresenter>public void loading()
loading in interface LogFilePresenter.MyViewpublic void show(org.jboss.hal.client.runtime.subsystem.logging.LogFile logFile,
int lines,
String content)
show in interface LogFilePresenter.MyViewpublic void refresh(int lines,
String content)
refresh in interface LogFilePresenter.MyViewpublic int visibleLines()
visibleLines in interface LogFilePresenter.MyViewCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.