Class ImageTransformation

  • All Implemented Interfaces:
    Direct Known Subclasses:

    public class ImageTransformation
    extends java.lang.Object
    Describes image transformation, contains user friendly label and description.
    See Also:
    Serialized Form
    • Constructor Detail

      • ImageTransformation

        public ImageTransformation​(java.lang.String code,
                                   java.lang.String label,
                                   java.lang.String description,
                                   IImageTransformerFactory imageTransformerFactory)
    • Method Detail

      • getCode

        public java.lang.String getCode()
      • getLabel

        public java.lang.String getLabel()
      • getDescription

        public java.lang.String getDescription()
      • isDefault

        public boolean isDefault()
      • isEditable

        public boolean isEditable()
      • setCode

        public void setCode​(java.lang.String code)
      • setLabel

        public void setLabel​(java.lang.String label)
      • setDescription

        public void setDescription​(java.lang.String description)
      • setDefault

        public void setDefault​(boolean isDefault)
        Calling with true makes this transformation a default user's choice and makes the 'hard-coded' default unavailable. This transformation will become the first one on the list automatically.

        Marking more then one transformation as a default for one channel will make it impossible to register a dataset.

        If no transformation on the list will be marked as default then a 'hard-coded' default transformation will become available.

      • toString

        public java.lang.String toString()
        toString in class java.lang.Object