Interface StyleOwner

All Known Implementing Classes:
ClassModel, CommentModel, FieldModel

public interface StyleOwner
Contract for model elements that expose an ElementStyle object.
  • Method Details

    • getBackgroundColor

      default Color getBackgroundColor()
      Returns the background color.
      Returns:
      the background color
    • getBorderColor

      default Color getBorderColor()
      Returns the border color.
      Returns:
      the border color
    • getStyle

      ElementStyle getStyle()
      Returns the style.
      Returns:
      the style
    • getTextColor

      default Color getTextColor()
      Returns the text color.
      Returns:
      the text color
    • setBackgroundColor

      default void setBackgroundColor(Color c)
      Sets the background color.
      Parameters:
      c - c value used by the operation
    • setBorderColor

      default void setBorderColor(Color c)
      Sets the border color.
      Parameters:
      c - c value used by the operation
    • setStyle

      void setStyle(ElementStyle style)
      Sets the style.
      Parameters:
      style - style value used by the operation
    • setTextColor

      default void setTextColor(Color c)
      Sets the text color.
      Parameters:
      c - c value used by the operation