Class BorderStyle

  • Direct Known Subclasses:
    BorderStyleFixture

    public class BorderStyle
    extends Object
    This class defines the visual attributes of a Border.
    • Constructor Detail

      • BorderStyle

        public BorderStyle()
      • BorderStyle

        public BorderStyle​(int thickness,
                           org.eclipse.swt.graphics.Color color,
                           BorderStyle.LineStyleEnum lineStyle)
      • BorderStyle

        public BorderStyle​(String string)
        Reconstruct this instance from the persisted String.
        See Also:
        toString()
    • Method Detail

      • getThickness

        public int getThickness()
      • getColor

        public org.eclipse.swt.graphics.Color getColor()
      • setThickness

        public void setThickness​(int thickness)
      • setColor

        public void setColor​(org.eclipse.swt.graphics.Color color)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        a human readable representation of the border style. This is suitable for constructing an equivalent instance using the BorderStyle(String) constructor