@Control(parents=pl.fhframework.model.forms.GroupingComponent.class, invalidParents=Table.class, canBeDesigned=true) @OverridenPropertyAnnotations(property="collection", designerXmlProperty=@DesignerXMLProperty(allowedTypes={org.springframework.data.domain.Page.class,pl.fhframework.model.forms.PageModel.class},commonUse=true,bindingOnly=true,functionalArea=CONTENT,priority=15)) @DocumentedComponent(category=TABLE_AND_TREE, value="Table that allows to arrange data like text, images, links, other tables, etc. into rows and columns of cells inside of page.", icon="fa fa-table") public class TablePaged extends Table
Repeater.RepeaterIterationContextdisplayedRowsCount, footer, ieFocusFixEnabled, LABEL_ATTR, mainCollection, MULTISELECT, selectedRowsNumbers, SELECTION_CHECKBOXES, tableRowMetadata, tableRowMetadataChanged, tableRowsiterationContext, NO_OFFSET_ROW_NUMBERACCESSIBILITY, RESOLUTION_SIZEON_DROP_COMPONENT, ON_RESIZE_COMPONENT| Constructor and Description |
|---|
TablePaged(Form form) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsNumeric(String text) |
protected ColumnPaged |
createExampleColumn(int nameSuffix) |
protected Collection |
extractCollection(IndexedModelBinding collectionBinding,
int[] parentIteratorIndices,
boolean isMainLevel) |
protected Collection<Object> |
getBindedObjectsList() |
Optional<ActionBinding> |
getEventHandler(InMessageEventData eventData) |
int |
getRowNumberOffset() |
void |
init() |
void |
setOnPageChange(ActionBinding onPageChange) |
IActionCallbackContext |
setOnPageChange(IActionCallback onPageChange) |
void |
setOnPageSizeChange(ActionBinding onPageSizeChange) |
IActionCallbackContext |
setOnPageSizeChange(IActionCallback onPageSizeChange) |
void |
setOnSortChange(ActionBinding onSortChange) |
IActionCallbackContext |
setOnSortChange(IActionCallback onSortChange) |
void |
updateModel(ValueChange valueChange) |
ElementChanges |
updateView() |
addLowLevelRow, createIteratorStructureRows, doActionForEverySubcomponent, doActionForEverySubcomponentInlcudingRepeated, extractRowStylesMapping, getAllIterators, getEventSource, getGroupingComponent, getRowBinding, getRowBinding, getSelectedElementsBasedOnRowsNumbers, getSelectedRowNumberBasedOnBinding, getSubcomponents, isComponentFactorySupported, isSelectionCheckboxes, move, onDesignerAddDefaultSubcomponent, onDesignerBeforeAdding, processComponents, processLabelBinding, refreshView, removeSubcomponent, setOnRowClick, setOnRowClick, setOnRowDoubleClick, setOnRowDoubleClickaddSubcomponent, getBoundCollection, getGroupingComponentForNewComponents, getIteratorInfo, getNonVisualSubcomponents, postClone, processComponentChange, remSpecial, setProcessComponentStateChangegetHeight, getHint, getHintBinding, getHintPlacement, getHintTrigger, getHorizontalAlign, getInlineStyle, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getStyleClasses, getVerticalAlign, getWidth, getWrapperStyle, isPush, refreshElementToForm, refreshView, setHeight, setHintBinding, setHintPlacement, setHintTrigger, setHorizontalAlign, 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, getEventProcessingForm, getForm, getGeneratedIdPrefix, getGroupingParentComponent, getId, getOnDesignerToolboxDrop, getRawId, getType, hashCode, isArtificial, isGeneratedId, isInitDone, isInvisible, isStopProcessingUpdateView, onProcessingFinish, onProcessingStart, preConfigureClear, prepareEventDataArgument, refreshAvailability, resetInitDone, setArtificial, setAvailability, setAvailabilityModelBinding, setBindingContext, setGroupingParentComponent, setId, setInvisible, setOnDesignerToolboxDrop, setOnDesignerToolboxDrop, setRawId, setStopProcessingUpdateView, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetColumnsgetOptionalFormatter, updateBinding, updateBinding, updateBindingForValue, updateBindingForValuegetLabelModelBindingmovedoActionForEveryActiveSubcomponent, doActionForEverySubcomponentgetBindedSubcomponentsgetIteratorInfos, setInteratorComponentFactorygetIteratorDefiningComponentdoActionForEveryRepeatedSubcomponent, getRepeatedComponentsisDesignActionAllowed, isDesignDeletableisModificationEventpublic TablePaged(Form form)
public int getRowNumberOffset()
getRowNumberOffset in interface IRowNumberOffsetSuppliergetRowNumberOffset in class Tableprotected Collection extractCollection(IndexedModelBinding collectionBinding, int[] parentIteratorIndices, boolean isMainLevel)
extractCollection in class Tablepublic void updateModel(ValueChange valueChange)
updateModel in interface IChangeableByClientupdateModel in class Tablepublic boolean containsNumeric(String text)
public ElementChanges updateView()
updateView in class Tableprotected Collection<Object> getBindedObjectsList()
getBindedObjectsList in class Tablepublic Optional<ActionBinding> getEventHandler(InMessageEventData eventData)
getEventHandler in interface IEventSourcegetEventHandler in class Tablepublic void setOnPageChange(ActionBinding onPageChange)
public IActionCallbackContext setOnPageChange(IActionCallback onPageChange)
public void setOnPageSizeChange(ActionBinding onPageSizeChange)
public IActionCallbackContext setOnPageSizeChange(IActionCallback onPageSizeChange)
public void setOnSortChange(ActionBinding onSortChange)
public IActionCallbackContext setOnSortChange(IActionCallback onSortChange)
protected ColumnPaged createExampleColumn(int nameSuffix)
createExampleColumn in class TableCopyright © 2020. All rights reserved.