Class DefaultTable
java.lang.Object
ch.tocco.nice2.model.form.api.components.AbstractComponent<Table>
ch.tocco.nice2.model.form.api.components.AbstractLabeledComponent<Table>
ch.tocco.nice2.model.form.api.components.AbstractDataComponent<Table>
ch.tocco.nice2.model.form.api.components.table.DefaultTable
- All Implemented Interfaces:
Component, LabeledComponent, Table, DataComponent
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Component
Component.ComponentFilter, Component.DataNavigationType, Component.DisplayType, Component.PositionNested classes/interfaces inherited from interface LabeledComponent
LabeledComponent.UseLabel -
Field Summary
Fields inherited from class AbstractComponent
attributeProps, extProps, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(Component component) Deprecated.This overridden method accepts fields too, and wraps them in a column.Deprecated.Previously final, but wanted specialized return type.Deprecated.Deprecated.Deprecated.Deprecated.protected TablenewInstanceForCopy(Component parent) Deprecated.Will be called when a copy is requestedComponent.createCopy()! Create a new instanc of this component, copy the properties and return it.voidsetEntitySorting(List<? extends Sorting> entitySorting) Deprecated.voidDeprecated.voidsetSorting(List<? extends Sorting> sorting) Deprecated.voidsetTemplate(String template) Deprecated.wrap(ComponentWrapperHandler handler) Deprecated.Wraps the component with the given interceptor handler.Methods inherited from class AbstractDataComponent
getConstriction, getDataNavigationType, getDataType, getDefaultDataType, getDefaultValue, getLocalizedLanguage, getPath, getReverseRelationName, getValidator, hasNonEmptyValidator, isDefaultLangOnly, isIgnoreCopy, isLocalized, mapAllAttributesTo, setConstriction, setDataType, setDefaultLangOnly, setDefaultValue, setIgnoreCopy, setLocalizedLanguage, setPath, setReverseRelationName, setValidatorMethods inherited from class AbstractLabeledComponent
getLabel, getUseLabel, setLabel, setUseLabelMethods inherited from class AbstractComponent
addComponent, collectDataParts, collectDataParts, createCopy, createCopy, equals, find, findByName, findByType, findFirst, findFirstByName, getAttributeProps, getChild, getDisplayType, getEventHandler, getExtProps, getForm, getName, getParent, getParentOrEx, getPosition, getRelativeToPositionName, getScopes, getType, hashCode, hasParent, isForceEditable, isLeaf, isReplace, overrideParent, removeComponent, replaceComponent, replaceComponent, setAttributeProps, setChildren, setDisplayType, setEventHandler, setExtProps, setForceEditable, setName, setPosition, setRelativeToPositionName, setReplace, setScopes, toStringMethods inherited from interface Component
addComponent, collectDataParts, collectDataParts, createCopy, createCopy, find, findByName, findByType, findFirst, findFirstByName, getAttributeProps, getChild, getDataNavigationType, getDisplayType, getEventHandler, getExtProps, getForm, getName, getParent, getParentOrEx, getPosition, getRelativeToPositionName, getScopes, getType, hasParent, isForceEditable, isLeaf, isReplace, overrideParent, removeComponent, replaceComponent, replaceComponent, setAttributeProps, setChildren, setDisplayType, setEventHandler, setExtProps, setForceEditable, setName, setPosition, setRelativeToPositionName, setReplace, setScopesMethods inherited from interface DataComponent
getConstriction, getDataType, getDefaultDataType, getDefaultValue, getLocalizedLanguage, getPath, getReverseRelationName, getValidator, hasNonEmptyValidator, isDefaultLangOnly, isIgnoreCopy, isLocalized, setConstriction, setDataType, setDefaultLangOnly, setDefaultValue, setIgnoreCopy, setLocalizedLanguage, setPath, setReverseRelationName, setValidatorMethods inherited from interface LabeledComponent
getLabel, getUseLabel, setLabel, setUseLabel
-
Constructor Details
-
DefaultTable
Deprecated.
-
-
Method Details
-
getSorting
-
setSorting
Deprecated.- Specified by:
setSortingin interfaceTable
-
getEntitySorting
Deprecated.- Specified by:
getEntitySortingin interfaceTable
-
setEntitySorting
Deprecated.- Specified by:
setEntitySortingin interfaceTable
-
newInstanceForCopy
Deprecated.Description copied from class:AbstractComponentWill be called when a copy is requestedComponent.createCopy()! Create a new instanc of this component, copy the properties and return it. You don't have to copy the properties which are inherited from the abstract implmentation. Only copy the properties from the concrete implementation.
The parent has to be the parent given in the argument parent- Specified by:
newInstanceForCopyin classAbstractComponent<Table>- Parameters:
parent- the parent to set- Returns:
- the new instance
-
addComponent
Deprecated.This overridden method accepts fields too, and wraps them in a column. This is a convenient way to reduce typing in XML. The column's name and label are taken from the element.If one wants to use multiple fields in one column then specifying a column in XML is necessary.
- Specified by:
addComponentin interfaceComponent- Overrides:
addComponentin classAbstractComponent<Table>- Parameters:
component- Child to add.- Throws:
IllegalArgumentException
-
wrap
Deprecated.Description copied from interface:ComponentWraps the component with the given interceptor handler.Feel free to add an unwrap() method when needed.
-
getChildren
Deprecated.Description copied from class:AbstractComponentPreviously final, but wanted specialized return type.- Specified by:
getChildrenin interfaceComponent- Specified by:
getChildrenin interfaceTable- Overrides:
getChildrenin classAbstractComponent<Table>- Returns:
- iterator
-
setLayout
-
getLayout
-
getTemplate
-
setTemplate
-