Class ComponentColumnView
- java.lang.Object
-
- org.uberfire.ext.layout.editor.client.components.columns.ComponentColumnView
-
- All Implemented Interfaces:
org.jboss.errai.common.client.api.IsElement,org.jboss.errai.ui.client.local.api.IsElement,org.uberfire.client.mvp.HasPresenter<ComponentColumn>,org.uberfire.client.mvp.UberElement<ComponentColumn>,ComponentColumn.View
@Dependent @Templated public class ComponentColumnView extends Object implements org.uberfire.client.mvp.UberElement<ComponentColumn>, ComponentColumn.View, org.jboss.errai.ui.client.local.api.IsElement
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOL_CSS_CLASSstatic StringPAGE_ROW_CSS_CLASS
-
Constructor Summary
Constructors Constructor Description ComponentColumnView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcalculateWidth()voidclearContent()voiddockSelectEvent(org.uberfire.client.workbench.docks.UberfireDocksInteractionEvent event)LayoutDragComponentgetLayoutDragComponent()List<org.uberfire.ext.properties.editor.model.PropertyEditorCategory>getPropertyCategories()booleanhasModalConfiguration()voidinit(ComponentColumn presenter)voidnotifyDragEnd()voidresizeEventObserver(ContainerResizeEvent event)voidsetColumnHeight(Integer innerColumnHeight)voidsetContent()voidsetSelected(boolean selected)voidsetup(org.uberfire.ext.layout.editor.api.editor.LayoutComponent layoutComponent, org.uberfire.ext.layout.editor.api.editor.LayoutTemplate.Style pageStyle)voidsetupPageLayout()voidsetupWidget()voidsetWidth(String size)voidshowConfigComponentModal(org.uberfire.mvp.Command configurationFinish, org.uberfire.mvp.Command configurationCanceled, Supplier<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate> currentLayoutTemplateSupplier)
-
-
-
Field Detail
-
PAGE_ROW_CSS_CLASS
public static final String PAGE_ROW_CSS_CLASS
- See Also:
- Constant Field Values
-
COL_CSS_CLASS
public static final String COL_CSS_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(ComponentColumn presenter)
- Specified by:
initin interfaceorg.uberfire.client.mvp.HasPresenter<ComponentColumn>
-
getPropertyCategories
public List<org.uberfire.ext.properties.editor.model.PropertyEditorCategory> getPropertyCategories()
- Specified by:
getPropertyCategoriesin interfaceComponentColumn.View
-
setupWidget
public void setupWidget()
- Specified by:
setupWidgetin interfaceComponentColumn.View
-
setupPageLayout
public void setupPageLayout()
- Specified by:
setupPageLayoutin interfaceComponentColumn.View
-
setColumnHeight
public void setColumnHeight(Integer innerColumnHeight)
- Specified by:
setColumnHeightin interfaceComponentColumn.View
-
dockSelectEvent
public void dockSelectEvent(@Observes org.uberfire.client.workbench.docks.UberfireDocksInteractionEvent event)
-
resizeEventObserver
public void resizeEventObserver(@Observes ContainerResizeEvent event)
-
calculateWidth
public void calculateWidth()
- Specified by:
calculateWidthin interfaceComponentColumn.View
-
setWidth
public void setWidth(String size)
- Specified by:
setWidthin interfaceComponentColumn.View
-
clearContent
public void clearContent()
- Specified by:
clearContentin interfaceComponentColumn.View
-
setContent
public void setContent()
- Specified by:
setContentin interfaceComponentColumn.View
-
showConfigComponentModal
public void showConfigComponentModal(org.uberfire.mvp.Command configurationFinish, org.uberfire.mvp.Command configurationCanceled, Supplier<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate> currentLayoutTemplateSupplier)- Specified by:
showConfigComponentModalin interfaceComponentColumn.View
-
hasModalConfiguration
public boolean hasModalConfiguration()
- Specified by:
hasModalConfigurationin interfaceComponentColumn.View
-
setup
public void setup(org.uberfire.ext.layout.editor.api.editor.LayoutComponent layoutComponent, org.uberfire.ext.layout.editor.api.editor.LayoutTemplate.Style pageStyle)- Specified by:
setupin interfaceComponentColumn.View
-
setSelected
public void setSelected(boolean selected)
- Specified by:
setSelectedin interfaceComponentColumn.View
-
notifyDragEnd
public void notifyDragEnd()
- Specified by:
notifyDragEndin interfaceComponentColumn.View
-
getLayoutDragComponent
public LayoutDragComponent getLayoutDragComponent()
- Specified by:
getLayoutDragComponentin interfaceComponentColumn.View
-
-