@Dependent public class LayoutEditorPresenter extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
LayoutEditorPresenter.View |
| Constructor and Description |
|---|
LayoutEditorPresenter(LayoutEditorPresenter.View view,
Container container,
LayoutGenerator layoutGenerator) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLayoutProperty(String key,
String value) |
void |
clear() |
LayoutTemplate |
getLayout() |
String |
getLayoutProperty(String key) |
UberElement<LayoutEditorPresenter> |
getView() |
void |
initNew() |
void |
loadEmptyLayout(String layoutName,
String emptyTitleText,
String emptySubTitleText) |
void |
loadLayout(LayoutTemplate layoutTemplate,
String emptyTitleText,
String emptySubTitleText) |
void |
setPageStyle(LayoutTemplate.Style pageStyle) |
void |
setPreviewEnabled(boolean previewEnabled) |
void |
switchToDesignMode() |
void |
switchToPreviewMode() |
@Inject public LayoutEditorPresenter(LayoutEditorPresenter.View view, Container container, LayoutGenerator layoutGenerator)
@PostConstruct public void initNew()
public void setPreviewEnabled(boolean previewEnabled)
public void clear()
public UberElement<LayoutEditorPresenter> getView()
public LayoutTemplate getLayout()
public void loadLayout(LayoutTemplate layoutTemplate, String emptyTitleText, String emptySubTitleText)
public void loadEmptyLayout(String layoutName, String emptyTitleText, String emptySubTitleText)
public void setPageStyle(LayoutTemplate.Style pageStyle)
public void switchToDesignMode()
public void switchToPreviewMode()
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.