Class CmsGalleryContainerInfo.Item

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Item()
      Hidden default constructor for serialization
        Item​(java.lang.String type, int width)
      Creates a new instance.
    • Constructor Detail

      • Item

        public Item​(java.lang.String type,
                    int width)
        Creates a new instance.
        Parameters:
        type - the container type
        width - the container width
      • Item

        protected Item()
        Hidden default constructor for serialization
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • getType

        public java.lang.String getType()
        Gets the container type.
        Returns:
        the container type
      • getWidth

        public int getWidth()
        Gets the container width.
        Returns:
        the container width
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()