Class PanelTransformationStrategy
- java.lang.Object
-
- com._1c.g5.v8.dt.form.layout.transformation.AbstractLayoutTransformationStrategy<PanelTransformationContext>
-
- com._1c.g5.v8.dt.form.layout.transformation.PanelTransformationStrategy
-
- All Implemented Interfaces:
IElementWithLimitsBaseTransformationCustomization<PanelTransformationContext>
,IFormGroupBaseTransformationCustomization<PanelTransformationContext>
,ILayoutTransformationStrategy<PanelTransformationContext>
,ILayoutTransformationStrategyCustomization
public class PanelTransformationStrategy extends AbstractLayoutTransformationStrategy<PanelTransformationContext> implements IFormGroupBaseTransformationCustomization<PanelTransformationContext>, IElementWithLimitsBaseTransformationCustomization<PanelTransformationContext>
Form panel transformation strategy.
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.form.layout.transformation.AbstractLayoutTransformationStrategy
transformationStrategyRegistry
-
-
Constructor Summary
Constructors Constructor Description PanelTransformationStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
completeVariant(PanelTransformationContext context, HippoLayElementBase layoutElement, int maxWidth, boolean mobileBlocksFlag)
boolean
externalTitleAlign(PanelTransformationContext context)
int
getConstantRanges(PanelTransformationContext transformationContext)
int
getLogicRowsHeight(HorStrategy horStrategy, VerStrategy verStrategy, int adaptiveGroupingCount, int maxWidth, PanelTransformationContext transformationContext)
HippoLayElementBase
getVariant(HorStrategy horStrategy, VerStrategy verStrategy, int adaptiveGroupingCount, int maxWidth, int maxHeight, boolean noExternalAlign, GetVariantAdditionalOptions options, PanelTransformationContext transformationContext)
Estimate
getVariantEstimate(HorStrategy horStrategy, VerStrategy verStrategy, int adaptiveGroupingCount, int maxWidth, int maxHeight, boolean noExternalAlign, GetVariantAdditionalOptions options, PanelTransformationContext transformationContext)
boolean
groupHorStretchable(PanelTransformationContext context)
boolean
groupVerStretchable(PanelTransformationContext context)
int
limitsGetConstantRangesCB(PanelTransformationContext transformationContext)
HippoLayElementBase
limitsGetVariantCB(HorStrategy horStrategy, VerStrategy verStrategy, int adaptiveGroupingCount, int maxWidth, int maxHeight, boolean noExternalAlign, GetVariantAdditionalOptions options, PanelTransformationContext transformationContext)
Estimate
limitsGetVariantEstimateCB(HorStrategy horStrategy, VerStrategy verStrategy, int adaptiveGroupingCount, int maxWidth, int maxHeight, boolean noExternalAlign, GetVariantAdditionalOptions options, PanelTransformationContext transformationContext)
-
Methods inherited from class com._1c.g5.v8.dt.form.layout.transformation.AbstractLayoutTransformationStrategy
createEstimate, createEstimate, getChildContextsByIdx, getEffectiveCustomization
-
-
-
-
Method Detail
-
limitsGetConstantRangesCB
public int limitsGetConstantRangesCB(PanelTransformationContext transformationContext)
- Specified by:
limitsGetConstantRangesCB
in interfaceIElementWithLimitsBaseTransformationCustomization<PanelTransformationContext>
-
getVariantEstimate
public Estimate getVariantEstimate(HorStrategy horStrategy, VerStrategy verStrategy, int adaptiveGroupingCount, int maxWidth, int maxHeight, boolean noExternalAlign, GetVariantAdditionalOptions options, PanelTransformationContext transformationContext)
- Specified by:
getVariantEstimate
in interfaceILayoutTransformationStrategy<PanelTransformationContext>
-
limitsGetVariantEstimateCB
public Estimate limitsGetVariantEstimateCB(HorStrategy horStrategy, VerStrategy verStrategy, int adaptiveGroupingCount, int maxWidth, int maxHeight, boolean noExternalAlign, GetVariantAdditionalOptions options, PanelTransformationContext transformationContext)
- Specified by:
limitsGetVariantEstimateCB
in interfaceIElementWithLimitsBaseTransformationCustomization<PanelTransformationContext>
-
getVariant
public HippoLayElementBase getVariant(HorStrategy horStrategy, VerStrategy verStrategy, int adaptiveGroupingCount, int maxWidth, int maxHeight, boolean noExternalAlign, GetVariantAdditionalOptions options, PanelTransformationContext transformationContext)
- Specified by:
getVariant
in interfaceILayoutTransformationStrategy<PanelTransformationContext>
-
getLogicRowsHeight
public int getLogicRowsHeight(HorStrategy horStrategy, VerStrategy verStrategy, int adaptiveGroupingCount, int maxWidth, PanelTransformationContext transformationContext)
- Specified by:
getLogicRowsHeight
in interfaceILayoutTransformationStrategy<PanelTransformationContext>
-
getConstantRanges
public int getConstantRanges(PanelTransformationContext transformationContext)
- Specified by:
getConstantRanges
in interfaceILayoutTransformationStrategy<PanelTransformationContext>
-
groupHorStretchable
public boolean groupHorStretchable(PanelTransformationContext context)
- Specified by:
groupHorStretchable
in interfaceIFormGroupBaseTransformationCustomization<PanelTransformationContext>
-
groupVerStretchable
public boolean groupVerStretchable(PanelTransformationContext context)
- Specified by:
groupVerStretchable
in interfaceIFormGroupBaseTransformationCustomization<PanelTransformationContext>
-
completeVariant
public void completeVariant(PanelTransformationContext context, HippoLayElementBase layoutElement, int maxWidth, boolean mobileBlocksFlag)
- Specified by:
completeVariant
in interfaceIFormGroupBaseTransformationCustomization<PanelTransformationContext>
-
externalTitleAlign
public boolean externalTitleAlign(PanelTransformationContext context)
- Specified by:
externalTitleAlign
in interfaceIFormGroupBaseTransformationCustomization<PanelTransformationContext>
-
limitsGetVariantCB
public HippoLayElementBase limitsGetVariantCB(HorStrategy horStrategy, VerStrategy verStrategy, int adaptiveGroupingCount, int maxWidth, int maxHeight, boolean noExternalAlign, GetVariantAdditionalOptions options, PanelTransformationContext transformationContext)
- Specified by:
limitsGetVariantCB
in interfaceIElementWithLimitsBaseTransformationCustomization<PanelTransformationContext>
-
-