Package com.iizix.prop.image
Interface IImageTarget
- All Known Implementing Classes:
EditorFontIconDefinition
,EditorImageDefinition
,EditorImageLocation
,EditorStyledImageDefinition
,EditorSVGDefinition
,FontIconDefinition
,ImageDefinition
,ImageLocation
,RuntimeImageDefinition
,StyledImageDefinition
,SVGDefinition
Interface implemented by Image properties that can be referenced.
- Author:
- Christopher Mindus
Field Summary
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 TypeMethodDescriptionGets the Client image data.default int
Gets the height of the BITMAP image.default int
getWidth()
Gets the width of the BITMAP image.default boolean
isBitmap()
Checks if this is a bitmap image.default boolean
Checks if this is a bitmap image being part of a larger bitmap.default boolean
Checks if this is a font icon image.boolean
Checks if this target is valid.default boolean
Checks if this is a single bitmap image.default boolean
isSVG()
Checks if this is an SVG image.static IImageTarget
Static look-up of an image from a reference.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
Method Details
getClientImageData
ClientImageData getClientImageData()Gets the Client image data.isImageTargetValid
boolean isImageTargetValid()Checks if this target is valid.getWidth
default int getWidth()Gets the width of the BITMAP image.- Returns:
- The width in pixels of Display Pixel Ratio (DPR) 1.0, zero for none (always zero for font icons and SVGs), -1 when image is unresolved.
getHeight
default int getHeight()Gets the height of the BITMAP image.- Returns:
- The height in pixels of Display Pixel Ratio (DPR) 1.0, zero for none (always zero for font icons and SVGs), -1 when image is unresolved.
isBitmap
default boolean isBitmap()Checks if this is a bitmap image.- Returns:
- true only if this is a resolved bitmap image.
isSingleBitmap
default boolean isSingleBitmap()Checks if this is a single bitmap image.- Returns:
- true only if this is a resolved single bitmap image.
isBitmapPart
default boolean isBitmapPart()Checks if this is a bitmap image being part of a larger bitmap.- Returns:
- true only if this is a resolved bitmap image being part of a larger bitmap.
isFontIcon
default boolean isFontIcon()Checks if this is a font icon image.- Returns:
- true only if this is a resolved font icon.
isSVG
default boolean isSVG()Checks if this is an SVG image.- Returns:
- true only if this is a resolved SVG image.
lookUp
Static look-up of an image from a reference. A property attached to the property tree of any kind is required (the more "root" the faster).- Parameters:
property
- The property used as reference look-up.reference
- The reference to look-up, null for none.- Returns:
- The image, or null if not found (or none, or "property" is null).