Class AbstractBox<CC extends Component>
java.lang.Object
ch.tocco.nice2.model.form.api.components.AbstractComponent<CC>
ch.tocco.nice2.model.form.api.components.AbstractLabeledComponent<CC>
ch.tocco.nice2.model.form.api.components.layout.AbstractBox<CC>
- All Implemented Interfaces:
Component, LabeledComponent, Box
- Direct Known Subclasses:
HorizontalBoxImpl, VerticalBoxImpl
@Deprecated
public abstract class AbstractBox<CC extends Component>
extends AbstractLabeledComponent<CC>
implements Box
Deprecated.
Abstract implementation for the
Box
interface.
We know two types of boxes, a VerticalBoxImpl and
a HorizontalBoxImpl. With this two kinds
of layouting possibilities we should be able to create any layout we want to. Certainly
the boxes can be nested to infinity.
-
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 TypeMethodDescriptionDeprecated.Subclasses must override this if they don't want to inherit the NONE value.Deprecated.Tells if the label is to be used in the gui.booleanDeprecated.Is the box labeledprotected voidmapAllAttributesTo(Component comp) Deprecated.Additionally we want to set fields only a box posessesvoidsetLabeled(boolean labeled) Deprecated.Set labeledMethods 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, newInstanceForCopy, overrideParent, removeComponent, replaceComponent, replaceComponent, setAttributeProps, setChildren, setDisplayType, setEventHandler, setExtProps, setForceEditable, setName, setPosition, setRelativeToPositionName, setReplace, setScopes, toStringMethods inherited from interface Component
addComponent, addComponent, collectDataParts, collectDataParts, createCopy, createCopy, find, findByName, findByType, findFirst, findFirstByName, getAttributeProps, getChild, getChildren, 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, setScopes, wrapMethods inherited from interface LabeledComponent
getLabel, setLabel, setUseLabel
-
Constructor Details
-
AbstractBox
-
-
Method Details
-
mapAllAttributesTo
Deprecated.Additionally we want to set fields only a box posesses- Overrides:
mapAllAttributesToin classAbstractLabeledComponent<CC extends Component>- Parameters:
comp- component to copy
-
isLabeled
-
setLabeled
public void setLabeled(boolean labeled) Deprecated.Set labeled- Specified by:
setLabeledin interfaceBox- Parameters:
labeled- true to label
-
getUseLabel
Deprecated.Description copied from interface:LabeledComponentTells if the label is to be used in the gui.- Specified by:
getUseLabelin interfaceLabeledComponent- Overrides:
getUseLabelin classAbstractLabeledComponent<CC extends Component>- Returns:
- Tells if and how the label should be used.
-