Class HorizontalBoxImpl
java.lang.Object
ch.tocco.nice2.model.form.api.components.AbstractComponent<HorizontalBox>
ch.tocco.nice2.model.form.api.components.AbstractLabeledComponent<HorizontalBox>
ch.tocco.nice2.model.form.api.components.layout.AbstractBox<HorizontalBox>
ch.tocco.nice2.model.form.api.components.layout.HorizontalBoxImpl
- All Implemented Interfaces:
Component, LabeledComponent, Box, HorizontalBox
@Deprecated
public class HorizontalBoxImpl
extends AbstractBox<HorizontalBox>
implements HorizontalBox
Deprecated.
Horizontal box to layout components horicontally. Each child will be placed in a horizontal row.
Look at VerticalBoxImpl when you want to place components vertically.
- See Also:
-
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 TypeMethodDescriptionprotected HorizontalBoxnewInstanceForCopy(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.wrap(ComponentWrapperHandler handler) Deprecated.Wraps the component with the given interceptor handler.Methods inherited from class AbstractBox
getDataNavigationType, getUseLabel, isLabeled, mapAllAttributesTo, setLabeledMethods inherited from class AbstractLabeledComponent
getLabel, setLabel, setUseLabelMethods inherited from class AbstractComponent
addComponent, addComponent, collectDataParts, collectDataParts, createCopy, createCopy, equals, find, findByName, findByType, findFirst, findFirstByName, getAttributeProps, getChild, getChildren, 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 Box
isLabeled, setLabeledMethods inherited from interface Component
addComponent, addComponent, collectDataParts, collectDataParts, createCopy, createCopy, find, findByName, findByType, findFirst, findFirstByName, getAttributeProps, getChild, getChildren, 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 LabeledComponent
getLabel, getUseLabel, setLabel, setUseLabel
-
Constructor Details
-
HorizontalBoxImpl
-
-
Method Details
-
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<HorizontalBox>- Parameters:
parent- the parent to set- Returns:
- new box instance
-
wrap
Deprecated.Description copied from interface:ComponentWraps the component with the given interceptor handler.Feel free to add an unwrap() method when needed.
-