Package com.iizix.prop.ui
Interface ILayoutDataAlignX
- All Known Implementing Classes:
AbsoluteData,BorderData,EAbsoluteData,EBorderData,EFlexData,EGridData,EPanelData,ESwapData,ETabData,FlexData,GridData,PanelData,SwapData,TabData
Interface for tagging layout data to mark it as horizontal align capable.
- Author:
- Christopher Mindus
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAlign X value: center = 2.static final intAlign X value: fill = 4.static final intAlign X value: left = 1.static final StringThe name of the alignment property.static final intAlign X value: right = 3.Fields inherited from interface com.iizix.prop.IGProp
EQC_ERROR_IGNORE_ALL, EQC_ERROR_IGNORE_REFERENCES, EQC_IGNORE_ARRAY, EQC_IGNORE_VOLATILE_OR_EDITOR, EQC_PRIVATE, EQC_SAVE_FILE, EXT_CONTAINER_EXTENDS, EXT_CONTAINER_EXTENDS_VALID, EXT_EXTENDED, EXT_FINAL, EXT_OVERRIDES, EXT_OVERRIDES_FINAL_ERR, EXT_PRIVATEMethod Summary
Modifier and TypeMethodDescriptiondefault IntPropReturns the alignment property in X.default intReturns the alignment in X.default intReturns the default alignment value in X.default booleanhasFillX()Returns if the component is filled in X, implicitly or from the alignment value.default intsetAlignX(int align) Aligns the component horizontally.default intsetAlignX(int align, IComplexOperation op) Aligns the component horizontally.default voidverifyAlignX(UIComp comp, PropVerification verification) Verifies if the component has implicit horizontal fill alignment and therefore that the align setting is undefined or matches.Methods inherited from interface com.iizix.prop.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, 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 com.iizix.prop.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, isSibling, 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, validateClassInstances
Field Details
ALIGN_X_NAME
The name of the alignment property.- See Also:
ALIGN_X_LEFT
static final int ALIGN_X_LEFTAlign X value: left = 1.- See Also:
ALIGN_X_CENTER
static final int ALIGN_X_CENTERAlign X value: center = 2.- See Also:
ALIGN_X_RIGHT
static final int ALIGN_X_RIGHTAlign X value: right = 3.- See Also:
ALIGN_X_FILL
static final int ALIGN_X_FILLAlign X value: fill = 4.- See Also:
Method Details
getAlignPropX
Returns the alignment property in X.- Returns:
- The property, or null if undefined.
setAlignX
default int setAlignX(int align) Aligns the component horizontally.- Parameters:
align- Alignment value:
-ALIGN_X_LEFT(1=left),
-ALIGN_X_CENTER(2=center),
-ALIGN_X_RIGHT(3=right),
-ALIGN_X_FILL(4=fill).- Returns:
- The current align value or -1 for operation not valid. The value is never zero, it defaults to
ALIGN_X_LEFT(1=left) or if it has implicit fill, it will beALIGN_X_FILL(4=fill).
setAlignX
Aligns the component horizontally.- Parameters:
align- Alignment value: 1=left, 2=center, 3=right, 4=fill.op- Complex operation to perform the change, null for testing (align value is ignored).- Returns:
- The current align value or -1 for operation not valid. The value is never zero, it defaults to
ALIGN_X_LEFT(1=left) or if it has implicit fill, it will beALIGN_X_FILL(4=fill).
getDefaultAlignX
default int getDefaultAlignX()Returns the default alignment value in X.- Returns:
ALIGN_X_LEFT(1=left) is the default.
getAlignX
default int getAlignX()Returns the alignment in X.- Returns:
- Alignment value:
-ALIGN_X_LEFT(1=left),
-ALIGN_X_CENTER(2=center),
-ALIGN_X_RIGHT(3=right),
-ALIGN_X_FILL(4=fill).
hasFillX
default boolean hasFillX()Returns if the component is filled in X, implicitly or from the alignment value.- Returns:
- true if filled horizontally, false otherwise.
verifyAlignX
Verifies if the component has implicit horizontal fill alignment and therefore that the align setting is undefined or matches.- Parameters:
comp- The component.verification- The property verification class.