Class SeparatePanelTransformationStrategy
- java.lang.Object
-
- com._1c.g5.v8.dt.form.layout.transformation.AbstractLayoutTransformationStrategy<SeparatePanelTransformationContext>
-
- com._1c.g5.v8.dt.form.layout.transformation.SeparatePanelTransformationStrategy
-
- All Implemented Interfaces:
IElementWithLimitsBaseTransformationCustomization<SeparatePanelTransformationContext>
,IFormGroupBaseTransformationCustomization<SeparatePanelTransformationContext>
,ILayoutTransformationStrategy<SeparatePanelTransformationContext>
,ILayoutTransformationStrategyCustomization
public class SeparatePanelTransformationStrategy extends AbstractLayoutTransformationStrategy<SeparatePanelTransformationContext> implements IFormGroupBaseTransformationCustomization<SeparatePanelTransformationContext>, IElementWithLimitsBaseTransformationCustomization<SeparatePanelTransformationContext>
The separate panel transformation strategy.
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.form.layout.transformation.AbstractLayoutTransformationStrategy
transformationStrategyRegistry
-
-
Constructor Summary
Constructors Constructor Description SeparatePanelTransformationStrategy()
-
Method Summary
-
Methods inherited from class com._1c.g5.v8.dt.form.layout.transformation.AbstractLayoutTransformationStrategy
createEstimate, createEstimate, getChildContextsByIdx, getEffectiveCustomization
-
-
-
-
Method Detail
-
transform
public HippoTransformResult transform(HorStrategy startHorStrategy, int maxTargetWidth, int maxTargetHeight, SeparatePanelTransformationContext transformationContext, IPlatformVisualComputer visualComputer)
-
getVariantEstimate
public Estimate getVariantEstimate(HorStrategy horStrategy, VerStrategy verStrategy, int adaptiveGroupingCount, int maxWidth, int maxHeight, boolean noExternalAlign, GetVariantAdditionalOptions options, SeparatePanelTransformationContext transformationContext)
- Specified by:
getVariantEstimate
in interfaceILayoutTransformationStrategy<SeparatePanelTransformationContext>
-
getLogicRowsHeight
public int getLogicRowsHeight(HorStrategy horStrategy, VerStrategy verStrategy, int adaptiveGroupingCount, int maxWidth, SeparatePanelTransformationContext transformationContext)
- Specified by:
getLogicRowsHeight
in interfaceILayoutTransformationStrategy<SeparatePanelTransformationContext>
-
getConstantRanges
public int getConstantRanges(SeparatePanelTransformationContext transformationContext)
- Specified by:
getConstantRanges
in interfaceILayoutTransformationStrategy<SeparatePanelTransformationContext>
-
getVariant
public HippoLayElementBase getVariant(HorStrategy horStrategy, VerStrategy verStrategy, int adaptiveGroupingCount, int maxWidth, int maxHeight, boolean noExternalAlign, GetVariantAdditionalOptions options, SeparatePanelTransformationContext transformationContext)
- Specified by:
getVariant
in interfaceILayoutTransformationStrategy<SeparatePanelTransformationContext>
-
limitsGetVariantCB
public HippoLayElementBase limitsGetVariantCB(HorStrategy horStrategy, VerStrategy verStrategy, int adaptiveGroupingCount, int maxWidth, int maxHeight, boolean noExternalAlign, GetVariantAdditionalOptions options, SeparatePanelTransformationContext context)
- Specified by:
limitsGetVariantCB
in interfaceIElementWithLimitsBaseTransformationCustomization<SeparatePanelTransformationContext>
-
limitsGetVariantEstimateCB
public Estimate limitsGetVariantEstimateCB(HorStrategy horStrategy, VerStrategy verStrategy, int adaptiveGroupingCount, int maxWidth, int maxHeight, boolean noExternalAlign, GetVariantAdditionalOptions options, SeparatePanelTransformationContext context)
- Specified by:
limitsGetVariantEstimateCB
in interfaceIElementWithLimitsBaseTransformationCustomization<SeparatePanelTransformationContext>
-
limitsGetConstantRangesCB
public int limitsGetConstantRangesCB(SeparatePanelTransformationContext context)
- Specified by:
limitsGetConstantRangesCB
in interfaceIElementWithLimitsBaseTransformationCustomization<SeparatePanelTransformationContext>
-
completeVariant
public void completeVariant(SeparatePanelTransformationContext context, HippoLayElementBase layoutElement, int maxWidth, boolean mobileBlocksFlag)
- Specified by:
completeVariant
in interfaceIFormGroupBaseTransformationCustomization<SeparatePanelTransformationContext>
-
externalTitleAlign
public boolean externalTitleAlign(SeparatePanelTransformationContext context)
- Specified by:
externalTitleAlign
in interfaceIFormGroupBaseTransformationCustomization<SeparatePanelTransformationContext>
-
groupHorStretchable
public boolean groupHorStretchable(SeparatePanelTransformationContext context)
- Specified by:
groupHorStretchable
in interfaceIFormGroupBaseTransformationCustomization<SeparatePanelTransformationContext>
-
groupVerStretchable
public boolean groupVerStretchable(SeparatePanelTransformationContext context)
- Specified by:
groupVerStretchable
in interfaceIFormGroupBaseTransformationCustomization<SeparatePanelTransformationContext>
-
mobileTopSpacing
public boolean mobileTopSpacing(SeparatePanelTransformationContext context)
-
mobileBottomSpacing
public boolean mobileBottomSpacing(SeparatePanelTransformationContext context)
-
alwaysEnableMobileGroupsForChildren
public boolean alwaysEnableMobileGroupsForChildren()
-
isMobileBlockElement
public boolean isMobileBlockElement(HippoLayouterEdge edge, HorStrategy horStrategy, int adaptiveGroupingCount, SeparatePanelTransformationContext context)
-
pageRole
public boolean pageRole(SeparatePanelTransformationContext context)
-
-