Class ImageStylesResolution

    • Constructor Detail

      • ImageStylesResolution

        public ImageStylesResolution()
        Creates the Image Resolution property container without a name. The name must be set in all cases using the setPropertyAtom call.
      • ImageStylesResolution

        public ImageStylesResolution​(Atom propertyAtom)
        Creates the Image Resolution property container with the specified name. All system-reserved names for components begins with "$".
        propertyAtom - the name of the component, unique within it's parent.
    • Method Detail

      • getMultipleImageSize

        public Size getMultipleImageSize()
        Gets the size of the multiple-image.
      • getImageSize

        public Size getImageSize()
        Gets the part size.
        Specified by:
        getImageSize in interface IImageSize
        null If not set.
      • getAssetReference

        public AssetReference getAssetReference()
        Gets the asset reference.
        The reference, or null for failure.
      • onAssetReferenceChanged

        public void onAssetReferenceChanged​(AssetReference ref)
        Called when an asset file has been changed, either using new reference or the file contents. This enables verification of e.g. image size.
        Specified by:
        onAssetReferenceChanged in interface IAssetReferenceListener
      • onEventSelf

        public void onEventSelf​(GEvent event)
        Overridden to check for cache clearing...
        Specified by:
        onEventSelf in interface IGProp<GProp<?>[]>
        onEventSelf in class GProp<GProp<?>[]>
        event - The property event.