Package com.iizix.prop.ui
Interface ILayoutDataAlignY
- 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 vertical align capable.
- Author:
- Christopher Mindus
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Align Y value: bottom = 3.static final int
Align Y value: fill = 4.static final int
Align Y value: middle (or center) = 2.static final String
The name of the alignment property.static final int
Align Y value: top = 1.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_PRIVATE
Method Summary
Modifier and TypeMethodDescriptiondefault IntProp
Returns the alignment property in Y.default int
Returns the alignment in Y.default int
Returns the default alignment value in Y.default boolean
hasFillY()
Returns if the component is filled in Y, implicitly or from the alignment value.default int
setAlignY
(int align) Aligns the component horizontally.default int
setAlignY
(int align, IComplexOperation op) Aligns the component horizontally.default void
verifyAlignY
(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, warning
Methods 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_Y_NAME
The name of the alignment property.- See Also:
ALIGN_Y_TOP
static final int ALIGN_Y_TOPAlign Y value: top = 1.- See Also:
ALIGN_Y_MIDDLE
static final int ALIGN_Y_MIDDLEAlign Y value: middle (or center) = 2.- See Also:
ALIGN_Y_BOTTOM
static final int ALIGN_Y_BOTTOMAlign Y value: bottom = 3.- See Also:
ALIGN_Y_FILL
static final int ALIGN_Y_FILLAlign Y value: fill = 4.- See Also:
Method Details
getAlignPropY
Returns the alignment property in Y.- Returns:
- The property, or null if undefined.
setAlignY
default int setAlignY(int align) Aligns the component horizontally.- Parameters:
align
- Alignment value:
-ALIGN_Y_TOP
(1=top),
-ALIGN_Y_MIDDLE
(2=middle),
-ALIGN_Y_BOTTOM
(3=bottom),
-ALIGN_Y_FILL
(4=fill).- Returns:
- The current align value or -1 for operation not valid. The value is never zero, it defaults to
ALIGN_Y_TOP
(1=top) or if it has implicit fill, it will beALIGN_Y_FILL
(4=fill).
setAlignY
Aligns the component horizontally.- Parameters:
align
- Alignment value:
-ALIGN_Y_TOP
(1=top),
-ALIGN_Y_MIDDLE
(2=middle),
-ALIGN_Y_BOTTOM
(3=bottom),
-ALIGN_Y_FILL
(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_Y_TOP
(1=top) or if it has implicit fill, it will beALIGN_Y_FILL
(4=fill).
getDefaultAlignY
default int getDefaultAlignY()Returns the default alignment value in Y.- Returns:
ALIGN_Y_TOP
(1=top) is the default.
getAlignY
default int getAlignY()Returns the alignment in Y.- Returns:
- Alignment value:
-ALIGN_Y_TOP
(1=top),
-ALIGN_Y_MIDDLE
(2=middle),
-ALIGN_Y_BOTTOM
(3=bottom),
-ALIGN_Y_FILL
(4=fill).
hasFillY
default boolean hasFillY()Returns if the component is filled in Y, implicitly or from the alignment value.- Returns:
- true if filled vertically, false otherwise.
verifyAlignY
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.