Class GenerationUtils
- java.lang.Object
-
- com._1c.g5.v8.dt.form.layout.generation.utils.GenerationUtils
-
public class GenerationUtils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GenerationUtils.FormGroupAutoPropertiesInfo
-
Constructor Summary
Constructors Constructor Description GenerationUtils()
-
Method Summary
-
-
-
Method Detail
-
adjustStretchableMode
public static StretchableMode adjustStretchableMode(boolean horStretchable, boolean verStretchable)
-
adjustStretchableMode
public static StretchableMode adjustStretchableMode(Boolean horStretchable, boolean defHorStretchable, Boolean verStretchable, boolean defVerStretchable)
-
calcPictureSize
public static Pair<Integer,Integer> calcPictureSize(ElementBaseGeneratorContext context, V8Picture pict)
-
convert
public static ButtonShape convert(ButtonShape shape)
-
convert
public static ButtonShapeRepresentation convert(ButtonShapeRepresentation representation)
-
convert
public static ButtonPictureLocation convert(FormButtonPictureLocation location)
-
getBalloonTooltip
public static String getBalloonTooltip(RichElementBaseGeneratorContext context)
-
adjustSlaveLayFormElement
public static void adjustSlaveLayFormElement(SlaveFormElementBaseGeneratorContext context, HippoLayFormElementBase pElement)
-
adjustSlaveLayElement
public static void adjustSlaveLayElement(SlaveElementBaseGeneratorContext context, HippoLayElementBase pElement)
-
isCompactGroup
public static boolean isCompactGroup(FormGroup pGroup)
-
setSlaveModeFormElementProperties
public static void setSlaveModeFormElementProperties(SlaveFormElementBaseGeneratorContext context, int width, int minWidth, int maxWidth, int height, int minHeight, int maxHeight, StretchableMode stretchableMode)
-
setSlaveMode
public static void setSlaveMode(SlaveElementBaseGeneratorContext context, String logFormElementName, String name, String title, Iterable<HippoLayouterCategory> categories, boolean visible, boolean enabled, boolean readOnly, boolean skipOnInput, boolean defaultControl)
-
resolveFormGroupAutoProperties
public static GenerationUtils.FormGroupAutoPropertiesInfo resolveFormGroupAutoProperties(GroupBaseGeneratorContext context, LFTargetPlatform targetPlatform, FormItemSpacing horSpacing, FormItemSpacing verSpacing, ItemHorizontalAlignment horAlgn, FormChildrenAlign childrenAlign)
-
adjustSkipOnInputAndDefaultControl
public static void adjustSkipOnInputAndDefaultControl(RichFieldBaseGeneratorContext context, HippoLayElementBase pElement)
-
calcACBLocation
public static void calcACBLocation(ElementWithAutoCommandBarBaseGeneratorContext context, FormElementCommandBarLocation location, CommandBarHolder pElementWPCE)
-
-