| 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, waitisInnerColumn@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(String parentId, Integer columnWidth, LayoutTemplate.Style pageStyle, ParameterizedCommand<ColumnDrop> dropCommand, ParameterizedCommand<ColumnDrop> removeComponentCommand, ParameterizedCommand<Column> removeCommand, Supplier<LayoutTemplate> currentLayoutTemplateSupplier, Integer columnHeight)
public 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()
public String getParentId()
getParentId in interface Columnprotected void destroy(Object o)
public void calculateSizeChilds()
public void setupResize(boolean canResizeLeft,
boolean canResizeRight)
setupResize in interface Columnpublic Integer getColumnHeight()
getColumnHeight in interface Columnpublic void setId(String id)
public boolean shouldPreviewDrop()
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.