ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / project.layout.elements.action / TagSetButtonGroup

TagSetButtonGroup

class TagSetButtonGroup : ActionElement

A ButtonGroup is a collection of buttons which belong together. Based on the referenceAnnotation it can be single select or multi select.

Constructors

Name Summary
<init> A ButtonGroup is a collection of buttons which belong together. Based on the referenceAnnotation it can be single select or multi select.TagSetButtonGroup(referenceAnnotationDefinitionID: AnnotationID, buttonSize: ButtonSize? = null, buttonColors: Map<String, ButtonColor> = mapOf())

Properties

Name Summary
buttonColors Map of option ID to coloring, will use default color if missing. For BooleanButtonGroup, the keys are “true” and “false”val buttonColors: Map<String, ButtonColor>
buttonSize Optionally specify buttonSize, will use default value if missingval buttonSize: ButtonSize?

Functions

Name Summary
denormalize suspend fun denormalize(denormalizedAnnotationSchema: DenormalizedAnnotationSchema): DenormalizedTagSetButtonGroup
equals fun equals(other: Any?): Boolean
hashCode fun hashCode(): Int