@Dependent @Templated public class HtmlEditorView extends Object implements HtmlEditorPresenter.View, org.jboss.errai.ui.client.local.api.IsElement
Modifier and Type | Field and Description |
---|---|
static int |
HTML_EDITOR_MARGIN |
Constructor and Description |
---|
HtmlEditorView(org.jboss.errai.ui.client.local.spi.TranslationService translationService,
HtmlEditorLibraryLoader libraryLoader) |
Modifier and Type | Method and Description |
---|---|
void |
alertReadOnly() |
com.google.gwt.user.client.ui.Widget |
asWidget() |
protected void |
configureScreenComponents(String editorId,
String toolbarId) |
boolean |
confirmClose() |
void |
destroy() |
protected void |
destroyEditor() |
void |
docksInteractionEvent(UberfireDocksInteractionEvent event) |
String |
getContent() |
protected String |
getOffsetHeight(org.jboss.errai.common.client.dom.HTMLElement el) |
EditorTitle |
getTitleWidget() |
void |
hideBusyIndicator() |
void |
init(HtmlEditorPresenter presenter) |
protected void |
initEditor(String editorId,
String toolbarId) |
void |
load() |
protected void |
loadEditor(String editorId,
String toolbarId) |
void |
postConstruct() |
void |
refreshTitle(String value) |
void |
setContent(String content) |
void |
showBusyIndicator(String message) |
void |
showLoading() |
void |
showSaving() |
void |
synchronizeView() |
public static final int HTML_EDITOR_MARGIN
@Inject public HtmlEditorView(org.jboss.errai.ui.client.local.spi.TranslationService translationService, HtmlEditorLibraryLoader libraryLoader)
public void init(HtmlEditorPresenter presenter)
init
in interface HasPresenter<HtmlEditorPresenter>
@PostConstruct public void postConstruct()
public void load()
load
in interface HtmlEditorPresenter.View
public void destroy()
destroy
in interface HtmlEditorPresenter.View
public String getContent()
getContent
in interface HtmlEditorPresenter.View
public void setContent(String content)
setContent
in interface HtmlEditorPresenter.View
public final void synchronizeView()
protected void configureScreenComponents(String editorId, String toolbarId)
protected void destroyEditor()
public void docksInteractionEvent(@Observes UberfireDocksInteractionEvent event)
protected String getOffsetHeight(org.jboss.errai.common.client.dom.HTMLElement el)
public void alertReadOnly()
alertReadOnly
in interface BaseEditorView
public void showLoading()
showLoading
in interface BaseEditorView
public void showSaving()
showSaving
in interface BaseEditorView
public EditorTitle getTitleWidget()
getTitleWidget
in interface BaseEditorView
public void refreshTitle(String value)
refreshTitle
in interface BaseEditorView
public void showBusyIndicator(String message)
showBusyIndicator
in interface HasBusyIndicator
public void hideBusyIndicator()
hideBusyIndicator
in interface HasBusyIndicator
public boolean confirmClose()
confirmClose
in interface BaseEditorView
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget
in interface com.google.gwt.user.client.ui.IsWidget
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.