| 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) |
@Inject public ComponentColumn(ComponentColumn.View view, DnDManager dndManager, LayoutDragComponentHelper layoutDragComponentHelper, javax.enterprise.event.Event<ColumnResizeEvent> columnResizeEvent)
@PostConstruct public void post()
public void init(String parentId, Integer columnWidth, LayoutComponent layoutComponent, ParameterizedCommand<ColumnDrop> dropCommand, ParameterizedCommand<Column> removeCommand, Supplier<LayoutTemplate> currentLayoutTemplateSupplier, boolean newComponent)
protected 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 String getParentId()
getParentId in interface Columnpublic void setParentId(String parentId)
public LayoutDragComponentHelper getLayoutDragComponentHelper()
public boolean enableSideDnD()
public void setId(String id)
public void setup(String id, LayoutTemplate.Style pageStyle)
public Integer getColumnHeight()
getColumnHeight in interface ColumnCopyright © 2012–2018 JBoss by Red Hat. All rights reserved.