Class HippoLayoutService
- java.lang.Object
-
- com._1c.g5.v8.dt.form.layout.service.HippoLayoutService
-
public class HippoLayoutService extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static HippoLayoutService
INSTANCE
-
Constructor Summary
Constructors Constructor Description HippoLayoutService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IHippoLayModelSession
createHippoSession(IBmTransaction transaction, Form form, LayoutTransformationService transformatorService, IPlatformVisualComputer computer, CommandInterfaceMapping cmiMapping, ClientInterfaceVariant interfaceVariant, LFTargetPlatform targetPlatform, int targetWidth, int targetHeight, boolean isLargeFontMode, Version version)
Creates new hippo layout session.HippoLayForm
layout(Form form, String languageCode, ClientInterfaceVariant interafaceVariant, ClientOSInfo osInfo, LFTargetPlatform targetPlatform, CompatibilityMode compatibilityMode, Version version, IPlatformVisualComputer visualComputer, int maxWidth, int maxHeight, boolean adaptedToMobilePlatform, LayoutTransformationService transformatorService)
-
-
-
Field Detail
-
INSTANCE
public static final HippoLayoutService INSTANCE
-
-
Method Detail
-
createHippoSession
public IHippoLayModelSession createHippoSession(IBmTransaction transaction, Form form, LayoutTransformationService transformatorService, IPlatformVisualComputer computer, CommandInterfaceMapping cmiMapping, ClientInterfaceVariant interfaceVariant, LFTargetPlatform targetPlatform, int targetWidth, int targetHeight, boolean isLargeFontMode, Version version)
Creates new hippo layout session.- Parameters:
transaction
- the transaction, cannot benull
form
- the form, cannot benull
transformatorService
- an implementation of the transformator service, cannot benull
computer
- the visual computer, cannot benull
cmiMapping
- the command interface mapping, cannot benull
interfaceVariant
- the interface variant, cannot benull
targetPlatform
- the target platform, cannot benull
targetWidth
- the target widthtargetHeight
- the target heightisLargeFontMode
- the flag for large font modeversion
- the project version, cannot benull
- Returns:
- hippo layout session, cannot be
null
-
layout
public HippoLayForm layout(Form form, String languageCode, ClientInterfaceVariant interafaceVariant, ClientOSInfo osInfo, LFTargetPlatform targetPlatform, CompatibilityMode compatibilityMode, Version version, IPlatformVisualComputer visualComputer, int maxWidth, int maxHeight, boolean adaptedToMobilePlatform, LayoutTransformationService transformatorService)
-
-