Class SolidAndDoubleBorderElement

  • All Implemented Interfaces:
    Constants

    public class SolidAndDoubleBorderElement
    extends AbstractBorderElement
    This class is responsible for solid and double border elements managing.
    • Constructor Detail

      • SolidAndDoubleBorderElement

        public SolidAndDoubleBorderElement()
        Initializes a newly created SolidAndDoubleBorderElement object so that it represents an empty border element.
      • SolidAndDoubleBorderElement

        public SolidAndDoubleBorderElement​(int style,
                                           int type)
        Constructs a newly allocated SolidAndDoubleBorderElement object. Fills data using binary representation of type. If border style is EN_DOUBLE, multiplies data[side] by 2 for every side to distinguish EN_SOLID and EN_DOUBLE.
        Parameters:
        style - integer, representing border style.
        type - binary representation of type gives data