Class ImagePreview

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

    public class ImagePreview
    extends PropCnr
    Image preview property for use with any UI component or container. The image is stored through interface so that e.g. a distributed database can be used. The JavaScript client in Panel Editor mode is the one single instance providing this property with image data.
    Christopher Mindus
    • Constructor Detail

      • ImagePreview

        public ImagePreview()
        Creates an Image preview Property Container without name with a null value.
      • ImagePreview

        public ImagePreview​(Atom propertyAtom)
        Creates an Image preview Property Container with the specified name with a null value.
        propertyAtom - the property atom.
    • Method Detail

      • getDOMElement

        public DOMElement getDOMElement()
        Gets the DOMElement.
        The instance, or null if not yet created on the client side.
      • equalsTree

        protected java.lang.Object equalsTree​(PropCnr pc2,
                                              int how)
        Checks for equality in the whole container structure.

        NOTE: This method should not be overridden except in extreme situations, e.g. for MememtoPropCnr.

        equalsTree in class PropCnr
        pc2 - The property value to compare with.
        how - Flags EQC_* values for equal checking.
        Both atom and value are equal on all levels.