new AbsCode()
- Source:
Represents an ABS code associated with a AbsConcept. An AbsCode may contains an array one of more child AbsCodes.
Extends
Members
allowMultiple :Boolean
- Source:
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
code :String
- Source:
Gets or sets the value of the abs code.
Type:
- String
color :String
- Source:
- Inherited From:
String describing the color of this node, if applicable. This property is observable.
Type:
- String
concept :AbsConcept
- Source:
Gets or sets the ultimate parent concept for a code. This property is observable.
Type:
id :String
- Source:
- Inherited From:
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
isActive :Boolean
- Source:
- Overrides:
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
isOpen :Boolean
- Source:
- Overrides:
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
isSelectable :Boolean
- Source:
- Overrides:
Flag to say if this is selectable. This property is observable.
Type:
- Boolean
isVisible :Boolean
- Source:
- Inherited From:
Gets or sets a value indicating whether this concept is visible. Defaults to true.
Type:
- Boolean
items :Array.<AbsCode>
- Source:
- Overrides:
Gets the list of abs codes contained in this group. This property is observable.
Type:
- Array.<AbsCode>
name :String
- Source:
- Inherited From:
Gets or sets the name of the concept item. This property is observable.
Type:
- String
parent :AbsCode|AbsConcept
- Source:
Gets or sets the parent for a code. This property is observable.
Type:
Methods
toggleActive()
- Source:
- Overrides:
Toggles the AbsCode#isActive
property.
toggleOpen()
- Source:
- Overrides:
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.