Interface StyleOwner
- All Known Implementing Classes:
ClassModel,CommentModel,FieldModel
public interface StyleOwner
Contract for model elements that expose an ElementStyle object.
-
Method Summary
Modifier and TypeMethodDescriptiondefault ColorReturns the background color.default ColorReturns the border color.getStyle()Returns the style.default ColorReturns the text color.default voidSets the background color.default voidSets the border color.voidsetStyle(ElementStyle style) Sets the style.default voidSets the text color.
-
Method Details
-
getBackgroundColor
Returns the background color.- Returns:
- the background color
-
getBorderColor
Returns the border color.- Returns:
- the border color
-
getStyle
ElementStyle getStyle()Returns the style.- Returns:
- the style
-
getTextColor
Returns the text color.- Returns:
- the text color
-
setBackgroundColor
Sets the background color.- Parameters:
c- c value used by the operation
-
setBorderColor
Sets the border color.- Parameters:
c- c value used by the operation
-
setTextColor
Sets the text color.- Parameters:
c- c value used by the operation
-