StructureEntityWidgets

StructureEntityWidgets

Class representing widgets for selecting Entity ids in a Structure It extends the BaseEntityWidgets class

Constructor

new StructureEntityWidgets(entity_type, label, textbox, tag)

Source:
Example
let entity_widgets = new StructureEntityWidgets(label, textbox, StructureEntity.A_PILLAR);
Parameters:
Name Type Description
entity_type string Entity type constant
label Widget The entity label widget
textbox Widget The entity textbox widget
tag string The entity tag

Extends

Members

entity_type :string

Description:
  • Entity type constant
Source:
Overrides:
Entity type constant
Type:
  • string

hover :string

Description:
  • The hover text for the label
Source:
Overrides:
The hover text for the label
Type:
  • string

label :Widget

Description:
  • The entity label widget
Source:
Overrides:
The entity label widget
Type:
  • Widget

tag :string

Description:
  • The entity tag
Source:
Overrides:
The entity tag
Type:
  • string

textbox :Widget

Description:
  • The entity textbox widget
Source:
Overrides:
The entity textbox widget
Type:
  • Widget

valid_tags :Array.<string>

Description:
  • The valid tags
Source:
Overrides:
The valid tags
Type:
  • Array.<string>

Methods

Hide()

Description:
  • Hide the label and textbox widgets
Source:
Overrides:
Example
entity_widgets.Hide();

Show()

Description:
  • Show the label and textbox widgets
Source:
Overrides:
Example
entity_widgets.Show();