@DesignerControl(defaultWidth=-1) @Control(parents={TableOptimized.class,ColumnOptimized.class}, invalidParents={TablePaged.class,ColumnPaged.class}) @OverridenPropertyAnnotations(designerXmlProperty=@DesignerXMLProperty(readOnlyInDesigner=false,functionalArea=LOOK_AND_STYLE,priority=100),property="width") @OverridenPropertyAnnotations(designerXmlProperty=@DesignerXMLProperty(skip=true),property="height") @DocumentedComponent(documentationExample=true, value="It is used to construct columns of TableOptimized components.", icon="fa fa-columns") public class ColumnOptimized extends GroupingComponent<FormElement> implements CompactLayout, IMultipleIteratorRepeatable<TableOptimized>, ICompilerAwareComponent, IHasBoundableLabel
Component.ComponentAttr, Component.IGenerationUtils| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_LABEL |
static String |
ATTR_VALUE |
static String |
AUTOMATIC_LABEL_ID_SUFFIX |
protected IMultipleIteratorComponentFactory<TableOptimized> |
interatorComponentFactory |
protected TableOptimized |
table |
htmlAccessibilityRoleACCESSIBILITY, RESOLUTION_SIZEON_DROP_COMPONENT, ON_RESIZE_COMPONENT| Constructor and Description |
|---|
ColumnOptimized(Form form) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubcomponent(FormElement formElement) |
void |
beforeCompilation() |
protected TableCellOptimized |
createEmptyCell() |
protected OutputLabel |
createEmptyOutputLabel() |
List<FormElement> |
createTableCells(LowLevelRowMetadata lowLevelRowMetadata) |
TableOptimized |
getGroupingComponentForNewComponents() |
Component |
getIteratorDefiningComponent() |
List<IRepeatableIteratorInfo> |
getIteratorInfos() |
protected int |
getMaxColumnDepthForLevel(int level,
List<ColumnOptimized> components) |
List<Component> |
getRepeatedComponents() |
List<ColumnOptimized> |
getSubcolumns() |
TableOptimized |
getTable() |
void |
init() |
boolean |
isComponentFactorySupported() |
void |
setTable(TableOptimized table) |
protected ElementChanges |
updateView() |
getComponentStateSaver, getNonVisualSubcomponents, getSubcomponents, isProcessComponentChange, processComponentChange, removeSubcomponent, setComponentStateSaver, setNonVisualSubcomponents, setProcessComponentStateChangegetHeight, getHint, getHintBinding, getHintPlacement, getHintTrigger, getHintType, getHorizontalAlign, getHtmlAccessibilityRole, getInlineStyle, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getStyleClasses, getVerticalAlign, getWidth, getWrapperStyle, isPush, refreshElementToForm, refreshView, refreshView, setHeight, setHintBinding, setHintPlacement, setHintTrigger, setHintType, setHorizontalAlign, setHtmlAccessibilityRole, setInlineStyle, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPush, setStyleClasses, setVerticalAlign, setWidth, setWrapperStyle, tryParseAttributeInPixelOrPercentageUnit, tryParseAttributeInPixelUnit, tryParseAttributeInPixelUnitareModelValuesTheSame, areValuesTheSame, calculateAvailability, clone, convertBindingValueToString, convertBindingValueToString, convertValue, convertValueToString, convertValueToString, createAdHocModelBinding, equals, finalizeReading, generateId, getAccessibilityRules, getAvailability, getAvailabilityModelBinding, getAvailablityAffectingActions, getBindingContext, getEventHandler, getEventProcessingForm, getForm, getGeneratedIdPrefix, getGenerationUtils, getGroupingParentComponent, getId, getOnDesignerToolboxDrop, getRawId, getType, hashCode, isArtificial, isGeneratedId, isInitDone, isInvisible, isStopProcessingUpdateView, onProcessingFinish, onProcessingStart, postClone, preConfigureClear, prepareEventDataArgument, refreshAvailability, resetInitDone, setArtificial, setAvailability, setAvailabilityModelBinding, setBindingContext, setGenerationUtils, setGroupingParentComponent, setId, setInvisible, setOnDesignerToolboxDrop, setOnDesignerToolboxDrop, setRawId, setStopProcessingUpdateView, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitsetInteratorComponentFactorydoActionForEveryRepeatedSubcomponentgetLabelModelBindingmove, movedoActionForEveryActiveSubcomponent, doActionForEverySubcomponent, doActionForEverySubcomponent, doActionForEverySubcomponentInlcudingRepeated, getGroupingComponent, processComponentsisDesignActionAllowed, isDesignDeletableisModificationEventpublic static final String ATTR_LABEL
public static final String ATTR_VALUE
public static final String AUTOMATIC_LABEL_ID_SUFFIX
@XMLMetadataSubelementParent protected TableOptimized table
protected IMultipleIteratorComponentFactory<TableOptimized> interatorComponentFactory
public ColumnOptimized(Form form)
public void init()
init in class FormElementpublic void beforeCompilation()
beforeCompilation in interface ICompilerAwareComponentpublic void addSubcomponent(FormElement formElement)
addSubcomponent in interface IGroupingComponent<FormElement>addSubcomponent in class GroupingComponent<FormElement>protected ElementChanges updateView()
updateView in class GroupingComponent<FormElement>public List<IRepeatableIteratorInfo> getIteratorInfos()
getIteratorInfos in interface IIteratorRepeatable<TableOptimized>public List<Component> getRepeatedComponents()
getRepeatedComponents in interface IRepeatableComponentsHolderpublic boolean isComponentFactorySupported()
isComponentFactorySupported in interface IIteratorRepeatable<TableOptimized>public TableOptimized getGroupingComponentForNewComponents()
getGroupingComponentForNewComponents in interface IIteratorRepeatable<TableOptimized>public Component getIteratorDefiningComponent()
getIteratorDefiningComponent in interface IIteratorRepeatable<TableOptimized>public List<ColumnOptimized> getSubcolumns()
public TableOptimized getTable()
public void setTable(TableOptimized table)
public List<FormElement> createTableCells(LowLevelRowMetadata lowLevelRowMetadata)
protected OutputLabel createEmptyOutputLabel()
protected int getMaxColumnDepthForLevel(int level,
List<ColumnOptimized> components)
protected TableCellOptimized createEmptyCell()
Copyright © 2020. All rights reserved.