Package com.structurizr.view
Class AbstractStyle
java.lang.Object
com.structurizr.view.AbstractStyle
- All Implemented Interfaces:
PropertyHolder
- Direct Known Subclasses:
ElementStyle,RelationshipStyle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(String name, String value) Adds a name-value pair property to this workspace.Gets the collection of name-value property pairs associated with this workspace, as a Map.
-
Constructor Details
-
AbstractStyle
public AbstractStyle()
-
-
Method Details
-
getProperties
Gets the collection of name-value property pairs associated with this workspace, as a Map.- Specified by:
getPropertiesin interfacePropertyHolder- Returns:
- a Map (String, String) (empty if there are no properties)
-
addProperty
Adds a name-value pair property to this workspace.- Specified by:
addPropertyin interfacePropertyHolder- Parameters:
name- the name of the propertyvalue- the value of the property
-