Class RuntimeImageDefinition

  • All Implemented Interfaces:
    EventListener, IGProp<GProp<?>[]>, IImageTarget, IPropCnr, java.lang.Cloneable

    public class RuntimeImageDefinition
    extends AbstractImageDefinition
    implements IImageTarget
    The runtime image definition is used to provide images at runtime that are images located in other files than the asset files. These images may support various formats that are defined at runtime only.

    This class is typically used in conjunction with the com.iizix.server.wsfile.WSFile's on the server side.

    This class is not stored in XML files nor communicated to a remote part, it is intended to be used for pure dynamic runtime image provider purposes.

    Author:
    Christopher Mindus
    • Field Detail

      • name

        public final java.lang.String name
        The image name.
    • Constructor Detail

      • RuntimeImageDefinition

        public RuntimeImageDefinition​(java.lang.String name,
                                      ClientImageData imageData)
        Creates a new image definition.
        Parameters:
        name - The image name, must be a valid Atom name.
        imageData - The allocated and initialized image data.
        Throws:
        java.lang.NullPointerException - If the name is null.
        java.lang.IllegalArgumentException - If the name is invalid as Atom name.