new AbsCode()
Represents an ABS code associated with a AbsConcept. An AbsCode may contains an array one of more child AbsCodes.
- Source:
Extends
Members
allowMultiple :Boolean
Flag to say if this if this concept only allows more than one active child. Defaults to the same as concept. Only meaningful if this concept has an items array.
Type:
- Boolean
- Source:
code :String
Gets or sets the value of the abs code.
Type:
- String
- Source:
color :String
String describing the color of this node, if applicable. This property is observable.
Type:
- String
- Inherited From:
- Source:
concept :AbsConcept
Gets or sets the ultimate parent concept for a code. This property is observable.
Type:
- Source:
id :String
Gets or sets the id of the concept item. By default this is the same as the name. It is allowed to be different eg. for csv files with tersely-named columns.
Type:
- String
- Inherited From:
- Source:
isActive :Boolean
Gets or sets a value indicating whether this abs code is currently active. When a code is active, it is included in the abs data query. This property is observable.
Type:
- Boolean
- Overrides:
- Source:
isOpen :Boolean
Gets or sets a value indicating whether this abs code is currently open. When an item is open, its child items (if any) are visible. This property is observable.
Type:
- Boolean
- Overrides:
- Source:
isSelectable :Boolean
Flag to say if this is selectable. This property is observable.
Type:
- Boolean
- Overrides:
- Source:
isVisible :Boolean
Gets or sets a value indicating whether this concept is visible. Defaults to true.
Type:
- Boolean
- Inherited From:
- Source:
items :Array.<AbsCode>
Gets the list of abs codes contained in this group. This property is observable.
Type:
- Array.<AbsCode>
- Overrides:
- Source:
name :String
Gets or sets the name of the concept item. This property is observable.
Type:
- String
- Inherited From:
- Source:
parent :AbsCode|AbsConcept
Gets or sets the parent for a code. This property is observable.
Type:
- Source:
Methods
toggleActive()
Toggles the AbsCode#isActive property.
- Overrides:
- Source:
toggleOpen()
Toggles the AbsCode#isOpen property. If this item's list of children is open, calling this method will close it. If the list is closed, calling this method will open it.
- Overrides:
- Source: