Interface IELayoutProp
- All Superinterfaces:
IGProp<GProp<?>[]>, IPropCnr, ITooltipPropList, ITransferContainerProps
- All Known Subinterfaces:
IEFixedLayoutProp
- All Known Implementing Classes:
EAbsoluteData, EAccordionData, EBorderData, EContextMenuData, ECSSGridData, EFlexData, EGridData, EHeadingData, EMapData, EMenuBarData, EMenuData, EMListData, EPanelData, ESwapData, ETabBarData, ETabData, EUITableData
Interface used for Editor layout properties (layout data).
- Author:
- Christopher Mindus
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]Horizontal alignment strings: "undefined", "left", "horizontal center", "right", "horizontal fill".static final String[]Vertical alignment strings: "undefined", "top", "vertical middle", "bottom", "vertical fill".Fields inherited from interface IGProp
EQC_ERROR_IGNORE_ALL, EQC_ERROR_IGNORE_REFERENCES, EQC_IGNORE_ARRAY, EQC_IGNORE_VOLATILE_OR_EDITOR, EQC_INCLUDE_PRIVATE, EQC_SAVE_FILE, EQC_SAVE_RELEVANT_ONLY, EXT_CONTAINER_EXTENDS, EXT_CONTAINER_EXTENDS_VALID, EXT_EXTENDED, EXT_FINAL, EXT_OVERRIDES, EXT_OVERRIDES_FINAL_ERR, EXT_PRIVATEMethod Summary
Modifier and TypeMethodDescriptiondefault StringgetAlignXString(int alignX) Gets the horizontal align string.default StringgetAlignYString(int alignY) Gets the vertical align string.getGroupText(PropCnr[] pcs, StringBuilder tooltip, boolean[] isHTML) Formats a string representation for the layout group.default booleanisBoundComparable(GUnit size, GUnit bound) Tells whether a size and one of its bounds (minimum or maximum) can be compared at design time: both in pixels or points, a value that depends on nothing the Designer lacks, or both of one and the same unit type that is not a formula, when the two values share their reference and compare as numbers (50% against 60%).default voidverifySizeAndMinMax(PropVerification verification) Verifies this property container for the size and min/max values in X and Y.Methods inherited from interface IGProp
addPropError, addPropListener, dispose, equals, fine, fine, finer, finer, finest, finest, fromElementString, getAppSessionGyro, getAtomPath, getClientSessionGyro, getConstraints, getEnvironment, getErroredPropItems, getErroredProps, getErrorsProp, getExtendsRootContainer, getFullPropName, getFullPropNameDebug, getModuleFolder, getModuleFolder, getParent, getParent, getPropAtom, getPropBaseReference, getPropError, getPropError, getPropErrorSeverity, getPropExtendsFlags, getPropFromPath, getPropFromReference, getPropIndex, getPropName, getPropPath, getPropPath, getPropRootPropMgr, getPropTreeErrorSeverity, getPropValue, getPropValue, getReferencePropName, getRelativePropName, getRootParent, getTreeLock, getValueClasses, getVSReference, hasChanged, hasCircularReferencesError, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCommunicating, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropNullable, isPropPrivate, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropVirtualized, isSibling, list, list, list, list, list, mapAliasToReference, mapReferenceToAlias, mapReferenceToProjectRelative, moveProp, moveProp, moveProp, onEvent, onEventSelf, onPropTreeInitialized, onRemoteEvent, removePropError, removePropListener, renameProp, resolveRuntimeReferences, setChanged, setConstraints, setConstraints, setParent, setPrivateChangeEventProp, setPropError, setPropExtendsFinal, setPropExtendsPrivate, setPropNullable, setPropPrivate, setPropReadOnly, setPropValue, setPropValue, severe, severe, severe, toElementString, toNativeValue, triggerRemoteEvent, triggerRemoteEvent, validateProp, validatePropType, validatePropValue, verify, warning, warning, warningMethods inherited from interface IPropCnr
addProp, addProp, addProp2, addProp2, canRequestFocus, canRequestFocus, canRequestFocus, containsProp, containsProp, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, createCopyOfAtom, createUniqueAtom, createUniqueAtom, enablePropCommunication, enablePropHashMap, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getBool, getBool, getBool, getBool, getChildPropError, getChildPropError, getChildPropErrorSeverity, getChildPropErrorSeverity, getErrorsProp, getExtendsError, getExtendsName, getExtendsPossibleClasses, getFirstProp, getFirstProp, getFocusEngine, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getNumber, getNumber, getNumber, getNumber, getPossibleChildren, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getPropCnr, getPropCount, getPropIndex, getPropIndex, getPropIndexes, getProps, getProps, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getString, getString, getString, getString, hasFocus, initializeExtendsFramework, insertProp, insertProp2, isChild, isExtendsOverriden, isExtendsRoot, isPropAddRemoveAllowed, isPropExtended, removeAllProps, removeAllProps2, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, reorderProps, requestFocus, requestFocusEx, setBool, setBool, setBool, setBool, setExtendsName, setExtendsOverride, setInt, setInt, setInt, setLong, setLong, setLong, setLong, setNumber, setNumber, setNumber, setNumber, setProp, setProp, setProp, setProp2, setProp2, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setString, setString, setString, setString, usePropHashMap, usesPropIndex, validateClassInstancesMethods inherited from interface ITooltipPropList
getTooltipPropertyList, wouldAddTooltipInfoMethods inherited from interface ITransferContainerProps
canPasteFrom, canPasteTo, getCNDescriptionType, getTransferProps, transferContainerProps
Field Details
ALIGN_X
Horizontal alignment strings: "undefined", "left", "horizontal center", "right", "horizontal fill".ALIGN_Y
Vertical alignment strings: "undefined", "top", "vertical middle", "bottom", "vertical fill".
Method Details
getGroupText
Formats a string representation for the layout group. This method is called when a property has been changed for the group.- Parameters:
pcs- The property container being edited.tooltip- String buffer to fill with tool tip text.isHTML- Set [0] to true for HTML before returning if tooltip text is in HTML format.- Returns:
- A string for the text label, the string buffer filled with the tooltip text.
getAlignXString
Gets the horizontal align string.- Parameters:
alignX- The align value: 1=left, 2=center, 3=right, 4=fill.- Returns:
- The string, null when value is not 1-4.
getAlignYString
Gets the vertical align string.- Parameters:
alignY- The align value: 1=top, 2=middle, 3=bottom, 4=fill.- Returns:
- The string, null when value is not 1-4.
verifySizeAndMinMax
Verifies this property container for the size and min/max values in X and Y.- Parameters:
verification- The property verification class.
isBoundComparable
Tells whether a size and one of its bounds (minimum or maximum) can be compared at design time: both in pixels or points, a value that depends on nothing the Designer lacks, or both of one and the same unit type that is not a formula, when the two values share their reference and compare as numbers (50% against 60%).A percent or viewport unit resolves in the Designer against a placeholder when the panel declares no size (the approximate size of a container, 300 x 200 px, or a device of 0 x 0), and an em/ex/dlg unit or a formula against a font the Designer may not have: "Minimum width (1150px) is larger than Width (300px)" was reported for a container of width 100% and minimum width 1150px, a responsive setting that is right (CC-FIX-IIZIGO-VALIDATION-WARNINGS, kind 4). Such a pair is not compared.
- Parameters:
size- The size unit (width or height).bound- The bound unit (minimum or maximum of that size).- Returns:
- true if the two can be compared and a contradiction reported, false to skip the check.