@Dependent public class ComponentColumn extends Object implements Column
| Modifier and Type | Class and Description |
|---|---|
static interface |
ComponentColumn.View |
DEFAULT_COLUMN_HEIGHT, DEFAULT_COLUMN_WIDTH| Constructor and Description |
|---|
ComponentColumn(ComponentColumn.View view,
DnDManager dndManager,
LayoutDragComponentHelper layoutDragComponentHelper,
javax.enterprise.event.Event<ColumnResizeEvent> columnResizeEvent,
javax.enterprise.event.Event<LayoutEditorElementSelectEvent> columnSelectEvent,
javax.enterprise.event.Event<LayoutEditorElementUnselectEvent> columnUnselectEvent) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildElements, visit@Inject public ComponentColumn(ComponentColumn.View view, DnDManager dndManager, LayoutDragComponentHelper layoutDragComponentHelper, javax.enterprise.event.Event<ColumnResizeEvent> columnResizeEvent, javax.enterprise.event.Event<LayoutEditorElementSelectEvent> columnSelectEvent, javax.enterprise.event.Event<LayoutEditorElementUnselectEvent> columnUnselectEvent)
@PostConstruct public void post()
public void init(LayoutEditorElement parent, Integer columnWidth, LayoutComponent layoutComponent, ParameterizedCommand<ColumnDrop> dropCommand, ParameterizedCommand<Column> removeCommand, Supplier<LayoutTemplate> currentLayoutTemplateSupplier, boolean newComponent)
public LayoutEditorElementType geElementType()
geElementType in interface LayoutEditorElementpublic LayoutEditorElement getParentElement()
getParentElement in interface LayoutEditorElementpublic void setParentElement(LayoutEditorElement parentElement)
public boolean isSelectable()
public void setSelectable(boolean selectable)
setSelectable in interface LayoutEditorElementpublic boolean isSelected()
isSelected in interface LayoutEditorElementpublic void setSelected(boolean selected)
setSelected in interface LayoutEditorElementpublic Map<String,String> getProperties()
getProperties in interface LayoutEditorElementpublic void setProperty(String property, String value)
setProperty in interface LayoutEditorElementpublic void removeProperty(String property)
removeProperty in interface LayoutEditorElementpublic void clearProperties()
clearProperties in interface LayoutEditorElementpublic List<PropertyEditorCategory> getPropertyCategories()
getPropertyCategories in interface LayoutEditorElementprotected boolean hasConfiguration()
public void setDropCommand(ParameterizedCommand<ColumnDrop> dropCommand)
public void remove()
public void edit()
public boolean shouldPreviewDrop()
public void dragStartComponent()
public void dragEndComponent()
public LayoutComponent getLayoutComponent()
getLayoutComponent in interface Columnpublic boolean hasInnerRows()
hasInnerRows in interface Columnpublic void calculateWidth()
calculateWidth in interface Columnpublic void reduceWidth()
reduceWidth in interface Columnpublic void incrementWidth()
incrementWidth in interface Columnpublic void setupResize(boolean canResizeLeft,
boolean canResizeRight)
setupResize in interface Columnpublic boolean canResizeLeft()
public void resizeLeft()
public boolean canResizeRight()
public void resizeRight()
public void recalculateWidth()
public Integer getColumnWidth()
getColumnWidth in interface Columnpublic void setColumnWidth(Integer size)
setColumnWidth in interface Columnpublic void onDrop(ColumnDrop.Orientation orientation, String dndData)
public boolean isInnerColumn()
isInnerColumn in interface Columnpublic void setColumnHeight(Integer columnHeight)
setColumnHeight in interface Columnpublic void updateView()
public UberElement<ComponentColumn> getView()
public LayoutDragComponentHelper getLayoutDragComponentHelper()
public boolean enableSideDnD()
public String getId()
getId in interface LayoutEditorElementpublic void setId(String id)
public void setup(String id, LayoutTemplate.Style pageStyle)
public Integer getColumnHeight()
getColumnHeight in interface Columnpublic void onSelected()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.