@Dependent public class ColumnWithComponents extends Object implements Column
| Modifier and Type | Class and Description |
|---|---|
static interface |
ColumnWithComponents.View |
DEFAULT_COLUMN_HEIGHT, DEFAULT_COLUMN_WIDTH| Constructor and Description |
|---|
ColumnWithComponents(ColumnWithComponents.View view,
javax.enterprise.inject.Instance<Row> rowInstance,
DnDManager dndManager,
LayoutDragComponentHelper layoutDragComponentHelper,
javax.enterprise.event.Event<ColumnResizeEvent> columnResizeEvent) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisInnerColumngetLayoutEditorElementParts, visit@Inject public ColumnWithComponents(ColumnWithComponents.View view, javax.enterprise.inject.Instance<Row> rowInstance, DnDManager dndManager, LayoutDragComponentHelper layoutDragComponentHelper, javax.enterprise.event.Event<ColumnResizeEvent> columnResizeEvent)
@PostConstruct public void post()
@PreDestroy public void preDestroy()
public void init(LayoutEditorElement parent, Integer columnWidth, LayoutTemplate.Style pageStyle, ParameterizedCommand<ColumnDrop> dropCommand, ParameterizedCommand<ColumnDrop> removeComponentCommand, ParameterizedCommand<Column> removeCommand, Supplier<LayoutTemplate> currentLayoutTemplateSupplier, Integer columnHeight)
public LayoutEditorElementType geElementType()
geElementType in interface LayoutEditorElementpublic LayoutEditorElement getParentElement()
getParentElement in interface LayoutEditorElementpublic List<? extends LayoutEditorElement> getChildElements()
getChildElements in interface LayoutEditorElementpublic void setSelectable(boolean selectable)
setSelectable in interface LayoutEditorElementpublic boolean isSelected()
isSelected in interface LayoutEditorElementpublic void setSelected(boolean status)
setSelected in interface LayoutElementWithPropertiespublic Map<String,String> getProperties()
getProperties in interface LayoutElementWithPropertiespublic void setProperty(String property, String value)
setProperty in interface LayoutElementWithPropertiespublic void removeProperty(String property)
removeProperty in interface LayoutElementWithPropertiespublic void clearProperties()
clearProperties in interface LayoutElementWithPropertiespublic List<PropertyEditorCategory> getPropertyCategories()
getPropertyCategories in interface LayoutElementWithPropertiespublic void onDrop(ColumnDrop.Orientation orientation, String dndData)
public boolean hasComponent(Column targetColumn)
public void remove(Column targetColumn)
public boolean canResizeLeft()
public void resizeLeft()
public boolean canResizeRight()
public void resizeRight()
protected Row createInstanceRow()
public void withComponents(ComponentColumn... _columns)
public void setColumnHeight(Integer columnHeight)
setColumnHeight in interface Columnpublic UberElement<ColumnWithComponents> getView()
public Integer getColumnWidth()
getColumnWidth in interface Columnpublic void setColumnWidth(Integer columnWidth)
setColumnWidth in interface Columnpublic void reduceWidth()
reduceWidth in interface Columnpublic void incrementWidth()
incrementWidth in interface Columnpublic ParameterizedCommand<Column> getRemoveColumnCommand()
public LayoutComponent getLayoutComponent()
getLayoutComponent in interface Columnpublic boolean hasInnerRows()
hasInnerRows in interface Columnpublic void calculateWidth()
calculateWidth in interface Columnpublic Row getRow()
protected void destroy(Object o)
public void calculateSizeChilds()
public void setupResize(boolean canResizeLeft,
boolean canResizeRight)
setupResize in interface Columnpublic String getId()
getId in interface LayoutElementWithPropertiespublic Integer getColumnHeight()
getColumnHeight in interface Columnpublic void setId(String id)
public boolean shouldPreviewDrop()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.