/** * @param children children elements of the root element * @return new calculated SizeValue */ @Nonnull @Override public final SizeValue calculateConstraintHeight( @Nonnull final LayoutPart root, @Nonnull final List<LayoutPart> children) { return SizeValue.def(); }
/** * @param children children elements of the root element * @return new calculated SizeValue */ @Nonnull @Override public final SizeValue calculateConstraintWidth( @Nonnull final LayoutPart root, @Nonnull final List<LayoutPart> children) { return SizeValue.def(); }
/** * @param children children elements of the root element * @return new calculated SizeValue */ @Nonnull @Override public final SizeValue calculateConstraintWidth( @Nonnull final LayoutPart root, @Nonnull final List<LayoutPart> children) { return SizeValue.def(); }
/** * @param children children elements of the root element * @return new calculated SizeValue */ @Nonnull @Override public final SizeValue calculateConstraintHeight( @Nonnull final LayoutPart root, @Nonnull final List<LayoutPart> children) { return SizeValue.def(); } }
/** * default constructor. */ public BoxConstraints() { this.x = SizeValue.def(); this.y = SizeValue.def(); this.width = SizeValue.def(); this.height = SizeValue.def(); this.horizontalAlign = HorizontalAlign.horizontalDefault; this.verticalAlign = VerticalAlign.verticalDefault; paddingLeft = SizeValue.px(0); paddingRight = SizeValue.px(0); paddingTop = SizeValue.px(0); paddingBottom = SizeValue.px(0); marginLeft = SizeValue.px(0); marginRight = SizeValue.px(0); marginTop = SizeValue.px(0); marginBottom = SizeValue.px(0); }