Class RuntimeImageDefinition

All Implemented Interfaces:
EventListener, IGProp<GProp<?>[]>, IImageTarget, IPropCnr, 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 Details

    • name

      public final String name
      The image name.
  • Constructor Details

    • RuntimeImageDefinition

      public RuntimeImageDefinition(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:
      NullPointerException - If the name is null.
      IllegalArgumentException - If the name is invalid as Atom name.
  • Method Details