Class SwapData

    • Constructor Detail

      • SwapData

        public SwapData()
        Creates a SwapData container without name and with a null value.
      • SwapData

        public SwapData​(Atom propertyAtom)
        Creates a SwapData container with the specified name with a null value.
        Parameters:
        propertyAtom - the property atom.
      • SwapData

        public SwapData​(Atom propertyAtom,
                        GProp<?>[] properties)
                 throws PropException
        Creates a SwapData container with the specified name and properties.
        Parameters:
        propertyAtom - the property atom.
        properties - the property array value for the property.
        Throws:
        PropException - as structural changes in containers on client is prohibited.
    • Method Detail

      • getDefaultAlignX

        public int getDefaultAlignX()
        Returns the default alignment value in Y.
        Specified by:
        getDefaultAlignX in interface ILayoutDataAlignX
        Returns:
        4 as fill is the default.
      • getDefaultAlignY

        public int getDefaultAlignY()
        Returns the default alignment value in Y.
        Specified by:
        getDefaultAlignY in interface ILayoutDataAlignY
        Returns:
        4 as fill is the default.