EntityWidgets

EntityWidgets

Class representing widgets for selecting Entity ids

Constructor

new EntityWidgets(entity_type, label, textbox, tag)

Description:
  • Create a new EntityIdWidgets
Source:
Example
let entity_widgets = new EntityWidgets(label, textbox, OccupantEntity.HEAD_NODE);
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

Members

entity_type :string

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

label :Widget

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

tag :string

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

textbox :Widget

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

Methods

Hide()

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

Show()

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