Class StyleClassConfig
java.lang.Object
com.inductiveautomation.perspective.common.config.styles.StyleClassConfig
Represents a style class's stored configuration. This class is meant to be used by GSON for json serialization
 and deserialization.
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final ResourceTypestatic final UUIDstatic final JsonSchemastatic final PatternRestrictive naming pattern for a CSS identifier - starts with letter or underscore, and contains only letters, numbers, underscores, and hyphensfinal List<StyleVariantConfig> - 
Constructor Summary
ConstructorsConstructorDescription - 
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic StyleClassConfigfromProjectResource(ProjectResource resource, com.inductiveautomation.ignition.common.gson.Gson gson) static StringgetEscapedName(ProjectResource resource) Get the name and path to a style, escaped for use in a compiled .css filestatic StringgetRawName(ProjectResource resource) Get the name and path to a style, directly (suitable for use on actual component style classes) 
- 
Field Details
- 
SCHEMA
 - 
RESOURCE_TYPE
 - 
FILENAME
- See Also:
 
 - 
ROOT_FOLDER
 - 
VALID_NAME_PATTERN
Restrictive naming pattern for a CSS identifier - starts with letter or underscore, and contains only letters, numbers, underscores, and hyphens - 
base
 - 
variants
 
 - 
 - 
Constructor Details
- 
StyleClassConfig
 - 
StyleClassConfig
 
 - 
 - 
Method Details
- 
fromProjectResource
public static StyleClassConfig fromProjectResource(ProjectResource resource, com.inductiveautomation.ignition.common.gson.Gson gson)  - 
getEscapedName
Get the name and path to a style, escaped for use in a compiled .css file - 
getRawName
Get the name and path to a style, directly (suitable for use on actual component style classes) - 
toCss
 - 
equals
 
 -